Geeks With Blogs
Abhishek Anand Bits & Bytes about .net technology framework.

Here are the steps you need to take to get this feature enabled in your local Visual Studio instance:


1.       First select Ctrl+Alt+E, or Debug à Exceptions, to bring up the Exceptions dialog

2.       Make sure that all of the check-boxes in the “User-unhandled” column are checked

a.       Specifically the “Common Language Runtime Exceptions” box must be checked 

3.       If you see this column, you are done. If not, please continue on to the next steps.

4.       Close the Exceptions dialog and select Debug à Options and Settings.

a.       Within the Options dialog, make sure you are in Debug àGeneral.

5.       Check the box labeled “Enable Just my Code (managed)”.

6.       Repeat steps 1&2, and you should now see the “User unhandled column”.

Give it a try. Visual Studio should now break on any exception thrown while debugging.

Posted on Thursday, November 21, 2013 12:25 PM debuggin , visual studio | Back to top

Comments on this post: Breaking on Exception with Debugger

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Abhishek Anand | Powered by: