9

When I'm debugging an application and I have numerous breakpoints all over the place, if I have finished debugging the part I'm interested in, is it possible to then ignore all the remaining breakpoints and run the application?

I don't want to delete them or disable them permanently - kind of just a quick keyboard shortcut to say yeh I'm happy with the current bit of debugging and I want to check the output before moving on to the next.

Thanks for any help

Blingers
  • 789
  • 1
  • 9
  • 22
  • Seems like the easiest (and possibly only) option is to disable/re-enable all as needed, although it was asked a while ago: [What is the shortcut to skip all break-points in VS?](https://stackoverflow.com/questions/1833855/what-is-the-shortcut-to-skip-all-break-points-in-vs) – Broots Waymb Oct 08 '19 at 19:07
  • 2
    Possible duplicate of [What is the shortcut to skip all break-points in VS?](https://stackoverflow.com/questions/1833855/what-is-the-shortcut-to-skip-all-break-points-in-vs) – Simply Ged Oct 09 '19 at 04:06

4 Answers4

4

Although I use "VS code", it is similar in VS

Debug > Disable all breakpoint.

When you want to enable Debug > Enable All breakpoint. enter image description here

Phong Nguyen
  • 140
  • 1
  • 10
1

You can disable the breakpoints to ignore all the remaining breakpoints. enter image description here

Jack J Jun
  • 5,633
  • 1
  • 9
  • 27
0

In Visual Studio 2019: If you just want to disable them go to Debug and disable them there. If you want to set up a keyboard shortcut go to Tools/Options/Environment/Keyboard then in the input box titled Show commands containing: type disable You should see Debug.DisableAllBreakpoints there, you can set a new shortcut for this and use it.

0

While debugging, you can choose Disable breakpoints from Debug tab in visual studio to skip rest of the breakpoints.

SAM
  • 1