VS2008:Debugging information for "project.exe" cannot be found or does not match.

错误提示:Debugging information for "project.exe" cannot be found or does not match. Binary was not built with debug information.

 

Solution:

To enable debugging:
1) Goto Project->Properties

2) On the left expand "Configuration Properties"
3) Expand "C/C++"
4) On the left, Select "General"
5) On the right, change "Debug Information Format" to "Program Database For Edit And Continue (/ZI)"
5) On the left, Select "Optimization"
6) On the right, change "Optimization" to "Disabled (/Od)"
7) On the left, expand "Linker"
8) On the left, select "Debugging"
9) On the right, change "Generate Debug Info" to "Yes"
10) Click ok
12) Rebuild your application
--------------------- 

转载出处:https://blog.csdn.net/sdgtliuwei/article/details/42025125

猜你喜欢

转载自blog.csdn.net/qq_23992597/article/details/84952576