coredata in instruments (iPhone)
coredata in instruments (iPhone)
- Subject: coredata in instruments (iPhone)
- From: Roland King <email@hidden>
- Date: Sun, 14 Feb 2010 19:53:55 +0800
I went leak/alloc testing my core-data-using iPhone app today because I had the nasty feeling I was overretaining something (actually it appears to have been the undo manager doing it for me, that sucker got nil'ed and now all is fine (until I need undo)). However none of my managed objects show up on the allocations screens (I have custom subclasses of NSManagedObject). I eventually dumped some addresses out to the console and went drilling those addresses to find them listed just under malloc and then going into a class method of one of the coredata clases and not with a retain/release/autorelease trace either.
Is there a trick for getting core data objects to show up under their own classes so I can see the total number of them going up and down as I throw them around? They don't even show up under NSManagedObject. I use the 'total number living' count as a quick indicator that I've buggered something up and I'm not releasing things the way I should.
Again this is iPhone (simulator mode) so anything cute under the CoreData section isn't available to me.
Thanks _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden