Start of Content Area

Procedure documentation Starting and Exiting  Locate the document in its SAP Library structure

 

1. Selecting the Debugger

2. Starting the New Debugger

3. Exiting the New Debugger

4. Switching Between the Classic and the New Debugger

5. Setting the Debugger Waiting Time

 

1. Selecting the Debugger

Before starting the Debugger, the user must decide whether he wants to work with the classic or the new Debugger. To do this, he or she must choose the required Debugger type in the ABAP development environment – for example, in the ABAP Editor (transaction SE38) or in the Object Navigator (transaction SE80) via the path Utilities Settings ABAP Editor Debugging.

 

2. Starting the New Debugger

The new Debugger is started in exactly the same way as the classic Debugger. However, each time the new Debugger is started, a new mode is started automatically. However, six external modes, at maximum, are available for each user session. If no further external mode is available when the new Debugger is started, the message No further external mode is available for the new ABAP Debugger is displayed and the Debugger start is cancelled. In this case, modes no longer required must be closed.

In the new Debugger, control can be passed from the application to the new Debugger at any time using the function code /h, even if the Debugger was already started.

 

3. Exiting the New Debugger

You can have the following different situations:

·        The Debugger is ready for input and the application is waiting for input. In this case, you must choose Debugger Exit Debugger. This way, the Debugger is closed and the application continues to run. If the Debugger and the application are to be exited at the same time, you must choose the menu path Debugger Exit Application and Debugger.

·        The application is ready for input and the Debugger is waiting for input. In this case, the Debugger attached to this mode is closed using the function code /hx.

 

4. Switching Between the Classic and the New Debugger

It is possible to switch between the classic and the new Debugger at any time. In this case, all the breakpoints for both Debuggers remain visible.

·        To switch from the classic Debugger to the new Debugger, you must go through the path Debugger  Switch to New ABAP Debugger.

·        To switch from the new Debugger to the classic Debugger, you must go through the path Debugger  Switch to Classic ABAP Debugger.

·        When you switch from the new Debugger to the classic Debugger, the system may reach ABAP code which the classic Debugger cannot edit. This is ABAP code that is called directly from the kernel of the Web application server. This concerns primarily conversion and field exits. If these kinds of modules are analyzed using the new Debugger, the runtime error RPERF_ILLEGAL_STATEMENT is triggered whenever you change to the classic Debugger.

 

5. Setting the Debugger Waiting Time

The time for which the new Debugger is active is determined by the profile parameter rdisp/max_debug_lazy_time – which is set to 600 seconds in the standard version. After this time space has elapsed, the Debugger process is exited automatically and control is passed back to the application. Using transaction RZ11, the system administrator can change the value of this parameter by calling the function Change Change Value.

 

End of Content Area