Breakpoints & Debugger
Breakpoints & Debugger
Debugger
ABAP Breakpoints
• Enables a
program to pause
at a specific
location during
execution
• NOT TO BE SET
IN PRODUCTION
ENVIRONMENTS
ABAP Breakpoints
• Breakpoints are useful to developers for debugging purposes.
• Breakpoints are specific to the user who sets them. Breakpoints will
not affect other users running the same transaction.
• Transaction
SE38
• Insert
breakpoints
at key
statements
• Multiple
breakpoints
can be set
Inserting Breakpoints During Program
Execution (1)
• Type ‘/h’ in
command
window
Inserting Breakpoints During Program Execution (2)
• Insert
breakpoints
at key
statements
• Navigation
controls allow
report to be
“stepped
through”
during debug
ABAP Debugger Features (1)
• Immediately after executing, the debugger is invoked.
• Navigation keys
• Single Step - Executes program statements line-by-line
• Execute - When next program statement is a subroutine, this executes the entire
subroutine and stops
• Continue - Executes the program until is is finished or until the next breakpoint
is reached
• Return - Completely executes an external routine and stops when control is returned
back to the main program
• *** All breakpoints can be deactivated or deleted in debug mode from the ‘Breakpoint’
menu option ***
ABAP Debugger Features (2)
• Field
contents can
be viewed
by double
clicking on
applicable
fields
ABAP Debugger Features (3)
• Internal table
contents
7. Help On ABAP
Help On ABAP(1)
• ABAP
command
help
available
from ABAP
Editor
Help On ABAP(2)
• ABAP Keyword
Documentation