18. Online Debugging Flashcards
ABAP Debugger
allows you to interrupt the running program after each step, allowing to check intermediate results and processing logic
Single Step
Executes the report line by line. This is useful if the user wants to see the program execute one line at a time.
Execute
Processes all of the steps associated with one line of code. For example, one
line of code may be a call to a subroutine. Execute will process that line without showing all of the activities inside the subroutine.
Continue
Processes all statements until a breakpoint or the end of the program is
reached. If no breakpoints exist, the system will execute the report in its entirety without
stopping.
Return
Returns the user to where the calling program resumes control after a called
routine/function module.
Static Breakpoints
Breakpoints that are written directly into the program’s code.
Dynamic Breakpoints
Breakpoints that are set from within the ABAP editor or the debugger. Dynamic breakpoints are invisible in the ABAP editor.
Watchpoints
Watchpoints are set within the debugger and are field specific. A watchpoint becomes a breakpoint when the contents of a field change.
Breakpoints at key words
Breakpoints set in the debugger that are key word or event specific. The breakpoint becomes active when the ABAP runtime processor comes across the specified keyword or event in the program’s code.
BREAK-POINT statement
To set a static breakpoint, enter the ABAP Editor and write the key word BREAK-POINT directly in the program code.