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.

You May Also Like

About the Author: rnowik

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.