Reputation: 883
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
Upvotes: 10
Views: 1931
Reputation: 5986
You can disable the breakpoints to ignore all the remaining breakpoints.
Upvotes: 2
Reputation: 1
While debugging, you can choose Disable breakpoints from Debug tab in visual studio to skip rest of the breakpoints.
Upvotes: 0
Reputation: 180
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.
Upvotes: 0
Reputation: 150
Although I use "VS code", it is similar in VS
Debug > Disable all breakpoint.
When you want to enable Debug > Enable All breakpoint.
Upvotes: 4