xcode 项目 was compiled with optimization -stepping may behave oddly ;variable may not be available
来源:互联网 发布:ubuntu mysql 数据库 编辑:程序博客网 时间:2024/06/05 14:47
遇到问题:在xcode中,debug无法单步调试,单步运行执行步骤不按照语句顺序来。且无法查看到局部变量的值。
控制台显示:项目was compiled with optimization -stepping may behave oddly ;variable may not be available
分析:有地方设置来编译选项为-ON N=1,2,3。。。
解决:
1.查看是否为debug模式
2.项目的优化级别设置
3.有无额外的编译c++ flag
本文遇到的问题就是第三种情况,多写了个-O2
阅读全文
0 0
- xcode 项目 was compiled with optimization -stepping may behave oddly ;variable may not be available
- was compiled with optimization - stepping may behave oddly; variables may not be available.
- ‘XXXX’ was compiled with optimization - stepping may behave oddly; variables may not be available
- iOS xcode ‘XXXX’ was compiled with optimization - stepping may behave oddly; variables may not be av
- ieltsListen was compiled with optimization - stepping may behave oddly; variables may not be availab
- [app-name] was compiled with optimization - stepping may behave oddly; variables may not be availabl
- 'Project Name' was compiled with optimization - stepping may behave oddly
- 系统升级到iOS9,真机运行报“was compiled with optimization - stepping may behave oddly...”,闪退
- was compiled with optimization
- was compiled with optimization
- 'XXX ' was compiled with optimization
- ‘XXX’ was compiled with optimization
- ‘XXXX’ was compiled with optimization
- ‘XXXX’ was compiled with optimization
- 运行的时候报 variables may not be available.
- [IOS]'Project Name' was compiled with optimization
- This function or variable may be unsafe
- This function or variable may be unsafe
- C
- 扩展欧几里得与逆元
- Red Hat Linux VNC安装及配置教程
- 算法导论 学习笔记 第九章 中值和顺序统计
- ORM概念
- xcode 项目 was compiled with optimization -stepping may behave oddly ;variable may not be available
- HTTP和tcp,udp,ip等网络协议学习
- 【跟着stackoverflow学Pandas】Delete column from pandas DataFrame-删除列
- hdu6064 Best theorem+Matrix-Tree定理
- 分页功能的实现
- hadoop2.6分布式环境搭建
- Java实现office文档与pdf文档的在线预览功能
- 整数类型
- Andorid process 之进程优先级