Error:Debugging information for "project.exe" cannot be found or does not match. Binary was not ……

来源:互联网 发布:python 依赖注入 编辑:程序博客网 时间:2024/06/04 23:23
Error:
Debugging information for "project.exe" cannot be found or does not match. Binary was not built with debug information. 

Method:
1、Find the left column “test”.

2、Right click "test"-> “Properties”。

3、“C/C++”->"General"->Change "Debug Information Format" to "Program Database For Edit And Continue (/ZI)" .

4、“C/C++”->"Optimization"-> Change "Optimization" to "Disabled (/Od)" .


5、“Linker”->"Debugging"-> Change "Generate Debug Info" to "Yes(/DEBUG)".

6、Start Debugging(F5).



阅读全文
1 0