When you set the debugging point
within loop(Do, Loop, While), it is very inconvenient because the program is
stopped each time due to loop.
we can activate the debugging by
using the watchpoint with the sy-index which has a current loop number.
In addition, there is useful way
to stop the break point at the designated count in the ABAP debugger.
In program which is in 1000 times
loop, let’s
figure out the way to activate the debugging at the 99th loop.
Surely, you can set the loop
number.
If the New debugger is displaed
after program execution, move to ‘Break/Watchpoints’ tab and iput 98 in the
Skip field. Which means the debugger skips 98 times and activate the debugger
at 99 times.
Move to Deskptop again and press
, you would
be able to see that the debugger is activated after skipping 98 times.
No comments:
Post a Comment