WinDbg - Svetlana-Kovalev/My-Notes GitHub Wiki

WinDbg

Tips

  • load extension for .NET
.load C:\Windows\Microsoft.NET\Framework64\v4.0.30319\sos.dll
.load C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\sos.dll
  • dump managed stack for all threads : ~*e!clrstack
!dumpheap -stat

from https://blogs.msdn.microsoft.com/junfeng/2007/07/05/break-on-exception-in-windows-debugger/

To break on the unknown exception, we can use "sxe e0434352".
To remove the break point, use "sxd e0434352"