VS2015——在release模式下进行调试

通过配置VS2015,解决release模式下问题:

1.工程项目上右键找到属性proterties(或菜单栏——>调试Debug——>属性 proterties)。

2.C++ ——> 常规General ——> 调试信息格式Debug Information Format 程序数据库 Program Database(/Zi)

3.C++ ——> 优化Optimization——>优化Optimization已禁用Disabled(/Od)

4.链接Linker ——> 调试Debugging ——> 生成调试信息Generate Debug Info ——> 优化以便于调试Optimize for debugging (/DEBUG) ——> 应用

发布了40 篇原创文章 · 获赞 1 · 访问量 1777

猜你喜欢

转载自blog.csdn.net/piaoguo60/article/details/103035669