Reputation: 8290
I am debugging a .NET 3.5 CLR dump using windbg and psscor2.dll extension. Code where exception happened looks like this:
try
{
...
}
catch
{
...
}
catch
{
...
}
finally
{
...
// exception I found in the dump happened here.
...
}
Ok, so with !pe
command I have an exception. It is a null reference exception, but the real cause of the problem is somewhere above, in the try, or in one of the catches, and exception that happened there is masked by this one in the finally block. App crashed in the stress testing, so it is not easy to create a repro, so dump is everything I have.
So, question for the all windbg/.NET internals gurus out there. Do you have any idea how I can get exceptions that happened before this one in the finally block. I don't see anything useful on the stack (!dso
command) and that is more or less where my psscor2 knowledge ends :).
Thanks.
Upvotes: 3
Views: 2593
Reputation: 361
Upvotes: 1