WinDbg
lastmod 2025-10-05created 2018-01-224 edits
WinDbg is a multipurpose debugger for Microsoft Windows. Debugging is the process of finding and analyzing errors in a system, and it also includes exploring the internal workings of software as an aid to development. It can be used to debug user-mode applications, device drivers, and the operating system itself in kernel mode. Like the Visual Studio debugger, it has a graphical user interface (GUI), but it is more powerful.
WinDbg can be used to debug kernel-mode memory dumps created after the blue screen that occurs on a bug check. It can also be used to debug user-mode crash dumps, which is known as post-mortem debugging.
WinDbg can automatically load debug symbol files (e.g. PDB) from a server via SymSrv (SymSrv.dll), matched by various criteria (e.g. timestamp, CRC, processor version), instead of the more time-consuming task of building a symbol tree. When a private symbol server is configured, the symbols are associated with the source code. By removing the need to find and install specific symbol versions on the debug host, it eases the burden of debugging problems caused by the various versions of binaries installed on the debugging target. Microsoft runs a public symbol server that has most of the public symbols for Windows 2000 and later versions, including service packs.
When AI meets WinDBG
See also
Favorite site
- Wikipedia (en) WinDbg
- WinDbg debugging training (1) Introduction to debugging 1
- WinDbg debugging training (2) x86 stack inside 2
- windbg - How to check whether an instance is still alive and causing a memory leak 3