- Published on
WinDbg Debugging - Setup for WinDbg Preview
- Authors
- Name
- Naito Oshima
Download WinDbg Preview
You can download WinDbg Preview as the folliwng flow.
Download Debugging Tools for Windows
Configure symbol path
You should configure symbol path through _NT_SYMBOL_PATH environment variables. Additionally, you can add .sympath+ command during windbg session. FYI, if you want to set source path, you can use .srcpath+ command.
set _NT_SYMBOL_PATH=SRV*c:\Symbols*https://msdl.microsoft.com/download/symbols;
And, you can set multiple symbol path to separate by semicolons as below.
set _NT_SYMBOL_PATH=SRV\*C:\symbols\*https://msdl.microsoft.com/download/symbols;SRV\*C:\symbols\*https://chromium-browser-symsrv.commondatastorage.googleapis.com;SRV*C:\symbols\*http://referencesource.microsoft.com/symbols;SRV*C:\symbols\*https://nuget.smbsrc.net;SRV*C:\symbols\*https://dotnet.myget.org/F/dotnet-core/symbols;SRV\*C:\symbols\*https://download.amd.com/dir/bin;SRV\*C:\symbols\*https://driver-symbols.nvidia.com/;SRV\*C:\symbols\*https://software.intel.com/sites/downloads/symbols/;
ref 1.) Microsoft public symbol server
ref 2.) Debugging Chromium on Windows
Useful debugger extensions
You can use some debugger extensions for WinDbg commands. You load through ".load <extension path>".