Udostępnij za pośrednictwem


How to: Enable or Disable Breakpoints

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic applies

Topic applies

Topic applies

Topic applies

Topic applies

Pro, Premium, and Ultimate

Topic applies

Topic applies

Topic applies

Topic applies

Topic applies

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

To enable or disable a single breakpoint

  • In a source, Disassembly, or Call Stack window, right-click a line that contains a breakpoint glyph, point to Breakpoint, then click Enable Breakpoint or Disable Breakpoint.

    -or-

    In the Breakpoints window, select or clear the check box next to the breakpoint.

To enable or disable all breakpoints

  • From the Debug menu, click Enable All Breakpoints.

See Also

Other Resources

Breakpoints and Tracepoints

How to: Disable All Breakpoints

How to: Enable All Breakpoints