Re: Interpreting GDB Stack Frames
Re: Interpreting GDB Stack Frames
- Subject: Re: Interpreting GDB Stack Frames
- From: "Ayers, Joseph" <email@hidden>
- Date: Sun, 01 Jan 2012 15:37:02 -0500
- Acceptlanguage: en-US
- Thread-topic: Interpreting GDB Stack Frames
For some reason the APP started looping on the window initialization that was in Init, so I moved it to applicationDidFinishLaunching. Now it doesn't get to that with the message in GBD:
warning: UUID mismatch detected between:
/Developer/Library/Xcode/PrivatePlugIns/DebuggerFoundation.ideplugin/Contents/Resources/DebuggerIntrospectionSupport.dylib
/Developer/Library/Xcode/PrivatePlugIns/DebuggerFoundation.ideplugin/Contents/Resources/DebuggerIntrospectionSupport.dylib.dSYM/Contents/Resources/DWARF/DebuggerIntrospectionSupport.dylib...
and an EXEC_BAD_ACC in objc_msgSend
Oh well....
On Jan 1, 2012, at 11:22 AM, Fritz Anderson wrote:
[Stripped xcode-users from the recipients. Do not cross-post.]
On 1 Jan 2012, at 9:26 AM, Ayers, Joseph wrote:
5 AppKit 0x00007fff86718a0f -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 591
6 AppKit 0x00007fff86711d25 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1079
7 AppKit 0x00007fff8670833b loadNib + 322
Here's a couple of approaches, maybe not solutions.
Your exception occurs when the NIB loader tries to set up a binding. In the Run panel of the Scheme editor, Arguments tab, add this command-line argument:
-NSBindingDebugLogLevel 1
The resulting log may give you a better picture of what's gone wrong.
Also, if you're not setting "Raises For Not Applicable Keys" for all your bindings, and don't know why you shouldn't, you should.
Something that catches my eye:
2012-01-01 09:16:30.648 Roboplasm[36368:707] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot create NSArray from object <NSManagedObjectContext: 0x10192d020> of class NSManagedObjectContext'
I'd look for a value binding directly to something.managedObjectContext, instead of to a keypath in the selection of an NSArrayController.
— F
_______________________________________________
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