Finding all references to an object instance in Obj-C

后端 未结 3 2085
盖世英雄少女心
盖世英雄少女心 2021-02-13 18:55

I\'m trying to track down some bugs, and one of them is related to a memory leak. It\'s an object that I can tell that something still has a reference to, since Instruments stil

3条回答
  •  野的像风
    2021-02-13 19:37

    If you're using xCode you can use the Performance tools to find the memory leaks. That will give you a nice graph of ALL memory allocation and if they are released or leaked.

    xcode -> run -> Start with Performance Tools -> Leaks.

    Memory leak detection tools

提交回复
热议问题