Show TOC

Activating the AMDP DebuggerLocate this document in the navigation structure

Prerequisites
  • To activate the AMDP Debugger in ABAP Development Tools, you need the standard authorization profile to debug ABAP programs.
    Remember There is no need for extra DB user or other authorizations.
  • Debugging is enabled (default setting) in the debugger settings. More on this: AMDP Debugger Settings
Procedure

Unlike what you thus far know from the ABAP Debugger, you must first activate the AMDP Debugger in an ABAP project before using it. This means that you must activate the AMDP Debugger before you can stop the execution of a database procedure, perform stepping, or inspect variable values.

The debugger activation can be operated in two ways:
  • By explicit activation of the AMDP Debugger
  • Implicitly by setting breakpoints in AMDP methods.
To activate the AMDP Debugger explicitly, proceed as follows:
  1. Open an AMDP class in the relevant ABAP project.
  2. Position the cursor within the ruler (left bar) of the source editor at the line that contains the AMDP code (for example, SQLScript code) you are interested in.
  3. Choose Activate AMDP Debugger from the context menu.
    Explicit activation
    Figure 1: Explicit activation
To activate the AMDP Debugger implicitly, follow the link below:
Results

A message informs you that the AMDP Debugger has been activated. This activation enables AMDP debugging within the current ABAP project.

Tip

To check the (new) activation status, open the Debugview.

Debugger status is displayed in the Debug view
Figure 2: Debugger status is displayed n the Debug view
Related Topics