Viewing information specific to just one database object in the query window
In the query window, you can use a filter to display information concerning one database object only, such as a component. This function can be applied to Module or Component database objects. By default, this filter is not enabled. If the information you require appears in several components or modules, you can open another database object with the filter enabled in the definition tree view. The information concerning the newly selected database object is displayed in the query window.
This function is available in debug mode.
To narrow the display in the query window to a specific database object
Debugging
If error messages are shown in the preview while the web application is running, the Web Designer provides different forms of help.
NOTE: A WCF connection must be created for this function.
You can set breakpoints in the definition tree view for debugging. For more information, see Setting breakpoints.
You can use the following buttons in the preview to manage the Web Designer debugging.
Table 68: Buttons for managing debugging in the preview
|
Enable debugger. |
|
Single step mode. |
|
Resume execution |
For more information, see Working with the preview.
An external program can also be used to debug the web application (for example, Visual Studio). Debugging steps are created in the debug compilation to help you with subsequent debugging. Debugging with external programs is dependent on the environment used. This approach is therefore not referred to again here.
For internal debugging, called-up methods can be displayed in the Call Stack view. This gives you important information on the source of the error.
For more information, see Call stack.
Setting breakpoints
To set a breakpoint
- Perform one of the following tasks:
- Open the relevant module or component in the navigation view.
- Select a corresponding object in the properties view and click .
For more information, see Properties.
- Mark the node where you want to set the breakpoint and select Set breakpoint.
NOTE: Not all nodes in the definition tree view can support a breakpoint. However, as a general rule, you can set a breakpoint on all nodes that can be suspended in single step mode. You can also set a breakpoint for Container, Label, or Button nodes. In these cases, a breakpoint is set as soon as the control is rendered.
The marked node is highlighted in red.
To remove a breakpoint
Call stack
Call stack contains a list of internal action calls when the debugger is enabled and a breakpoint activated. For more information, see Setting breakpoints. All actions executed during the breakpoint are listed. This information can be used to identify the C# methods and related DLLs causing the error.
NOTE: The description of the Call Stack given here only helps you to pinpoint the error source For debugging itself, use external development tools such as Visual Studio.
Call Stack provides the following information: