Enable or Disable a Breakpoint

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 a Breakpoint

  • Comments 1

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 :)

  • I was looking for something like this today!  Really helpful!

Page 1 of 1 (1 items)
Leave a Comment
  • Please add 5 and 4 and type the answer here:
  • Post