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 的不匹配
基础教程推荐
- 为什么我们不能使用“虚拟继承"?在 COM 中? 2022-01-01
- 将不可复制的闭包对象传递给 std::function 参数 2021-01-01
- 提升 ASIO 流缓冲 2021-01-01
- C++:获取传递给函数的多维数组的行大小 2021-01-01
- 如何部分禁用 cmake C/C++ 自定义编译器检查 2021-01-01
- 与 CAS 的原子交换(使用 gcc 同步内置函数) 2022-01-01
- 如何更改 SysDateTimePick32 或 CDateTimeCtrl 的背景颜色? 2022-01-01
- c++ STL设置差异 2022-01-01
- 随机插入/删除的综合向量与链表基准 2022-01-01
- 如何在 C++ 中正确使用命名空间? 2022-01-01
