Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 06, 2017 at 04:58 PM

    Use the coverage analyzer, TA SCOV.

    Add comment
    10|10000 characters needed characters exceeded