Re: How to debug invalidated core data object
Re: How to debug invalidated core data object
- Subject: Re: How to debug invalidated core data object
- From: Jerry Krinock <email@hidden>
- Date: Sun, 13 Jun 2010 15:43:31 -0700
On 2010 Jun 13, at 08:49, Gideon King wrote:
> I get an exception ... The NSManagedObject with ID:(whatever) has been invalidated.
Those things always ruin my day. I don't think I've ever fixed one by debugging from the bottom up as you would like to do. The solution has always come from thinking back and review everything I'd changed recently.
> I'd really appreciate any suggestions about how to pinpoint the source of this problem.
I wonder if by "invalidated" they mean "deallocated"? If not, you could click on this call:
> #5 0x00007fff83bf74be in -[NSManagedObject valueForKey:] ()
get the value of self, and then send some messages to it in the debugger console. For example, if self is 0xabcdabcdabcdabcd,
po 0xabcdabcdabcdabcd
po [0xabcdabcdabcdabcd entity]
_______________________________________________
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