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

Debugging

Former Member
0 Likes
861

Dear ALL,

Please Provide me the Difference between 4.6c Debugging screen and ECC6 Debugging screen atleast 5 points.Its urgent......

Thanks and Regards,

Akmal..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
780

Hi Akmal,

1) You can scroll the code by multiple lines, by using the scroll on the mouse, in the new debugger whereas you can do it line by line in the earlier debugger.

2) You have Structures, Tables, Variable, Break Points, Watchpoints, Local Variables, Global Variables viewed on the same window but on different Tab Strips.

<b>Reward points if this is helpful,</b>

Kiran

Message was edited by:

Kiran Kumar Somaroutu

4 REPLIES 4
Read only

Former Member
0 Likes
780

Hi

the one difference is in ECC 6.0 debugging start in new session , while in 4.6 it start in same session.

rewards points if useful

rgrds

shazia

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
780

Hi,

Goto ABAP KEYWORD Documentation. (Transaction ABAPDOCU)

OR F1 on any KEYWORD.

There on the left side Expand the tree node "ABAP Change by Release".

There when you click on Release for ECC6.0 you can see the difference between Its debugger and the debugger of Previous Release.

If you dont have access then here is the modification list to Debugger after 4.6c release.

1. Displaying program attributes

2. Displaying data references

3. Special display of deep data objects

4. Setting breakpoints in methods

5. Support for class-based exceptions

6. Debugging mode for Business Server Pages with ABAP scripting

7. Copying breakpoints from HTTP and update sessions

8. Displaying instructions for the database interface

9. Forward and backward navigation in the source text

10. Displaying memory consumption

11. Displaying Unicode fragment view

Modification 1

Displaying program attributes

If you choose Goto &#8594; Further Information &#8594; Program Attributes then the system will display the attributes fixed point arithmetic, system program, and Unicode check.

Modification 2

Displaying data references

If you double-click a data reference in the Field Name column then the subsequent screen will contain technical information about that reference. A double click in the Field Contentcolumn will display the content of the data reference. The object referred to will be displayed, if you doubleclick the data reference dref->*in the Field Name column.

Modification 3

Special display of deep data objects

To display the headers of strings, internal tables, data references, and object references, you must prefix them with an asterisk. For example, to display the header of the internal table itab in hexadecimal form, you must enter *itab in the Field Namecolumn. In the case of tables without headers the field content only contains zeroes.

If you prefix the data object name with an ampersand, the relevant reference to the string, internal table, data reference, or object reference is displayed in hexadecimal form. For example, specifying &str will display the reference to the string str.

Modification 4

Setting breakpoints in methods

By choosing Breakpoint &#8594; Breakpoint at &#8594; Method you can set a breakpoint for a method.

Modification 5

Support for class based-exceptions

The following functions are available if an exception occurs:

If the INTO ref addition is missing from the CATCHstatement, you can create an exception object in the Debugger under Settings.

If you choose the Display Exception Objecticon, the system will display the attributes and interfaces of the exception class with their contents in the subsequent screen.

If you choose Statement That Caused the Exception the system goes to the line in the source code in which the exception was caused. The statement that caused the exception is explicitly indicated in the source code.

Modification 6

Debugging mode for Business Server Pages with ABAP scripting

Business Server Pages (BSP) can now be run in debugging mode. It is also possible to display and set breakpoints. Business Server Pages can be displayed in the Object Navigator, if you select an appropriate application by choosing BSP Applications.

Modification 7

Copying breakpoints from HTTP and update sessions

If you call an HTTP or update session from a logical unit of work (LUW) then a new work process will be started for this session. Any breakpoints that were set in this calling logical unit of work are carried over to the new sessions and can be displayed by choosing Breakpoints. For example, if you call the update module funcusing CALL FUNCTION func IN UPDATE TASK, then the new work process will be displayed in a new window, provided you selected Update Debugging under Settingsin debugging mode. Here you can process all the breakpoints that were set in the calling logical unit of work.

Modification 8

Displaying instructions for the database interface

You can now check the last statements sent to the database. In order to do so, choose Goto &#8594; System &#8594; System Areasafter the Debugger has been started and enter Area = OSQL in the input field.

Modification 9

Forward and backward navigation in the source text

If you choose Debugging &#8594; Goto Statement, then the system will go to that line in which the cursor is positioned. This allows simple forward and backward navigation within the displayed source code.

Modification 10

Displaying memory consumption

If you choose Settings &#8594; Memory Display On/Off, the system displays the memory consumption for objects, tables, references, or individual fields. In so doing, it differentiates between allocated and referenced memory and also displays the memory consumption actually used for every data object.

To see a hit list of the 25 data objects with the highest memory consumption choose Goto &#8594; System &#8594; System Areas. The following values can be entered in the Areafield:

ITAB-TOP25 for the display of internal tables

OBJ-TOP25 for the display of objects

REF-TOP25 for the display of references

ALL-TOP25 for the display of all data objects

Modification 11

Displaying Unicode fragment view

If you choose Goto &#8594; Display Data Object &#8594; System Information, the system displays the . In this view structures, internal tables, strings, data references, and objects are broken down into alignment gaps, byte areas and chracter-type areas and all other types - such as P, I, F, strings, references or internal tables.

The system groups adjacent, character-type components - with the exception of strings - only if there are no alignment gaps between these components. In so doing, it observes all alignment requirements. In the same way, adjacent byte-type components are also grouped together.

Regards,

Sesh

Read only

Former Member
0 Likes
781

Hi Akmal,

1) You can scroll the code by multiple lines, by using the scroll on the mouse, in the new debugger whereas you can do it line by line in the earlier debugger.

2) You have Structures, Tables, Variable, Break Points, Watchpoints, Local Variables, Global Variables viewed on the same window but on different Tab Strips.

<b>Reward points if this is helpful,</b>

Kiran

Message was edited by:

Kiran Kumar Somaroutu

Read only

Former Member
0 Likes
780

hi,

Go through the following link. Hope it helps you.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2d...

Refer this link:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cd12d590-0201-0010-80a6-c3cafeb6...

U will get complete info:

regards,

Omkar.

Message was edited by:

Omkaram Yanamala