How to get all strong references to an object (identified by address) in LLDB? I tried to use ptr_refs (as in this post) but it contains too many, which makes me think not all of them are strong references (or existing ones) because I called retainCount and returns only 1.
Asked
Active
Viewed 165 times
0
-
Memgraph can do this too, but it takes too long for large app. So, just wonder if there is a lightweight way to get it. – grubbyfan Dec 28 '20 at 20:56
-
@grubbyfan can you fix your link ? – zeytin Dec 28 '20 at 21:04
-
@zeytin sorry done. – grubbyfan Dec 28 '20 at 21:32
-
@matt how is it done in instruments? – grubbyfan Dec 28 '20 at 21:34
-
@matt does it also give the referencing pointers or just the count? – grubbyfan Dec 28 '20 at 23:05