Re: 64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?

WinDbg

64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?


JL 2013-03-11, 17:48 下午
我从微软下了X86, AMD64的symbols,分别按装在C:\Symbols\x86,和C:\Symbols\x64下,然后在Windbg的symbol path路径中指定上述路径,attach到目标程序之后,使用!cs命令,总是得到如下的错误提示:
***    Your debugger is not using the correct symbols                 ***
***                                                                   ***
***    In order for this command to work properly, your symbol path   ***
***    must point to .pdb files that have full type information.      ***
***                                                                   ***
***    Certain .pdb files (such as the public OS symbols) do not      ***
***    contain the required information.  Contact the group that      ***
***    provided you with these symbols if you need this command to    ***
***    work.                                                          ***
***                                                                   ***
***    Type referenced: ntdll!_RTL_CRITICAL_SECTION_DEBUG                ***
***                                                                   ***
Bad symbols for NTDLL (error 3). Aborting.

Re: 64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?


格蠹老雷 2013-03-13, 00:01 上午

先确认NTDLL的符号文件找到没有:

lm vm nt*

 

 

Re: 64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?


no89757 2015-09-01, 14:38 下午
这种情况 pdb 肯定是加载上的,我的也是同样的问题。x64 windbg 调试 x64 native程序,lmvm ntdll :ntdll的符号正常加载, !cs !locks 命令没法正常使用。

和上面的同学一样的提示。但是dt ntdll中的结构是没问题的。比如 dt _RTL_CRITICAL_SECTION_DEBUG  是ok的,挺奇怪的,是自己的环境问题么?  

Re: 64位win7, 64位Windbg,调试32位程序(WOW64模式),symbols path怎么设?


no89757 2015-09-01, 16:22 下午
之前也听说这个好像是微软的一个调试器的一个bug 下了win10 的sdk也不好用。

Powered by Community Server Powered by CnForums.Net