- 11
- 0
- 约2.65万字
- 约 8页
- 2017-06-10 发布于河南
- 举报
vs2010调试不成功解决办法总结(国外英文资料)
vs2010调试不成功解决办法总结(国外英文资料)
Phenomenon: in vs2008, create an empty project and add a c + + file main.cc
# include iostream
Using namespace STD.
Int main ()
{
Cout
Return 0; s.
}
The program can be compiled, but execution, whether debug or release, occurs
Unable to find the debug information for XXX.exe , or debug information that does not match. The debug information is not used to generate binary files.
I found some answers from the Internet and finally solved the problem. As long as it is establishing the project should not empty project, and shall set up a win32 console application. This can really solve the problem. As long as you choose is the win32 console application in additional options to choose not to choose empty project
Heres the answer:
The problem is that you dont generate debug file PDB in an empty project, so you cant debug it.
To get the project to generate the PDB file, you need to change:
Item properties, configuration properties - link- Generate Debug Info from no to yes
But thats not enough, and you need to change:
Item properties, configuration properties - c/c + + - debug information format is/ZI
Item properties, configuration properties - c/c + + - optimization is Disabled
Because in order to generate this file, you need to set the format of the debug information and turn off the O2, and change the switch that linker generates for debugging information
]
When you run the sample program for FBX, you will find the prompt: debug information of xxxx.exe cannot be found or not match, so the first thing you can do is find the relevant information online, and you will get the following advice:
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 (/ O
您可能关注的文档
最近下载
- 2022年注册土木工程师(道路工程)《专业案例考试(下)》真题及答案解析.docx VIP
- 2025年辽宁省交通高等专科学校单招《数学》测试卷带答案详解(基础题).docx VIP
- 中国肺血栓栓塞症诊治、预防和管理指南(2025版)解读.pptx
- 版上市公司行业分类申万.pdf VIP
- GB_T28043-2019利用实验室间比对进行能力验证的统计方法.docx VIP
- 职业技能鉴定考试《电梯安装维修工高级》全真试题及答案.docx VIP
- 2025年辽宁省交通高等专科学校单招语文测试试卷题型大全.docx VIP
- 标准图集-22G101-3 混凝土结构施工图平面整体表示方法制图规则和构造详图-独立基础、条形基础、筏形基础、桩基础.pdf VIP
- 中考数学总复习《一次函数中角度问题》专项检测卷(含答案).docx VIP
- 汽车零件质量分析案例.pptx VIP
原创力文档

文档评论(0)