Quick tip: Disable Visual Studio breakpoints without removing them

When debugging a project with a number of breakpoints (or, just a few that happen to be hit over and over again), you may want to disable them (all, or just some) so that you can more easily follow the flow.

You can easily deactivate breakpoints from the breakpoints window that you can access either from the debug menu, or by pressing CTRL+D, CTRL+B.

Perform the following:

1. Press “CTRL+D, CTRL+B” to bring up the breakpoints window.
2. Select the breakpoints that you wish to disable (CTRL+A selects all).
3. Click on the “Enable/Disable Breakpoints” button on the breakpoints window’s menu (it is the one with the two red circles on the black and white background).

MGR: the Intelogist

About MGR: the Intelogist

SharePoint Server developer, turned Sitefinity developer, turned Angular developer, turned SharePoint Online consultant, turned Unily consultant, turned O365 consultant... Never a dull moment!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.