How to: Enable or Disable a Breakpoint

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic applies

Topic applies

Topic applies

Topic applies

Standard

Topic applies

Topic applies

Topic applies

Topic applies

Pro and Team

Topic applies

Topic applies

Topic applies

Topic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

In a source, Disassembly, or Call Stack window, breakpoints appear as red symbols called glyphs in the left margin. (See Breakpoints Overview for glyph descriptions.) The glyph also appears in the Breakpoints window.

To disable a breakpoint

  • In a source, Disassembly, or Call Stack window, right-click on a line containing an enabled breakpoint glyph and choose Disable Breakpoint from the shortcut menu (Breakpoint submenu), or

  • In the Breakpoints window, clear the checkbox next to an enabled breakpoint.

To enable a breakpoint

  • In a source, Disassembly, or Call Stack window, right-click on a line containing a disabled breakpoint glyph and choose Enable Breakpoint from the shortcut menu (Breakpoint submenu), or

  • In the Breakpoints window, set the checkbox next to a disabled breakpoint.

See Also

Tasks

How to: Disable All Breakpoints

How to: Disable All Breakpoints

How to: Enable All Breakpoints

Concepts

Breakpoints and Tracepoints