• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Trying to track down error in NSPersistentDocument when saving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to track down error in NSPersistentDocument when saving


  • Subject: Re: Trying to track down error in NSPersistentDocument when saving
  • From: Gideon King <email@hidden>
  • Date: Sun, 16 Aug 2009 21:47:44 +1000

Cool - haven't used conditional breakpoints before, and didn't realize about objc_exception_throw...

That gives me completely different information, but much more useful:

#4 0x97578cba in -[NSAtomicStore(_NSInternalMethods) _insertNodeIntoMainCache:] ()
#5 0x97578c51 in -[NSAtomicStore(_NSInternalMethods) _registerCacheNode:] ()
#6 0x9757a51d in -[NSAtomicStore(_NSInternalMethods) _addObject:] ()
#7 0x9757a1a1 in -[NSAtomicStore(_NSInternalMethods) executeSaveChangesRequest:withContext:] ()
#8 0x9751d4c6 in -[NSPersistentStoreCoordinator(_NSInternalMethods) executeRequest:withContext:] ()


I guess that means that I'm returning a nil cache node for a managed object somewhere or something like that, which wouldn't surprise me at this stage of my coding. With this info, I have a much better idea what to look for, and where to dig next. Thanks for the quick response.


Gideon _______________________________________________

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


  • Follow-Ups:
    • Re: Trying to track down error in NSPersistentDocument when saving
      • From: "Sean McBride" <email@hidden>
References: 
 >Trying to track down error in NSPersistentDocument when saving (From: Gideon King <email@hidden>)
 >Re: Trying to track down error in NSPersistentDocument when saving (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Trying to track down error in NSPersistentDocument when saving
  • Next by Date: Cleaning "garbage" in Core Data
  • Previous by thread: Re: Trying to track down error in NSPersistentDocument when saving
  • Next by thread: Re: Trying to track down error in NSPersistentDocument when saving
  • Index(es):
    • Date
    • Thread