Here’s a useful tip that I didn’t know - you can use the pseudo-variable $exception in the Watch window to see the exception that’s just been caught.

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.

Courtesy of Sara Ford.


blog comments powered by Disqus