描述:
打开之前的工程文件,debug模式重新编译成功,启动调试,VisualStudio编译器抛出错误提示信息: “无法找到“Abc.exe”的调试信息,或者调试信息不匹配!”
问题排查:
1.项目编译后已成功生成pdb文件;
若未生成pdb文件,请核对以下3项:
configuration properties->linker->Generate Debug Info 从 no 改为 yes
configuration properties->c/c++->debug information format为/ZI
configuration properties->c/c++->optimization为Disabled