90

Is there a shortcut to clear all breakpoints within all projects within a solution in Visual Studio?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
lomaxx
  • 113,627
  • 57
  • 144
  • 179

4 Answers4

184

Debug > Delete All Breakpoints

or

Shortcut : CTRL + SHIFT + F9

This works in Debug mode as well.

Andrew
  • 18,680
  • 13
  • 103
  • 118
RPM1984
  • 72,246
  • 58
  • 225
  • 350
  • FYI, this feature is not present in Express editions of Visual Studio (except for C++ Express, for some reason: http://msdn.microsoft.com/en-us/library/ft4yk3a3%28v=vs.80%29.aspx). – Alfie Aug 22 '14 at 13:46
21

I personally find it easier to hold ALT, and double-press D.
Which translates to Debug menu, Delete All Breakpoints.

BeemerGuy
  • 8,139
  • 2
  • 35
  • 46
  • 3
    I don't have that option in the Debug menu, but CTRL-SHIFT-F9 works (VS Express 2013). – RominaV Oct 20 '14 at 14:18
  • 2
    i wouldn´t recommend that, i just printed my code. Lukily only 280 lines and not a page with 1000+ lines. VS 2017 - German – MaxW Oct 04 '17 at 14:24
  • 2
    For me that would be Alt-D-A. It works but you have to check what the correct sequence is for your particular version of Visual Studio. – BVernon Mar 30 '20 at 18:45
  • Oh the joys of localised softwares and shortcuts. Works for me as I have VS running in English, but beware of the possible "side effects" of your locale. As a colleague and @MaxW saw, in German this goes for Drucken (print). – saeraphin Apr 24 '20 at 06:24
0

Vs Studio 2019

  • Alt + D (Debug)+ A (Apply Code Changes) + A (Delete All Breakpoints)

  • Enter

Jephren Naicker
  • 336
  • 1
  • 2
  • 18
0

All of these did not work for me. Maybe because I was running it via WSL2. What worked for me is ctr + shift + p.

You will see the run popup, then search for "Remove All ..." and then select "Remove all Breakpoints" from the options.

Very easy.

enter image description here

Henry Obiaraije
  • 301
  • 3
  • 10