
Setting Breakpoints at Statements
A breakpoint at statement interrupts the program execution immediately before an ABAP statement is processed.
To set a breakpoint at an ABAP statement, perform the following:
Choose .
Enter the ABAP statement.
Choose Continue.
The system sets a breakpoint at all points in the program at which the ABAP statement occurs.
Setting Breakpoints at Subroutines
A breakpoint at subroutine interrupts the program execution immediately before a subroutine is called.
To set a breakpoint at a subroutine, perform the following:
Choose .
A dialog box appears.
Enter the name of the subroutine before which you want to interrupt the program.
By default, the Program field contains the name of the program that is currently active.
Choose Continue.
The system sets a breakpoint at all points in the program where the subroutine is called.
Setting Breakpoints at Function Module
A breakpoint at function module interrupts the program execution immediately before a function module is called.
To set a breakpoint at a function module, perform the following:
Choose .
Enter the name of the subroutine before which you want to interrupt the program.
By default, the Program field contains the name of the program that is currently active.
Choose Continue.
The system sets a breakpoint at all points in the program where the subroutine is called.
Setting Breakpoints at Methods
A breakpoint at method interrupts the program execution immediately before a method is called.
To set a breakpoint at a method, perform the following:
Choose .
A dialog box appears.
Enter the name of the method and the class before which you want to interrupt the program.
Choose Continue.
The system sets a breakpoint at all points in the program where the specified processing block appears.
Setting a Breakpoint at Exceptions
A breakpoint at system exception interrupts the program execution immediately after an exception occurs.
To set a breakpoint at an exception, perform the following:
Choose .
A dialog box appears.
Enter the name of the exception after which you want to interrupt the program.
Choose Continue.
When an exception is triggered, the system interrupts the program.
Setting Breakpoints at System Exceptions
A breakpoint at system exception interrupts the program execution immediately after a system exception occurs.
To set a breakpoint at a system exception, perform the following:
Choose .
The system sets a breakpoint. When a system exception is triggered, a warning appears on the line containing the statement that caused it. If you double-click the Warning, the internal name of the runtime error appears.
Saving Breakpoints
If you would like to quit the debugger you can save the dynamic breakpoints. All breakpoints are retained for restarting the debugging in the same session.
To save all breakpoints, choose .
The system saves all of the breakpoints that you have set in the current program. These breakpoints remain active until you log off from the system.
To delete breakpoints, perform the following:
To delete an individual breakpoint, place the cursor on the relevant line and choose
To delete all existing breakpoints, choose .