zoukankan      html  css  js  c++  java
  • 'Project Name' was compiled with optimization

    'Project Name' was compiled with optimization

    http://blog.csdn.net/zhyl8157121/article/details/48780897

    'Project Name' was compiled with optimization

    今天调试的时候发现变量都不能查看了。在「lldb」中通过「po」命令来查看总是提示变量未找到。

    环境

    xcode 7, Swift 2

    错误提示

    ‘XXXX’ was compiled with optimization - stepping may behave oddly; variables may not be available

    分析

    工程在编译之后被优化了,所以导致单步的时候程序表现异常,变量也都不能访问了。这是由于编译的时候选择的是 release,而 release 的时候是会做很多优化,导致上述结果。

    undefined
  • 相关阅读:
    python笔记26(正则表达式、re模块)
    python笔记24(回顾、复习)
    python笔记25(正则表达式课程一)
    python笔记23(面向对象课程五)
    python(leetcode)-1.两数之和
    python(leetcode)-283移动零
    python(leetcode)-66加一问题
    python(leetcode)-350两个数组的交集
    python(leetcode)-136只出现一次的数字
    python数据结构-数组/列表/栈/队列及实现
  • 原文地址:https://www.cnblogs.com/xilifeng/p/5091798.html
Copyright © 2011-2022 走看看