VS 2010不加载PDB [英] VS 2010 doesn't load PDB

查看:353
本文介绍了VS 2010不加载PDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VS 2010解决方案,我在x64 Windows Server 2008 R2机器上以调试模式构建。
编译在.exe旁边生成一个.pdb文件。
当我运行附带调试器的项目时,我收到以下错误信息:


无法找到调试信息加载
由Include / Exclude设置禁用。


此时我无法在代码中插入断点。
但是,当我手动加载符号(使用模块窗口)时,它们正确加载,我可以再次插入断点。
我尝试从仓库重建,清理和重新编号我的代码。没有什么帮助。 .pdb显然存在并匹配。为什么VS不能立即加载他们?

解决方案

更新:
所以事实证明,排除特定的符号文件加载。



转到:


工具 - > options-> debugging-> symbols->指定排除的模块


并确保没有任何内容被排除。


I have a VS 2010 solution which I build in debug mode on a x64 Windows Server 2008 R2 machine. The compilation produces a .pdb file next to the .exe. When I run the project with the debugger attached I get the following error message:

"Debugging information cannot be found or does not match. Loading disabled by Include/Exclude setting."

At this point I cannot insert breakpoints in the code. However, when I manually load the symbols (using the modules window) they are loaded correctly and I can again insert breakpoints. I tried rebuilding, cleaning and recloning my code from the repository. Nothing helps. The .pdb obviously exists and matches. Why can't VS load them right away?

解决方案

UPDATE: So it turns out that there's an option to exclude specific symbol files from loading.

Go to:

tools->options->debugging->symbols->Specify excluded modules

And make sure that nothing is excluded.

这篇关于VS 2010不加载PDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆