Edit: Visual Studio 2015's new exception window is so much faster than the old dialog that I no longer care as much about using a keyboard shortcut for it.
Is there a macro or keyboard shortcut that will toggle "break when an exception is thrown" without using the GUI?
Opening the dialog with ctrl+alt+e and checking the "Common Language Runtime Exceptions" "Thrown" box then clicking OK is simple enough, but this is something I do a lot. I would rather have a keyboard shortcut for this.
This question is a duplicate of Any have a Visual Studio shortcut/macro for toggling break on handled/unhandled exceptions?
However, the poster accepted an answer that doesn't really work, and I would really like an answer that does work.
The answer in the duplicate question is not acceptable because it toggles only one specific exception, not the entire CLR group.
"Well write a loop then." you say. But not so fast! Someone tried that already and it was uselessly slow. (Yes I've verified that its slow on my system as well.)
So the challenge is to use a macro to toggle the entire CLR Exceptions category in less than 1 or 2 seconds. This question is a duplicate of Any have a Visual Studio shortcut/macro for toggling break on handled/unhandled exceptions?
My macro to ignore current CLR exception in runtime. It works like a button 'disable catching this exception type' when an exception pops at debug-time.
CTRL + ALT + E ALT + T Enter
works for me
Just offering some info I found on this (here) as I was scouring the net in my futile attempt to help...
Someone else posed this same question and it was responded to by Gary Chang from MS Support, here's the quoted response:
It's important to note that this posting is from December of 2005 so this response may no longer be accurate; either way, thought I'd throw it out there.
First i initalized a timer an then i call the command Exception.Debug. The timer hit, when the modal dialog is openend. If you use Win 7 with deactivated UAC SendKeys with ALT-Key will fail...i don't know why.
i played a little bit...try this (VS2010 EN):