Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

New Debugger

Former Member
0 Likes
1,195

hi

can u pls tell me

How to use New Debugger

thanks

swetha rao.

3 REPLIES 3
Read only

Former Member
0 Likes
576

Hi Swetha,

See this link for New Debugger,

http://help.sap.com/saphelp_nw04s/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm

Plzz Reward if it is helpful,

Mahi.

Read only

Former Member
0 Likes
576

The ABAP Debugger is an integrated test tool within the ABAP Workbench. You use it to check the program logic and to find errors in the source code of an ABAP program. All the functions of the classic Debugger, with a few exceptions, are contained in the new Debugger. However, they are embedded in fully newly designed interfaces and menus. These differ from the classic Debugger in the way they are set up.

Features

The new Debugger provides a large number of new and known functions that can be called using menus or icons.

Starting and Exiting

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.