
When debugging Web Dynpro ABAP applications it is important to go as quickly as possible directly to the place in the Web Dynpro coding where a problem is likely to occur. To enable this, debugging entries have been added to the system context menu. In addition to the entries Show Quick Help and More Field Help , the following entries are now available:
Activate Debugger
In the Event Handler of the UI Element
This setting can only be selected if the affected UI element actually has an event handler.
WDDOBEFOREACTION
WDDOAFTERACTION
Deactivate Debugger
In the Event Handler of the UI Element
WDDOBEFOREACTION
WDDOAFTERACTION
Delete All HTTP Breakpoints
Activating and Deactivating Debugging
Set an external breakpoint somewhere in the coding where your work will not be affected by it.
An external breakpoint is necessary so that the application server opens the debugger in the correct GUI. If you omit this step you will be reminded in the Web Dynpro context menu (entry ).
Start your Web Dynpro application with URL parameter /H=X.
Open the context menu of a UI element that triggers an action, and select the required entry for the debugger.
Debug your application.
When you have finished debugging, you can delete your breakpoints using the entries in the context menu mentioned above.
UI Elements
The following UI elements are currently supported.
Button
InputField
LinkToAction
FormattedTextView
ThresholdSlider
ToolBarLinkToAction
CheckBox
TriStateCheckBox
HorizontalContextualPanel
Standard buttons on a popup
The debugger for all methods registered for a button on the popup is activated regardless of which button has been clicked.