Show TOC

Setting Breakpoints at a Line in CodeLocate this document in the navigation structure

Context

From the Ruler in the ABAP Source-Code Editor

  1. Put the cursor in the gutter at the left of the ABAP editor.
  2. Choose Toggle Breakpoint from the context menu.

At Lines of Code

You can set breakpoints at lines of code just as you could in the old ABAP editor in the back end system.

  1. Just put the cursor on the ABAP statement at which you want to stop.
  2. Then choose Start of the navigation path Run Next navigation step Toggle Line Breakpoint End of the navigation path. In this case, you don't need to put the cursor in the gutter at the left hand side of the editor to set a breakpoint.

At Entry of a Method

You can set a breakpoint at entry to a method.

  1. With the cursor anywhere in the method in the ABAP editor, choose Start of the navigation path Run Next navigation step Toggle Method Breakpoint End of the navigation path.

Results

A breakpoint stays with the line of code at which you set it. If you delete code above the breakpoint, it slides along with the relocated code.

Toggle a breakpoint again to delete it. You can also deactivate breakpoints, without deleting them.

You can display and manage Breakpoints view in the Debug View.