I frequently use Debug -> Exceptions -> check CLR Exceptions
during debugging sessions. Sometimes, an exception gets thrown and handled, but I really want to find the source of the exception. In order to do this without seeing first-chance exceptions that I don't care about, I start my app, and then check CLR Exceptions:
This gets really tedious, and I'd love to have a toggle button in my VS2010 toolbar that allows me to only set/reset CLR Exceptions at will, without having to key in CTRL+D, E, check the box, and then click OK (and then do the same process again to turn off the exceptions). I went into the toolbar customization, but all I could get was a button that bring up the Exceptions dialog. This is obviously less efficient than hitting CTRL+D, E.
Does anyone know of another way to add this? Will it require a VS addin? A keystroke mapping would be nice as well.
I've never used the Macro Recorder in VS ever, but maybe this is one place where it's necessary?