Show TOC

Setting AMDP BreakpointsLocate this document in the navigation structure

Prerequisites
You can set dynamic AMDP breakpoints
  • In the active version of an AMDP class
  • For any executable statement within the AMDP code.
Procedure
Setting Breakpoints in the Editor ruler Through the Context Menu
  1. Position the cursor within the ruler (left bar) of the source editor at the line that contains an executable AMDP code.
  2. Choose Toggle Breakpoint from the context menu.
Setting Breakpoint in the Editor Ruler Through Double-Click.
  1. Within the ruler of the source editor, double-click the line that contains the executable statement you are interested in.
Setting AMDP Breakpoints at Lines of Code
  1. Position the cursor on the statement (within the AMDP code) where you want to stop.
  2. Then choose the menu option Start of the navigation path Run Next navigation step Toggle Breakpoint. End of the navigation path
Results

The AMDP breakpoint is assigned to the line of code where you set it. It stays assigned even if the AMDP debugger has been deactivated in the meantime (for example, after closing the ADT session). However, in that case the breakpoint will become inactive.

Note The status of a breakpoint is indicated by the color.
More on this: Status of the AMDP Debugger

Note Bear in mind that the creation of a breakpoint can cause recompilation of DB procedures. Depending on your AMDP Debugger Settings, only the current and called procedures are affected. Recompilation only happens if a debug version of the respective procedure is not yet available. While the recompilation is taking place, the breakpoint changes its state from inactive (gray) to pending (blue).

Further Activities

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

You can display and manage AMDP breakpoints in the Breakpoints view in the Debug perspective.