WinDbg - Svetlana-Kovalev/My-Notes GitHub Wiki
WinDbg
- WinDbg Superpowers for .NET Developers — Sasha Goldshtein
- Good tutorial for WinDbg?
- Поиск неисправностей с помощью WinDbg, Sos и Sosex
- WinDbg Superpowers for .NET Developers — Sasha Goldshtein
- .NET Debugging Demos Lab 3: Memory
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"