调试信息无法找到或不匹配的Visual Studio的 [英] debugging information cannot be found or does not match visual studio'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
- You are compiling in release instead of debug
- You need to clean/build or rebuild
- You don't have your pdb files being generated in the same directory as the exe
- You have a mismatching pdb, maybe the copied source is newer than today's date and something isn't building properly.
- Try cleaning out all debug object files
- You are attaching to a process that you started from a different location from where your build exe and pdb exist
- Restart Visual Studio
这篇关于调试信息无法找到或不匹配的Visual Studio的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文