debugging information cannot be found or does not match visual studio#39;s(无法找到调试信息或与 Visual Studio 的不匹配)
问题描述
我复制了一个现有项目并重命名了该文件夹.现在,当我尝试编译应用程序时出现此错误
I copied an existing project and renamed the folder. Now I get this error when I try to compile the application
调试信息无法找到或不匹配.未加载符号.
要继续调试吗?
debugging information cannot be found or does not match. No symbols loaded.
Do you want to continue debugging ?
如果我点击是,它会编译并运行良好.但现在我必须处理那个消息.只是好奇我在项目属性中更改了什么以使其停止.
If I click yes, it compiles and runs fine. But now I have to deal with that message. Just curious about what I change in the projects properties to get it to stop.
推荐答案
主要原因是你没有匹配的pdb和exe.
The main reason is that you don't have a matching pdb and exe.
一些可能的解决方案:
- 您正在发布而不是调试中编译
- 您需要清理/构建或重建
- 您没有在与 exe 相同的目录中生成您的 pdb 文件
- 您的 pdb 不匹配,可能复制的源比今天的日期新,并且某些内容构建不正确.
- 尝试清除所有调试目标文件
- 您要附加到从与构建 exe 和 pdb 所在位置不同的位置启动的进程
- 重启 Visual Studio
这篇关于无法找到调试信息或与 Visual Studio 的不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法找到调试信息或与 Visual Studio 的不匹配


基础教程推荐
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 这个宏可以转换成函数吗? 2022-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 常量变量在标题中不起作用 2021-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 我有静态或动态 boost 库吗? 2021-01-01
- C++结构和函数声明。为什么它不能编译? 2022-11-07