【问题标题】:XCode Debugging / Tracing Zombies / Leaks in InstrumentsXCode 调试/跟踪僵尸/仪器泄漏
【发布时间】:2011-11-01 21:38:17
【问题描述】:

在我更新 Xcode 之前,我曾经能够双击 Instruments 中的僵尸/泄漏,它会直接将我带到煽动代码,但现在我似乎无法这样做,我不知道为什么,有什么想法吗?

【问题讨论】:

    标签: iphone xcode instruments memory-leaks zombie-process


    【解决方案1】:

    你只能在模拟器中做僵尸,不能在设备上。

    您可以使用该设备执行其他操作(例如分配和泄漏,但 Zombies 仅适用于模拟器)。

    【讨论】:

      【解决方案2】:

      确保打开扩展详细信息窗格(右侧)。在其中,您可以双击您的罪魁祸首方法以在 Xcode 中显示它。

      参考:Instruments User Guide: Eradicating Zombies with the Zombies Trace Template

      【讨论】:

        猜你喜欢
        • 2023-03-22
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-05-07
        • 1970-01-01
        • 1970-01-01
        • 2012-09-21
        • 1970-01-01
        相关资源
        最近更新 更多