views:

38

answers:

3

How can I view all the caught and handled exceptions in C# application while debugging, so that I can view where all errors happened and how it was handled.

A: 

Set the debugger to break on all exceptions. By default, it won't break on handled first chance exceptions.

Chris O
Chris can I make it show me a list without breaking on all exceptions?
Sandeep
+2  A: 

Debug + Exceptions, tick the Thrown checkbox for "Common Language Runtime Exceptions". The debugger will now stop at any place an exception is thrown.

Hans Passant
A: 

When using IntelliTrace, it lists all exceptions which was caught and handled without breaking on every exception thrown.

Sandeep