Starting the New ABAP Debugger 
You start ABAP Debugger by calling or terminating the ABAP program to be tested in a specific way. Proceed as follows:
If you have not done so already, log on to the AS ABAP.
The user you used to log on to AS ABAP must have debugging rights.
Authorization object: S_DEVELOP
Object type: DEBUG
Activity
3: Debug
2: Change and jump-in code
1: Reserved for internal SAP use
See also SAP Note 65968.
ABAP Debugger should be configured as the standard debugger for your user (this is the default setting). You can check it in the following way:
Open Object Navigator (SE80) or ABAP Editor (SE38).
Choose .
In the ABAP Debugger screen area, select the New Debugger radio button.
There are many ways to start ABAP Debugger. The actual procedure depends on the use case. You have the following options:
Procedure |
Typical use |
|---|---|
Start an ABAP program and set it directly under the control of ABAP Debugger. ABAP Debugger controls the execution of the program from the first row onwards. |
Starting and directly debugging function modules, methods, and executable programs (such as transactions and batch jobs) that can be started in ABAP Workbench in the context of the current user session. You can:
For more information, see Starting ABAP Debugger Directly. |
Jump directly to ABAP Debugger while executing an ABAP program. It is not necessary to set breakpoints. ABAP Debugger controls further execution of the program. |
Stopping and debugging:
You can:
For more information, see Starting ABAP Debugger Directly. |
Set breakpoints in an ABAP program and then execute the program. ABAP Debugger starts after the program execution has reached a breakpoint. ABAP Debugger controls further execution of the program. |
Stopping and debugging ABAP programs where you know the source code and which does not run in the context of background jobs or monitoring. Depending on which user the program is executed for, there are different types of breakpoints and procedures for stopping and debugging:
For further information about the different types of breakpoints and how to use them, see Breakpoints. |
Starting ABAP Debugger triggers the following actions:
Executing the program to be tested is canceled.
ABAP Debugger starts in a main session of the current user session (local debugging) or in the user session where the breakpoint was set (external debugging).
ABAP Debugger takes control. The input-ready window of ABAP Debugger is displayed.
You can now control the further execution of the program using ABAP Debugger. Use the tools offered in the ABAP Debugger window for this.
Note
Maximum six main modes are offered in each user session by default. If no other main mode is available when starting the new ABAP Debugger, a message appears and the classic ABAP Debugger starts. Close any main sessions you no longer require to be able to work with the new ABAP Debugger. The maximum number of main modes in a user session can be controlled by the adiminstrator using profile parameters of each application server.
Note
System programs are excluded from debugging by default and are executed without being stopped.