debugging information cannot be found or does not match visual studio's

后端 未结 14 1728
醉酒成梦
醉酒成梦 2020-11-29 04:11

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

14条回答
  •  南笙
    南笙 (楼主)
    2020-11-29 04:52

    The main reason is that you don't have a matching pdb and exe.

    Some possible solutions:

    • 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

提交回复
热议问题