View every caught and handled exception from all threads
How can I view all t开发者_运维技巧he caught and handled exceptions in C# application while debugging, so that I can view where all errors happened and how it was handled.
Debug + Exceptions, tick the Thrown checkbox for "Common Language Runtime Exceptions". The debugger will now stop at any place an exception is thrown.
Set the debugger to break on all exceptions. By default, it won't break on handled first chance exceptions.
When using IntelliTrace, it lists all exceptions which was caught and handled without breaking on every exception thrown.
精彩评论