Skip to Content
0

How to get all executed lines of a program in run-time

Oct 11, 2017 at 11:49 AM

70

avatar image

Hello ,

how can I execute a program in run-time and then get Only executed lines of code ?

Ex :

if I have this simple program :

if x > y  .
WRITE :  ' X ' .
else .
write : 'Y' .
endif.

I want to run this program in another program and know what lines got executed like in our example if x is bigger these lines should be in some itab :

if x > y .

WRITE : ' X ' .

endif.

Hope you can help

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Keller
Dec 06, 2017 at 04:58 PM
3

Use the coverage analyzer, TA SCOV.

Share
10 |10000 characters needed characters left characters exceeded