Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging Core Data unresolved keypath save error



On Mar 20, 2007, at 11:03 AM, Chris Hanson wrote:

One way to get started debugging it is to set symbolic breakpoints on the following:

  objc_exception_throw
  -[NSException raise]

That will let you stop in the debugger the instant the exception is thrown, letting you debug a "live" system.

Thanks Chris, this gave me a bit more insight into what's going on:

#0 0x90a63365 in objc_exception_throw
#1 0x93cd01bb in -[NSSQLGenerator appendClause:forKeyPath:allowToMany:]
#2 0x93ccfca7 in -[NSSQLGenerator _preparePredicateExpression:]
#3 0x93ccfb16 in -[NSSQLGenerator prepareComparisonPredicate:]
#4 0x93ccb57e in -[NSSQLGenerator prepareSelectStatementWithFetchRequest:]
#5 0x93ccb00f in -[NSSQLAdapter newSelectStatementWithFetchRequest:]
#6 0x93ccae40 in -[NSSQLChannel selectRowsWithFetchRequest:]
#7 0x93d04bc9 in -[NSSQLCore _newRowsForSelector:withArgument:andLimit:]
#8 0x93cca83b in -[NSSQLCore newRowsForFetchRequest:]
#9 0x93cca4ea in -[NSSQLCore objectsForFetchRequest:inContext:]


I'm still not sure why a save process is failing on building a predicate. I'd love some feedback on this if anyone has experience with this kind of error.

Kevin
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >Debugging Core Data unresolved keypath save error (From: Kevin Hoctor <email@hidden>)
 >Re: Debugging Core Data unresolved keypath save error (From: Chris Hanson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.