c++: Visual Studio 2008/2010“当前不会命中断点。”问题
我有一个程序链接到 Visual Studio 2008(win 7 64 位)中的静态库。 我遇到了“当前不会命中断点。尚未为此文档加载任何符号。”问题,无论是在发布/调试模式下,静态库代码中的断点(可执行代码的断点都可以)。 我已经阅读并尝试了其他问题中的解决方案,但没有任何帮助。我的试验包括手动删除所有 obj 和 pdb 文件;重新启动VS和计算机;安装与该问题相关的 Microsoft 修补程序;将解决方案移植到 VS 2010。
如果有任何其他建议,我将不胜感激...
更新
经过 2 天的徒劳努力,包括重新创建解决方案,问题消失了。我在修复自身之前所做的步骤是编辑同一解决方案中另一个程序的代码,该解决方案加载相同的静态库并重建。不知道这是否与问题消失的事实有关。
I have a program which is linked to a static library, in Visual Studio 2008 (win 7 64 bit).
I am encountering the "The breakpoint will not currently be hit. No symbols have been loaded for this document." issue, both in Release/Debug mode, for breakpoints in the static library code (breakpoints of the executable code are ok).
I have read and tried the solutions in other SO questions, and nothing helped. My trials include manually deleting all obj and pdb files; restarting VS and the computer; installing Microsoft's hotfix related to that issue; porting the solution to VS 2010.
I would appreciate any other suggestions...
UPDATE
After 2 days of futile efforts, including re-creating the solution, the problem disappeared. The step I did just before it fixed itself was to edit the code of another program in the same solution, which loads the same static library, and rebuilding. Got no clue if it is even related to the fact the the problem vanished.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
奇怪的!也许高级构建设置>>调试信息设置为“无”?
Strange! Perhaps Advanced Build Settings >> Debug Info was set to "none" ?