Microsoft Identity Integration Server 2003 Developer Reference

Setting Breakpoints

The Visual Studio .NET debugger allows the user to set breakpoints that will stop running the code at that point. The user can then step through the code and also step into function calls for which debugging information is available. Breakpoints can be set before or while the code is running. When a breakpoint is set, the debugger will break the next time that line of code runs.

In Visual Studio .NET, a breakpoint can be set in various ways. One way is to right-click the mouse in the code window on the line of code on which the breakpoint should be set, and selecting Insert Breakpoint. Another way to add a breakpoint is to place the caret in the code window on the line of code on which the breakpoint should be set, select Debug then New Breakpoint, and use the New Breakpoint window to add the breakpoint.

A breakpoint can be removed by right-clicking the mouse in the code window on the line of code that contains the breakpoint to be removed and selecting Remove Breakpoint. All breakpoints can be removed at one time by selecting Debug, and then Clear All Breakpoints.

When the debugger is stopped at a particular line of code, that line of code has not yet been executed. At this point, the user can use the following commands on the Debug menu to navigate through the code:

For more information about breakpoints, see Breakpoints in the Visual Studio .NET documentation.