Debugging when exceptions are thrown in VS 2005

To break into the debugger when a specific exception is thrown, simply select Exceptions from the debug menu and then select the relevant exceptions from the subsequent dialog box (e.g. System.Exception from Common Language Runtime Exceptions). Check the checkbox for thrown – this will ensure that when debugging, if a System.Exception is thrown, you will automatically break into the debugger.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>