Condividi tramite


Enable or Disable a Breakpoint

Keyboard:  CTRL + F9
Command:  Debug.EnableBreakpoint
Versions:  2008,2010
Published:  4/26/2010
Code:  vstipDebug0017

 

Sometimes you want to keep a Breakpoint around but temporarily disable it.  This is easy to do and is only a slight muscle memory modification from setting and removing a Breakpoint.  Just put your cursor on the line with your Breakpoint you want to disable:

image

 

Then press CTRL + F9 to disable the Breakpoint (notice the glyph in the Margin changes):

image

 

To enable it just press CTRL + F9 again and you are good to go :)

Comments

  • Anonymous
    April 25, 2010
    I was looking for something like this today!  Really helpful!