C++ Debugging information *.exe cannot be found or does

C++不能调试了,报出这个错误:

Debugging information *.exe cannot be found or does not match

用这个方法,摘自某英文论坛

To enable debugging:
1) Goto Project->HelloWorld 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
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 your output.

原文链接: https://www.cnblogs.com/ustcwhc/archive/2012/04/05/2432829.html

欢迎关注

微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍

    C++ Debugging information *.exe cannot be found or does

原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/46120

非原创文章文中已经注明原地址,如有侵权,联系删除

关注公众号【高性能架构探索】,第一时间获取最新文章

转载文章受原作者版权保护。转载请注明原作者出处!

(0)
上一篇 2023年2月8日 下午10:34
下一篇 2023年2月8日 下午10:34

相关推荐