When Breakpoint Is Hit Dialog Box

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

UIElement List

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.

See Also

Using Breakpoints
Using the DebuggerDisplay Attribute