How to sniff a caught exception in .NET on a production machine?

Is there a way to find which exception was caught by .NET code from outside the application?

I found that a third-party API throws an exception and suppresses it (I see that the perf counter is growing).

But it does not show it in the trace (I tried sysinternals dbgView).

What tool can display the exception caught?

+3
source share
2 answers

The tool that I always refer to in this situation is WinDBG. Download the 32-bit or 64-bit version , depending on the process bit.

- ( SDK), " " .

WinDBG :

  • → (F6)
  • ""
  • :
    • .loadby sos mscorwks ( .NET)
    • sxe clr ( )
    • g (GO!)
  • .
  • , !pe, .

!clrstack !dumpstack .

, , "g" , , .

!help .NET , , .

+2

?

+1

Source: https://habr.com/ru/post/1751293/


All Articles