I have an unhandled exception that causes the Exception Assistant dialog box to appear.
When I click on View Detail..., the exception itself has some values in it's custom object model that will not evaluate in the property grid, but I know I can evaluate it in the immediate window. (In this case the property grid won't let me drill down into a collection, but there can be other cases)
Without altering the code to add a try block, how can I go to the immediate window and evaluate expressions on the unhanded exception?
The answer will probably be some magic that I just don't know yet, like ?this.CurrentException or
something involving System.Diagnostics.StackFrame
or who knows. Something clever.
There is a way to navigate to it using the debugger thread, but that's quite complicated. If you can take that and make it simple with a wrapper that might be a solution.