未使用调试信息生成二进制文件

来源:互联网 发布:linux系统有哪些版本 编辑:程序博客网 时间:2024/04/30 13:27

调试加断点加不进去最常见的原因就是:

VS项目属性,configuration properties->linker->Generate Debug Info 从 no 改为 yes

另外

VS项目属性,configuration properties->c/c++->debug information format为/ZI

VS项目属性,configuration properties->c/c++->optimization为Disabled


原创粉丝点击