SAP NEWS-610-DEBUGGER



Get Example source ABAP code based on a different SAP table
  



Debugger in ABAP Release 6.10
ITOC

ABAP_MODIFICATION_NN Displaying Program Properties

If <(>Goto<)> -> Further Information -> Program Properties is chosen in the menu, the system displays the properties Fixed Point Arithmetic, System Program, and Unicode Check.

ABAP_MODIFICATION_NN Displaying Data References

If a data reference dref is double-clicked in the Field Names column, information about the technical properties of the reference are displayed. If the Field Content column is double-clicked, the content of the data reference is displayed. The referenced object is displayed when the data reference dref->* is double-clicked in the Field Names column.

ABAP_MODIFICATION_NN Special Display of Deep Data Objects

The headers of strings, internal tables as well as data and object references are displayed if you place an asterisk at the beginning of the name. For example, to display the header of the internal table itab in hexadecimal form, enter *itab in the Field Name column. The field contains zeros if a table does not have a header.
If the data object name is prefixed with an ampersand, the relevant reference of the strings, internal tables, data references, or object references is displayed in hexadecimal form. For example, specifying str displays the reference to the string str.

ABAP_MODIFICATION_NN Setting Breakpoints at Methods

A breakpoint can be set for a method by choosing Breakpoint -> Breakpoint At -> Method.

ABAP_MODIFICATION_NN Support for Class-Based Exceptions

The following functions are available when an exception is raised: If the addition INTO ref is missing from the statement CATCH, an exception object can be created in the debugger under Settings. If Display Exception Object is chosen, the attributes and interfaces of the exception class are displayed together with their content. If Statement that Caused the Exception is chosen, the line of the source code containing the statement that raised the exception is displayed. The statement is marked explicitly in the source code.

ABAP_MODIFICATION_NN 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 there. Business Server Pages can be displayed in Object Navigator by selecting an appropriate application under BSP Applications.

ABAP_MODIFICATION_NN Transferring Breakpoints to HTTP and Update Sessions

If an HTTP session or update session is called from a logical unit of work (LUW), new work processes are started for these sessions. Any breakpoints set in this calling LUW are inherited by the new sessions and can be displayed by choosing Breakpoints. For example, if the update module func is called using CALL FUNCTION func IN UPDATE TASK, the new work process is displayed in a new GUI window, provided update debugging is selected under Settings in debugging mode. Here, all the breakpoints set in the calling LUW can be processed.

ABAP_MODIFICATION_NN Displaying Statements for the Database Interface

The most recent statements passed to the database now can be checked. Choose <(>Goto<)> -> System -> System Areas after the debugger is started and enter Area = OSQL in the input field.

ABAP_MODIFICATION_NN Navigating Forwards and Backwards in the Source Code

If Debugging - > <(>Goto<)> Statement is chosen from the menu, the line containing the cursor is displayed. This allows simple forward and backward navigation within the displayed source code.

ABAP_MODIFICATION_NN Displaying Memory Use

If Settings -> Memory Display On/Off is chosen from the menu, the memory used by objects, tables, references, or individual fields is displayed. It distinguishes between allocated and referenced memory and also displays the memory actually used by every data object.
A hit list of the 25 data objects with the highest memory consumption can be displayed by choosing <(>Goto<)> -> System -> System Areas . The following values can be entered in the Area field: ITAB-TOP25 to display internal tables OBJ-TOP25 to display objects REF-TOP25 to display references ALL-TOP25 to display all data objects

ABAP_MODIFICATION_NN Displaying the Structure Fragment View

Choosing <(>Goto<)> -> Display Data Object -> System Information in the menu displays the structure fragment view. In this view, structures, internal tables, strings, data references, and objects are broken down into alignment gaps, character-like and byte-like areas, and all remaining types (such as P, I, F, strings, references, or internal tables).
Adjacent, character-like components of a structure (with the exception of strings) are organized internally into the same group, but only if there are no alignment gaps between these components. All possible alignment requirements for characters are respected here. In the same way, adjacent byte-like components are also grouped together.