WinDBG cheat sheet

Prereqs

Install debugging Tools for Windows. To debug managed code, install SOS.dll. It is automatically installed with Visual Studio and with Windows SDK.

Set symbol path (Make sure you have a ton of space on drive to download symbols)
srv*c:\websymbols*http://msdl.microsoft.com/download/symbols

Examining the unmanaged environment

Managed commands (assumes SOS is available)

Debug managed memory leak

References

Nirav Home


Suggestions/Comments/corrections are welcome. Contact me at the address shown in the home page.
Copyright 2005-2011, Nirav Jasapara