from:http://social.msdn.microsoft.com/Forums/zh-CN/Vsexpressvc/thread/503d3ded-976e-460e-b5f9-7e03454ed387
问题:
Debugging information for "project.exe" cannot be found or does notmatch. Binary was not built with debug information.
答案:
Toenable debugging:
1) Goto Project->HelloWorldProperties
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 "ProgramDatabase 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
11) Set your breakpoints
12) Rebuild your application
Also when running your application use Ctrl+F5 to build and run it,this keeps the console window open long enough for you to see youroutput.
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。