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

ABAP DEBUGGER ECC 6.0

Former Member
0 Likes
1,236

Hi Guy's,

Good Day!

I want to ask about ABAP DEBUGGER ECC 6.0.

The difference between the classic/old debugger.

Thanks and God BleSs,

Junne Ray

Edited by: Junne Ray Bruno Villacorta on Feb 15, 2008 10:29 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
980

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.

See this link for New Debugger,

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

Reward Points if useful

3 REPLIES 3
Read only

Former Member
0 Likes
980

hi,

Two types of debugging are currently possible: Debugging with the classic Debugger for release levels up to and including 6.40 or debugging with the new Debugger, which is available for all releases after 6.40. The main differences between the classic and the new ABAP Debuggers are described below:

The Classic ABAP Debugger runs in the same roll area as the application to be analyzed (debuggee). It is therefore displayed in the same window as the application. However, this technology also has some restrictions. For example, some ABAP programs (such as conversion exist) cannot be analyzed in debug mode for technical reasons. However, the most significant restriction is that no ABAP technology can be used for designing the Debugger interface and it is therefore not possible to create a modern user interface.

The New ABAP Debugger, on the other hand, is executed in a separate external session (Debugger), while the application to be analyzed (debuggee) uses a second external session. With this technology, the user interface of the Debugger can be designed freely by ABAP means.

The new Debugger provides the user with a flexible interface that can be configured as required and has more than eight desktops. Here it is possible to place and arrange up to four tools - depending on the user's selection. For example, it is possible to display source texts or structures. In this way, the user can design the Debugger interface according to his own individual requirements.

As of Release 6.40, you can select the debugging type as you wish by choosing the classic Debugger or the new Debugger in the ABAP Editor from the path Utilities ? Settings. It is also possible to switch the Debugger at any time during a session under the menu option Debugging.

As of Release 7.00, the new ABAP Debugger is the default.

reward points if helpful..

Read only

Former Member
0 Likes
981

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.

See this link for New Debugger,

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

Reward Points if useful

Read only

Former Member
0 Likes
980

Thanks for the replies