Show TOC

Managing Breakpoints in the ABAP EditorLocate this document in the navigation structure

Use

Regardless of whether you are in display or change mode, you can set the following types of breakpoints in the ABAP Editor (SE38):

  • Session breakpoints

  • External breakpoints (previously called user breakpoints)

Session breakpoints

  1. To set or delete a session breakpoint, place the cursor on the relevant line and choose Start of the navigation path Utilities Next navigation step Breakpoints Next navigation step Set/Delete End of the navigation path.

    The system sets a session breakpoint and with the quick info text Breakpoint appears in the indicator margin on the corresponding line.

    A session breakpoint is valid after the next user entry.

    To put a program that is already running under the control of the ABAP Debugger, activate the session breakpoint immediately. To do this, select Start of the navigation path Utilities Next navigation step Settings Next navigation step ABAP Editor Next navigation step Debugging End of the navigation path in the ABAP Editor and select the Session Breakpoint Active Immediately checkbox. We do not recommend that you use this function in productive systems.

  2. To display information about session breakpoints, choose Start of the navigation path Utilities Next navigation step Breakpoint Next navigation step Display End of the navigation path.

    A dialog appears containing the list of all session breakpoints of the edited program. You can also list all session breakpoints of the current user sitting.

    You can use this list to navigate to a particular breakpoint or to delete one or more breakpoints from the program.

Note

In the ABAP Editor, session breakpoints cannot be deactivated.

External breakpoints

  1. To set or delete an external breakpoint, place the cursor on the relevant line and choose Start of the navigation path Utilities Next navigation step External Breakpoints Next navigation step Set/Delete External Breakpoints End of the navigation path.

    The system sets an external breakpoint and with the quick info text External Breakpoint appears in the indicator margin on the corresponding line.

  2. To activate or deactivate all user breakpoints that you have set, choose Start of the navigation path Utilities Next navigation step External Breakpoints Next navigation step Activate/Deactivate End of the navigation path.

  3. To display information about external breakpoints, choose Start of the navigation path Utilities Next navigation step External Breakpoints Next navigation step Display End of the navigation path.

    A dialog appears containing a list of all external breakpoints of the edited program.

    You can also list all existing external breakpoints that were set in all user sessions of the user that you are logged on with.

    You can use this list to navigate to a particular breakpoint or to delete one or more breakpoints from the program.