NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Breakpoints

A breakpoint tells the debugger that an application should break (pause execution) at a certain point or when a certain condition occurs. When a break occurs, your program is said to be in a break state.

The Visual Studio debugger has four types of breakpoints:

To provide greater power and flexibility, you can modify the behavior of a breakpoint by adding these properties:

The Breakpoints window lists all breakpoints currently set in your program and displays their properties. In the Breakpoints window, you can set (create) new breakpoints, delete breakpoints, enable or disable breakpoints, edit a breakpoint's properties, or find the source or disassembly code corresponding to a breakpoint.

The source and Disassembly windows display symbols for function, file, and address breakpoints. These symbols appear in the left margin of the window. A breakpoint that is set and enabled appears as a solid red disk. A breakpoint that is disabled appears as an empty red circle. A breakpoint that is currently unavailable to the debugger (such as a breakpoint in a DLL that is not loaded) appears as a solid gray dot. You can set, enable, disable, edit, or delete these breakpoints in the source or Disassembly window. For details, see Breakpoint Operations In A Source Window or Breakpoint Operations In The Disassembly Window.

No matter which window you are using, you can insert a new breakpoint of any type from the Debug menu.

You can remove all breakpoints from the Debug menu.