Re: Tracking object references
Re: Tracking object references
- Subject: Re: Tracking object references
- From: Mike Abdullah <email@hidden>
- Date: Sat, 12 Jan 2013 11:13:13 +0000
On 12 Jan 2013, at 09:01, Martin Hewitson <email@hidden> wrote:
> Dear list,
>
> I'm still struggling to find the cause of a "CoreData could not fulfil a fault" error on saving an NSPersistentDocument (see other mail thread "coredata count not fulfill fault after object delete").
>
> I'm wanting to check if some other object has a strong reference to the deleted objects since this is a primary reason for the "could not fulfil a fault" error.
>
> To help with this, I wondering if there is a way to get a list of all objects in the run-time that have a strong reference to a particular object? Is this something I can do somehow with instruments?
The allocations instrument can show you all presently allocated objects. Find the object(s) you're interested in from that list and you can view its history of being retained and (auto)released, to figure out what is still holding onto it.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden