无法加载WinDbg.exe的已下载符号文件

时间:2015-01-31 11:13:53

标签: windbg debug-symbols

我在D:\ Symbols中安装了零售符号并给出了我的windbg.exe的路径,但它无法加载原因?

Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

Connected to Windows 7 7601 x64 target at (Sat Jan 31 14:38:56.920 2015 (UTC + 3:30)), ptr64 TRUE
Symbol search path is: D:\Symbols
Executable search path is: 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntkrnlmp.exe - 
Windows 7 Kernel Version 7601 (Service Pack 1) MP (2 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 7601.18247.amd64fre.win7sp1_gdr.130828-1532
Machine Name:
Kernel base = 0xfffff800`02c4b000 PsLoadedModuleList = 0xfffff800`02e8e6d0
Debug session time: Sat Jan 31 14:38:56.968 2015 (UTC + 3:30)
System Uptime: 0 days 0:43:25.215

2 个答案:

答案 0 :(得分:3)

Debug Symbols that Microsoft provides仅适用于Windows 7的RTM或Sp1版本。安装更新时,PDB不再匹配。

您必须point to the Symbol Server下载新的PDB:

SRV*D:\Symbols*http://msdl.microsoft.com/download/symbols

答案 1 :(得分:3)

如果你有一个互联网连接让windbg为你找到并下载正确的,这将更容易,它将在本地缓存:

.symfix;.reload

将从http://msdl.microsoft.com/download/symbols

的MS符号服务器获取正确的符号

如果您自己下载它们,那么您必须下载与您的特定版本匹配的正确版本,这对于维护来说太麻烦了所以IMO只是让windbg为您处理这个更简单。