无法找到调试信息或与 Visual Studio 的不匹配 [英] debugging information cannot be found or does not match visual studio's

查看:28
本文介绍了无法找到调试信息或与 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 的不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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