Show TOC Start of Content Area

Function documentation Software Layer Aware Debugging  Locate the document in its SAP Library structure

Use

You use software layer aware debugging (profile-controlled debugging):

      To debug only the part of the code you are interested in (for example, the code for which you are responsible). All irrelevant code (the system framework and so on) is hidden during the analysis. You can also see all entry points to the code you are interested in, that is, who is calling your layer and with which parameters.

      To get through the code in big steps, by jumping from layer to layer or from component to component, instead of single-stepping through the whole code until you finally reach the point of interest.

Caution

Profile controlled debugging is only available for the new ABAP Debugger.

Features

To use profile-controlled debugging, first you have to define an appropriate object set and profile using transaction SLAD. In a debugger profile you define object sets that consist of packages, programs or function modules, for example. For each object set you can specify whether or not you want to see the relevant code during debugging. Additionally, you can specify whether you want to stop at object set entry and/or exit. Software layer-aware debugging also provides you with the functions to analyze the code by stepping from one object set to another object set, instead of single-stepping through the code.

The left-hand side of the initial screen of transaction SLAD contains a navigation tree. You can use it to browse through all existing profiles and object sets. To switch the navigation tree on or off, use This graphic is explained in the accompanying text with the quick info text Hide/Show Trees. The navigation tree is divided into three sections: Favorites, Local Objects, and the Application Component Hierarchy.

You can assign profiles and object sets to an application component if you want to offer them for reuse by other users.

Note

Profiles or object sets that are not assigned to any application component are automatically transferred to your local objects.

To view the local objects of other users, open the context menu of Local Objects and choose Select Other Users. In the new dialog box, enter the name of the relevant user. You can also select an item from Local Objects or from the Application Hierarchy and add it to your Favorites list.

More information:

Object Sets in SLAD

Debugger Profiles

 

 

End of Content Area