Condividi tramite


Enable or Disable All Breakpoints

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

Comments

  • Anonymous
    April 26, 2010
    Hey Now Zain,     f9 - ctrl + shift + f9; alt + y; remove all break points are importnat thx Z! Thx 4 the info, Catto

  • Anonymous
    July 26, 2010
    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

  • Anonymous
    July 26, 2010
    @PIroco -- CTRL + ALT + B should bring up the Breakpoints window Z

  • Anonymous
    July 26, 2010
    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 ;)

  • Anonymous
    July 26, 2010
    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

  • Anonymous
    July 26, 2010
    Ok I will, Thanks