When Breakpoint Is Hit Dialog Box


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at When Breakpoint Is Hit Dialog Box.

With this dialog box, you can customize the action that occurs when a breakpoint is hit.

Print a Message
Prints a message, using DebuggerDisplay syntax. For more information, see Using the DebuggerDisplay Attribute.

This textbox also supports special keywords (such as $ADDRESS) that can be used by themselves or within the curly braces of a DebuggerDisplay expression. The available keywords are listed on the dialog box.

Continue Execution
This control is enabled only when Print a Message is selected. With this control selected, you can use a breakpoint as a tracepoint to trace your program execution, rather than breaking when the location is hit.

Using Breakpoints
Using the DebuggerDisplay Attribute