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 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.

  • Run a Macro
    Runs a Visual Studio automation macro.

  • Continue Execution
    This control is enabled only when Print a Message or Run a Macro 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

Reference

Using DebuggerDisplay Attribute

Concepts

Breakpoints: Use Hit Counts, Call Stack Functions, and Conditions to Break When and Where You Want in the Visual Studio Debugger