user1046037
user1046037

Reputation: 17725

Using the debugger to find all strong references to an object

I have an object a1 of class A, I want to find all the objects that hold a strong a reference to the object a1.

Is there a way to do it?

The reason I want to know this is because, a1 doesn't seem to be deallocated.

Upvotes: 8

Views: 4043

Answers (1)

Ryan
Ryan

Reputation: 3993

Yes, using Instruments.app, you can. Apple has a simple introduction, and if that doesn't help, many others have tutorials for using Instruments as well.


edit - this article looks useful, too.

Upvotes: 3

Related Questions