Show TOC

Breakpoints ToolLocate this document in the navigation structure

Use

With the breakpoints tool you can list and manage breakpoints, watchpoints, and checkpoints.

To open the breakpoints tool, select the Breakpoints/Watchpoints tab on the main tab page of the ABAP Debugger. Alternatively you can select Start of the navigation path New Tool Next navigation step Breakpoints End of the navigation path.

The breakpoints tool is divided into the following tabs:

  • Breakpoints

  • Watchpoints

  • Checkpoints

Breakpoints

A tabular view of breakpoints is displayed on the Breakpoints tab. Functions for managing breakpoints are provided.

List Breakpoints

A tabular view of breakpoints is displayed on the Breakpoints tab.

The following information is displayed for each breakpoint:

  • The breakpoint that has just been reached is displayed in the Reached column with a pointer.

  • An icon in the Active column shows if the breakpoint is active or not.

    A double-click on the icon deactivates an active breakpoint. Another double-click deletes this breakpoint.

  • The breakpoint type is displayed in the Visibility column, (debugger breakpoint, session breakpoint, external breakpoint).

    You can change the breakpoint type by opening the relevant dropdown listbox.

  • In the Condition column the breakpoint can be provided with a breakpoint condition.

    Breakpoint conditions are made up of one or more operands that can be logically linked using 'AND', 'OR', and 'NOT'. The syntax is based on the ABAP language. The breakpoint only comes into effect at runtime when the related condition is fulfilled.

  • You can enter a positive number in the Skip column. This counter determines how often the breakpoint is not effective in the program execution.

  • The Breakpoint Type column contains the breakpoint type (source code, Dynpro, ABAP command, ...)

  • The Breakpoint with column contains the source text position of the breakpoint: The include, program, and row number.

    In the Navigation column you can open the source text in the Editor.

Managing Breakpoints

There are several icons above the list of breakpoints which offer the following functions:

  • Create Debugger Breakpoints

  • Other icons offer mass actions for (single, multiple, or all) breakpoints:

    • Select all

    • Delete selection

    • Activation

    • Deactivate

    • Delete

    • Reloading breakpoints

    • Save as session or external breakpoints

More Information

Managing Breakpoints in the ABAP Debugger

Managing Breakpoints in the ABAP Editor

Breakpoints and Breakpoint Statements

Watchpoints

A list of all watchpoints that have been previously set is displayed on the Watchpoints tab.

The watchpoint last set is highlighted with a yellow arrow.

Not only the current value is shown for every watchpoint but also the value before the last change. A duplicate of these variables is created every time a watchpoint is created and whenever the watchpoint variables are changed. This means that you can always find out which changes have been made to the monitored variables.

You can select the Compare Variables pushbutton for more complicated data structures, such as internal tables or structures, and use the DiffTool to compare the old and new variable values.

In addition, you also have functions for creating, changing, activating, and deactivating watchpoints at your disposal.

Checkpoints

On the Checkpoints tab you can search for, activate, or deactivate conditional and unconditional checkpoints.

Related checkpoints are set in the source text using the ASSERT and BREAK-POINT statements. For more information, see: ABAP Keyword Documentation.