您的位置:首页 > 其它

VS下release版本调试设置(中英文版都有)

2016-04-15 14:47 429 查看
<pre id="best-answer-content" class="reply-text mb10" name="code" style="white-space: pre-wrap; word-wrap: break-word; color: rgb(54, 46, 43); font-size: 14px; line-height: 26px; background-color: rgb(255, 255, 255);">中文版:
设置在Release模式下调试的方法:
1.工程项目上右键 -> 属性
2.c++ -> 常规 -〉调试信息格式    选  程序数据库(/Zi)或(/ZI), 注意:如果是库的话,只能(Zi)
3.c++ -> 优化 -〉优化            选  禁止(/Od)
4.连接器 -〉调试 -〉生成调试信息 选  是 (/DEBUG)
英文版:
在当前工程点击右键选择properties,选择 All Configurations
C++>General->Debug Information Format->Program Database (/Zi)
C++>Optimization->Optimization->Disabled (/Od)
Linker->Debugging->Generate Debug Info->Yes (/DEBUG)
Linker->Debugging->Generate Program Database File->$(TargetDir)$(TargetName).pdb



                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: