转储阅读器找不到符号文件
我正在尝试学习如何读取转储文件,因此我制作了我的小型应用程序,并从任务管理器为该进程创建了转储。
我尝试从 VS10 和 Windbg.exe 打开 .dmp 文件,但出现符号文件丢失的错误。我将符号文件的路径指定为 .pdb 文件所在的目录: ..\Visual Studio 2010\Projects\CachedQueryTester\CachedQueryTester\bin\Debug
但我仍然遇到相同的错误,在 VS10 和 Windbg.exe 上, 有什么想法吗?
I'm trying to learn about reading dump files, so I made my small APP crush, and created a dump for that process from task manager.
I tried to open the .dmp file, both from VS10 and windbg.exe, and got an error that the symbol files are missing. I specified the path of the symbol files as the directory where the .pdb files are located :
..\Visual Studio 2010\Projects\CachedQueryTester\CachedQueryTester\bin\Debug
but I still get the same error, both on VS10 and windbg.exe,
Any Idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可能还需要微软的符号,尝试
在windbg中输入
You may also need symbols from Microsoft , try to enter
in windbg
根据您的配置,您不必指定任何调试符号路径,因为符号的路径存储在可执行文件中。可以肯定的是,您可以打开 Visual Studio 命令提示符并键入
在输出中,您应该有一个包含 pdb 完整路径的“调试目录”条目。
如果不是这种情况,请检查您是否指定生成 PDB 文件(配置属性/链接器/调试/生成调试信息);
您还可以尝试向 WinDbg 询问它要查找的位置。为此,请从 WinDbg 中打开转储文件,输入“!symnoisy”并重新加载符号(.reload /u,然后 .reload 和 kb)。它会告诉您它寻找的位置。
From your configuration, you should not have to specify any debug symbol path, because the path of your symbols are stored in the executable. To be sure, you can open a Visual Studio Command prompt and type
In the output, you should have a 'Debug Directories' entry containing the full path of the pdb.
If this is not the case, check you have specified to generate a PDB file (Configuration Properties / Linker / Debugging / Generate debug info);
You can also try to ask WinDbg for the location it looks for. In order to do this, open your dump file from within WinDbg, type '!symnoisy' and reload the symbols (.reload /u then .reload and kb). It will tell you the locations it looks for.