Welcome Login

Exceptions debug dialog box


Asp.Net

By turning on the CLR exceptions 'Thrown', debugger will automatically break when an exception is thrown.  This allows you to inspect call stack and interrogate your variables when an exception occurs.

To turn on exceptions dialog box:

1. Debug > Exceptions (or Ctrl-Alt-E)

vs-debugexception1

 

2. Check one or more, or all from 'Common Language Runtime Exceptions', 'Thrown'.

vs-debugexception2


Created on: Thursday, September 29, 2011 by Andrew Sin