【问题标题】:How to use Xcode7 instruments leaks tool located the code where leaks occurred如何使用 Xcode7 工具泄漏工具定位发生泄漏的代码
【发布时间】:2015-12-23 02:04:47
【问题描述】:

我按照苹果官方的说明,但是找不到说明中描述的头像。我得到了这个leak information,所以我点击了信息The code when I Click the information

我已经查看了我的代码,我自己找不到任何可能发生的泄漏。

【问题讨论】:

    标签: ios memory-leaks xcode7 instruments


    【解决方案1】:

    请单独从苹果那里获取信息,他们有一步一步的过程 什么是泄漏问题oocur? 它发生在哪里? 防止僵尸错误的解决方案是什么?内存泄漏? 请按照我的建议点击下面的苹果链接?

    https://developer.apple.com/library/ios/recipes/Instruments_help_articles/FindingMemoryLeaksinYourApp/FindingMemoryLeaksinYourApp.html

    https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/FindingLeakedMemory.html#//apple_ref/doc/uid/TP40004652-CH81-SW1

    【讨论】:

    • 一些使用仪器的泄漏无法根据仪器指南定位代码。但是静态分析解决了我的部分问题。谢谢~
    • 另一种方式可以通过cmd+shift+B查看内存泄漏
    猜你喜欢
    • 2019-08-18
    • 1970-01-01
    • 2011-11-26
    • 1970-01-01
    • 2016-04-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-18
    相关资源
    最近更新 更多