Delete All Breakpoints

Keyboard:  CTRL + SHIFT + F9
Menu:  Debug -> Delete All Breakpoints
Command:  Debug.DeleteAllBreakpoints
Versions:  2008,2010
Published:  5/7/2010
Code:  vstipDebug0025


You can exercise the nuclear option on your Breakpoints and delete them all.  You have a couple of options:


WARNING: You had better have an export of your Breakpoints before you do either of these options if you want them back.


Debug -> Delete All Breakpoints; CTRL + SHIFT + F9

If you use the Debug menu or CTRL + SHIFT + F9 then the behavior hasn't changed from previous versions:  All Breakpoints get blown away. 



You will get this dialog to verify you want to delete the Breakpoints:




Breakpoints Window

A new feature in VS2010 is the ability to delete all Breakpoints that MATCH THE CURRENT SEARCH CRITERIA.  Only those breakpoints that are currently visible in the Breakpoints window will be deleted.  This is a new concept but a powerful one that allows you to remove unwanted Breakpoints in bulk that are no longer needed.



You will get this dialog to verify you want to delete the Breakpoints.  Note the additional text concerning the current search criteria:



NOTE:  You will always get a dialog to verify you want to delete all the Breakpoints.  You can turn this off by going to Tools -> Options -> Debugging -> General:



Just because you CAN turn it off doesn't mean you SHOULD turn it off.  Personally, I wouldn't.

Comments (4)
  1. Scott Blomfield says:

    I’ve had clear all breakpoints once or twice when the IDE performance got down to the point that it would make one step every ten seconds – turned out there were just too many breakpoints set. A simple clear all breakpoints and the performance was great again. It was nice to be able to remove all of them at once, and not have to hunt them down one-by-one.

  2. Catto says:

    Hey Now Zain,

    Nice one, Also let’s keep in mind we can choose an option to not be prompted for confirmation after pressing Ctrl+Shift+F9 in tools options debugging (one chkbox in there), this way once we delete all breakpoints we don’t have to press alt+y or click yes.

    Thx 4 the info,


  3. Patrick Emin says:

    It appears this is not available in the VS Express version

  4. ManishG says:

    Nice feature,


    I would like to suggest that it can be more nice feature if it gives option to remove breakpoints from current whole document


Comments are closed.

Skip to main content