Enable or Disable All Breakpoints

Tips Search

If you like the tips then you'll love the book!

Order your copy today:
http://www.amazon.com/gp/product/0735649928

Enable or Disable All Breakpoints

  • Comments 6

Menu:  Debug -> Disable All Breakpoints; Debug -> Enable All Breakpoints
Command:  Debug.DisableAllBreakpoints; Debug.EnableAllBreakpoints
Versions:  2008,2010
Published:  4/27/2010
Code:  vstipDebug0018

 

Download the seriously cool Tip of the Day Extension to get the daily tips delivered to your Start Page!

 

Okay, so you have a scenario where you have a lot of Breakpoints:

image

 

And you want to disable all your Breakpoints everywhere in the current project.  What do you do?

 

You can go to Debug -> Disable All Breakpoints:

image

 

Or, in the Breakpoints Window, you can click the Enable or disable Breakpoints button:

image

 

 

 

The result, in all cases, is the same.  It disables all Breakpoints in the current project:

image

 

To enable them again just go to Debug -> Enable All Breakpoints on the Menu Bar:

image

 

Or click the Enable or Disable Breakpoints button in the Breakpoints Window again:

image

  • Hey Now Zain,

        f9 - ctrl + shift + f9; alt + y; remove all break points are importnat thx Z!

    Thx 4 the info,

    Catto

  • Sorry,

    I can't see under Debug Menu' the menu' "Disable all breakpoint"/"Enable all breakpoint"  and neither under Debug/Windows the menu' Breakpoint window, I can visualize these menu' ?

    Thanks

  • @PIroco --

    CTRL + ALT + B should bring up the Breakpoints window

    Z

  • Thanks Zain

    it worked, but do you have any idea way I can't see the menu' voice under Debug/Windows ? And the voices Enable/Disable All Breakpoint ?

    Seem as all the management of the breakpoints disappeared but the "Delete all breakpoints". I'm sure there was few days ago.

    Thanks again ;)

  • Piroco -- it's possible you accidentally modified the menu somehow.  See my series this week on how to modify the menu system and just add the item back into your menu.  No clue why it isn't there now.

    Z

  • Ok I will,

    Thanks

Page 1 of 1 (6 items)
Leave a Comment
  • Please add 3 and 7 and type the answer here:
  • Post