程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> C語言 >> C++ >> C++入門知識 >> C++ Debugging information *.exe cannot be found or does not

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

編輯:C++入門知識

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.


 作者 伍浩铖 

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved