Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Venkat72
Participant
0 Kudos
Introduction

The New Debugger is a tool that helps technical consultants execute the program line by line or module by module. It stops the program to check the logic, identify errors, analyse the issue, understand the concept, etc. It has many more options compared to the old debugger. We will see some of the uncommon features that are helpful to the developers and functional consultants in their analysis.

If you want to analyse the program's data flow, then you need to debug the program. To enable or start the debugger, enter "/h" or "/H" in the command area of SAP.

Another way of activating debugging is to select the Debugging option from the menu, as shown in the below picture.

How to change the debugging session idle TIme


When you are using debugging, there is a default time limit for idle time for each debugging session, i.e., the default time limit value is 600 seconds. This time limit can be increased or decreased by using transaction RZ11. Enter the parameter rdisp/max_debug_lazy_time. This value can be changed as


Then press Display. If you need to increase or decrease the idle time for the debugging session, it can be done as below:


 

How to customize tjhe Name of  Tab

Another rarely used options are, by default, the tab labels are like Desktop 1, Desktop 2, and Desktop 3. These labels can be customized.


To rename the Label as something other than Desktop 1 -> Session 1, Desktop 2 -> Session 2. To rename this

Follow the steps as in the below screen shot.

Menu -> Debugger =>Debugger Session => Designation of the User desktop. Enter the new label as you wish and click. Then


You will see the below pop-up window, here you can rename the label as you wish.


 Once new label is entered, press click button. The Default label has been changed as


Then to Save this layout, Click Layout in the menu, click on SAVE option. Once saved, it will available permanently.

These changes will be saved in the table TPDA. It can be viewed


 

Breakpoint skip(n) option

In the breakpoint tab, there is another useful option called Skip (Number).When we enter a number, we can skip that many records in one iteration within a particular loop.. end loop . To skip a particular number of records again, we need to call Skip (Number) option again. It is used to reach the required record easily.

3 Comments
matt
Active Contributor
New?

Since when has something that's been around for 20+ years been designated "new"?
Sandra_Rossi
Active Contributor

I guess "new debugger options" is another way to say "(a few / backend) debugger options for abap newbies", although it's a completely-different meaning. "new things" is used when one thinks that the  audience doesn't know these things. If "new" is used in this forum, the author should expect remarks from experts of course.

Also I'm surprised to see that some people are still talking about the "old debugger" although it has been 99% deactivated since 7.40 / 10 years ago I think (1% = switch to the old via the hidden function code MAIN_OLD/or max sessions reached non-productively).

joachimrees1
Active Contributor
0 Kudos
yeah, max sessions reached, that's when I still see the old debugger!
Labels in this area