07.04 Enable or Disable All Breakpoints

WINDOWS

Alt,D, N

MENU

Debug | Disable All Breakpoints; Debug | Enable All Breakpoints

COMMAND

Debug.DisableAllBreakpoints; Debug.EnableAllBreakpoints

VERSIONS

2005, 2008, 2010

CODE

vstipDebug0018

There are times when you will want to quickly and temporarily turn off all or some of your breakpoints. This tip covers how to disable and enable your breakpoints.

You can go to Debug | Disable All Breakpoints on the menu bar, or in the Breakpoints window, you can click the Enable Or Disable All Breakpoints button:

Note

In Visual Studio 2010, only the breakpoints currently visible in the window are disabled when you use this option, so it is very useful for enabling or disabling a subset of your breakpoints when used with ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.