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

来源自我的博客

http://www.yingzinanfei.com/2017/02/01/windbgbenjidiaoshishiyour-debugger-is-not-using-the-correct-symbolscuowu/


第一次学着用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.
  • 然后就可以正常调试了

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值