If error messages are shown in the preview while the web application is running, 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 Web Designer debugging.
|Single step mode.|
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.
To set a breakpoint
Note: Not all nodes in the definition tree view can support a breakpoint. However, as a general rule, a breakpoint can be set on all nodes that can be suspended in single step mode. A breakpoint can also be set for Container, Label- or Button-type nodes. In these cases, a breakpoint is activated as soon as the control is rendered.
The marked node is highlighted in red.
To remove a breakpoint
The marked node is no longer highlighted.
The Call stack view 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.|
The Call Stack view provides the following information:
Name of the method called up
DLL name. The DLL provides you with the origin of the method.
A installed web application can be monitored from your own web site.
The user groups authorized to call up the monitor page are specified in the Monitor.config configuration file. By default, these are all the users that are members of the role Builtin\Administrators.
The monitor page currently has five tabs. The information shown on the monitor page or the available functions are described below. This page is currently available in the languages configured in your web browser.
To open the monitor page
The monitor page is opened in the standard browser.