Debugging information cannot be found or does not match
2013-07-13 19:29
585 查看
I wanted to try learnign some C++ with Visual C++ Express but when i try to build even the simplest program:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!\n";
return 0;
}
I get the error below:
Debugging information for "project.exe" cannot be found or does not match. Binary was not built with debug information.
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.
本文出自 “享受编程” 博客,请务必保留此出处http://demidroid.blog.51cto.com/2954092/1248311
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!\n";
return 0;
}
I get the error below:
Debugging information for "project.exe" cannot be found or does not match. Binary was not built with debug information.
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.
本文出自 “享受编程” 博客,请务必保留此出处http://demidroid.blog.51cto.com/2954092/1248311
相关文章推荐
- Debugging information cannot be found or does not match
- Debugging information for... cannot be found or does not match
- C++ Debugging information *.exe cannot be found or does not match (C++不能调试解决方法)
- debugging information cannot be found or does not match.binary was not built
- Error: debugging information for project.exe' cannot be found or does not match. No symbols loade
- Debugging information cannot be found or does not match
- debugging information cannot be found or does not match.binary was not built
- Debugging information cannot be found or does not match
- Error: debugging information for project.exe' cannot be found or does not match. No symbols loade
- Debugging information for... cannot be found or does not match
- Problem: 当调试时,出现错误提示:"Debugging information cannot be found or does not match"
- Debugging information cannot be found or does not match
- VS2010 & Qt,版本Release时:Debugging information for "project.exe" cannot be found or does not match.
- Error:Debugging information for "project.exe" cannot be found or does not match. Binary was not ……
- C++随记:Debugging information for "Project.exe" cannot be found or does not match.
- Error: debugging information for 'myproject.exe' cannot be found or does not match. No symbols load
- Error: debugging information for 'myproject.exe' cannot be found or does not match. No symbols loade
- Error: debugging information for 'myproject.exe' cannot be found or does not match. No symbols loaded.
- 解决:开启了debug但是Error: debugging information for 'myproject.exe' cannot be found or does not match. No symbols loaded.
- 在线安装maven插件问题:Cannot complete the install because one or more required items could not be found.