Dynamic Breakpoints 

You can set up to 30 dynamic breakpoints without changing the program code. Dynamic breakpoints can be set either in the ABAP Editor or directly in the Debugger.

Setting Dynamic Breakpoints in the ABAP Editor

You can set dynamic breakpoints in the ABAP Editor regardless of whether you are in display or change mode. You can also set breakpoints directly from within the Debugger at runtime. To set a dynamic breakpoint in the ABAP Editor:

  1. Position the cursor on the line of the source code at which you want to set the breakpoint.
  2. Choose Utilities ® Breakpoints ® Set or the corresponding pushbutton.

The system confirms that the breakpoint has been set and displays it as a stop sign in the source code.

To display a list of all dynamic breakpoints in a program, choose Utilities ® Breakpoints ® Display. You can use this list to navigate to a particular breakpoint or to delete one or more breakpoints from the program.

Setting Dynamic Breakpoints in Debugging Mode

To set a dynamic breakpoint in the Debugger:

  1. Position the cursor on the line in which you want to set the breakpoint.
  2. Select the line by double-clicking or choosing Breakpoint ® Set/delete.

The system sets the breakpoint, and displays a small stop sign to the left of the relevant line. If the line already contained a breakpoint, it is deleted.

When you finish your debugging session, the breakpoint is automatically deleted unless you have explicitly saved it.