Context
You can set dynamic breakpoints. These stop execution whenever a specified token – an ABAP
statement or an exception class – is reached.
Procedure
- From the menu, choose or .
- If the ABAP project that you are working in is not selected, then choose the project
from the dialog that appears.
- Choose from the list of ABAP statements. Or enter an ABAP
exception class. The function searches incrementally for
exception classes as you type.
Note
-
Alternative way to set a dynamic breakpoint: Open the Debug
perspective. From the tool bar of the Breakpoints view, choose Add ABAP Breakpoint.

Figure 1:
Dynamic Breakpoints
- Breakpoint scope:
For dynamic breakpoints we recommended keeping the default property Soft breakpoints.
Thus only running debug sessions if they have been started for example, using a standard line-breakpoint, will consider this dynamic breakpoints.
This allows you to focus on the relevant code area and avoids unwanted debug sessions.

Figure 2:
Soft Breakpoint
Results
You have set a dynamic breakpoint that is active for
any program that you run from within the current ABAP project.
You can display and manage dynamic breakpoints from the
Breakpoint view in the Debug perspective.
In particular, you can change the token that triggers the breakpoint.