c++cvisual-studiovisual-studio-2008

"Debugging information cannot be found or does not match" Visual Studio's error message


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. What can I change in the projects properties to get it to stop?


Solution

  • The main reason is that you don't have a matching PDB and EXE file.

    Some possible solutions: