Layer Aware Debugging 
Layer Aware Debugging (Software Layer Aware Debugging, profile-controlled debugging) is useful in the following situations:
To debug only the part of the relevant 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
Layer Aware Debugging is only available for the new ABAP Debugger.
Proceed as follows to use Layer Aware Debugging:
You can predefine and save suitable persistent object sets including layer profiles (profiles) with the SLAD Cockpit (transaction SLAD) tool.
In a layer profile you combine 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.
Start the new ABAP Debugger, for example, using breakpoints.
Activate Layer Aware Debugging. Also select the profile to be used or a visible object set.
You can now analyze the source text by jumping from object set to object set.
You can view, predefine, and save object sets and Layer Profiles with the tool SLAD-Cockpit (transaction SLAD).
The left-hand side of the initial screen 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
with the quick info text Hide/Show Trees. The navigation tree consists of three sections: Favorites, local objects, and the 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.
See also