Show TOC Start of Content Area

Procedure documentation Debugging Contexts  Locate the document in its SAP Library structure

In addition to the sophisticated WD debugging feature, there is also a tool available for debugging contexts. In the WD perspective, there is a specialized debug view available that displays WD context structures on a logical level rather than showing all implementation-internal details as they exist in the Variables view of the standard WD debugging feature.

The following features are included:

●      Browsing of context structures to explore nodes, node elements and attributes

●      On-the-fly changing an attribute value (type string or primitive)

●      Providing additional properties of nodes and attributes (within generic Properties view)

●      Navigating from a selected context object in the debugger to its designtime source in the context editor

●      Differentiating between singleton false or true

●      Asynchronous processing

Requirements

●      All needed breakpoints are defined in the controller file.

●      You have knowledge about the WD debugging (non-context-debugging feature).

Procedure

       1.      Start the debugging process as usual.

       2.      In addition to the Variants view, you need the Context Debugging view. Launch the tool via Window → Show View → Other → Web Dynpro → Context Debugging.

       3.      You can use the Context Debugger as soon as a breakpoint in a controller implementation is hit.

End of Content Area