Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a keystroke in Visual Studio to toggle break on all CLR exceptions, first chance?

To toggle break on all exceptions right now, I have to:

  1. Debug->Exceptions
  2. Click in the Thrown column next to "Common Language Runtime Eceptions"
  3. OK

enter image description here

Normally I want to stop on all exceptions, but when working in code that uses exceptions in mainline cases, I need to disable that behavior. Having a keystroke would be nice.

like image 475
Jay Bazuzi Avatar asked Apr 03 '13 06:04

Jay Bazuzi


1 Answers

There is no built-in way to do this.
However, unless you are using Visual Studio Express you can try this Extension: Exception Breaker, it works for me.

What this extension does is provide a toolbar-button that basically toggles the checkbox you showed in your picture. And you can assign a keystroke to it like any other toolbar-button.

like image 120
void Avatar answered Oct 05 '22 22:10

void