您的位置:首页 > 其它

Windbg本机调试时“your debugger is not using the correct symbols”错误

2016-04-14 14:01 495 查看
第一次学着用Windbg本机调试内核,跟着教程走

1.命令行启动本机内核调试

D:\WinDbg>windbg -kl

2.输入命令查看系统内核信息

lkd> dt nt!_KDPC

3.报错:your debugger is not using the correct symbols

在网上查询很久,根据部分信息得到如下解决办法:

原因是缺少符号,可以新建一个文件夹,然后从微软服务器上获取符号进行调试

stackoverflow上这么写:

Create a local directory for downloaded symbols. I'll use "C:\Symbols".

新建一个空目录,比如C:\Symbols

Select "Symbol File Path..." from the "File" menu.

在Windbg菜单上选择File->Symbol File Path

Enter "SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols" and press "OK".

输入命令SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols,建议勾选上reload,确定之后就能从服务器上自动下载符号文件到本地

Try again. Initially there'll be a delay while the symbols are download. In future the local copies (step 1) will be used.

然后就可以正常调试了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: