Latest 0.0.1
Homepage https://github.com/ToLengSon/BlockLeaksKiller
License MIT
Platforms ios 8.0
Dependencies MLeaksFinder
Authors

CI Status
Version
License
Platform

Example

以demo为例:

当发生内存泄漏时,会有弹窗提示

BlockLeaksKiller

这时请看控制台的输出:

BlockLeaksKiller

复制内存泄漏对象地址:

打开Xcode内存图功能:

BlockLeaksKiller

粘贴内存泄漏对象地址进行查找过滤:

BlockLeaksKiller

鼠标右键箭头所指向的block->点击Print Description:

BlockLeaksKiller

查看控制台的输出:

BlockLeaksKiller

复制红线命令,粘贴至lldb:

BlockLeaksKiller

红框部分就是block导致循环引用的代码定义处,请自行跳转代码进行修复.

Requirements

Installation

BlockLeaksKiller is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'BlockLeaksKiller'

Author

wsong, [email protected]

License

BlockLeaksKiller is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "BlockLeaksKiller",
    "version": "0.0.1",
    "summary": "A short description of BlockLeaksKiller.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/ToLengSon/BlockLeaksKiller",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wsong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ToLengSon/BlockLeaksKiller.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "BlockLeaksKiller/Classes/**/*",
    "dependencies": {
        "MLeaksFinder": []
    }
}

Pin It on Pinterest

Share This