Freigeben über


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

Comments

  • Anonymous
    September 21, 2008
    The comment has been removed

  • Anonymous
    September 22, 2008
    That is interesting.  I'm assuming that there must be at least a few other '$' variables that could be added to the Watch window as well.

  • Anonymous
    September 22, 2008
    Great! Now if we had $result... :-)

  • Anonymous
    September 24, 2008
    Are there more $... tags that we should know about?

  • Anonymous
    September 24, 2008
    My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Clarius has released T4 Editor , a product that adds a good experience to Visual Studio for editing T4 templates. Pixel Mine has released