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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to