Did you know… You can add $exception to the Watch window to see the caught exception – #318

If you just quickly want to know what exception has been caught, without having to figure out the variable name of the exception in the try catch, you can just type in $exception in the watch window.

$exception in the Watch window

Technorati Tags: VS2005Tip,VS2008Tip

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>