Configure Windows Debugging Symbols in WinDbg

In this article I explain how to set up debugging symbols for WinDbg in Windows.
Published on Tuesday, 15 November 2022

Before you can properly debug crash and memory dumps in Windows (Windows 11, Windows 10, Windows Server), you need to install WinDbg -Windows Debugger- and its debugging symbols. In this article I explain how to set up these debugging symbols for WinDbg in Windows.

Assuming you've already installed WinDbg through the Windows SDK sdksetup.exe program, the steps to configure Windows debugging symbols in WinDbg are pretty easy and straightforward:

  1. Start WinDbg
  2. Click File
  3. Click Symbol File Path (shortcode Ctrl+S)
  4. Fill in a new Symbol Path: SRV*D:\SymCache*http://msdl.microsoft.com/download/symbols
  5. Click OK
  6. Click Save Workspace in the File menu

The path D:\SymCache is specific to my environment. If the target folder of your choosing doesn't yet exist, it'll be created.

All done, now you can debug BSOD like a boss.

Want to dive into fundamental concepts that are important for understanding debugging and troubleshooting complex issues on Windows? Then check out this GitHub repo by "DebugPrivilege": https://github.com/DebugPrivilege/InsightEngineering. Each section goes beyond just the theory aspects, emphasizing practical examples using tools like Visual Studio, Process Explorer, and WinDbg.