Debugging a NibLoad binding error
Debugging a NibLoad binding error
- Subject: Debugging a NibLoad binding error
- From: Steve Cronin <email@hidden>
- Date: Tue, 8 Jan 2008 09:06:30 -0600
Folks;
I've managed to get a long way down the road without really
befriending a lot of the power in the XCode debugger.
I know its extremely powerful but I haven't found a way to ease my
head into it yet...
I have a 'double free - set breakpoint in szone_error which is
eluding me.
In pursuit of this I have set a global breakpoint for both
'szone_error' and [NSException raise].
Is this the right thing to do?
When I attempt to launch now I get the stack shown below when I land
in the debugger.
How do I go about figuring out where this is occurring?
Is there some sort of example documentation that walks thru something
like this using XCode?
The gdb docs don't seem particularly helpful - I know I need to
understand a lot of it better than I do but what I need right now is
to exterminate this rascal not take on a 300 level compiler class...
Any other helpful links or thoughts?
I can tell its a binding error in a nib. Which nib?
How do I get the Object and KeyPath out of line #8?
Thanks!
Steve
#0 0x9282b36d in -[NSException raise]
#1 0x92852247 in +[NSException raise:format:]
#2 0x928c0129 in -[NSObject(NSKeyValueCoding) setNilValueForKey:]
#3 0x928bd980 in _NSSetNilValueForKey
#4 0x9282acff in _NSSetUsingKeyValueSetter
#5 0x937d695c in -[NSObjectParameterBinder
_updateObject:observedController:observedKeyPath:context:]
#6 0x937d6ad3 in -[NSObjectParameterBinder
_observeValueForKeyPath:ofObject:context:]
#7 0x93514299 in -[NSBinder _performConnectionEstablishedRefresh]
#8 0x9350c902 in -[NSObject(NSKeyValueBindingCreation)
bind:toObject:withKeyPath:options:]
#9 0x9350c5fe in -[NSNibBindingConnector establishConnection]
#10 0x9328d602 in -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:]
#11 0x932849ad in loadNib
#12 0x932843d9 in +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:]
#13 0x9328403a in +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:]
#14 0x93283f7c in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#15 0x93283cc3 in NSApplicationMain
#16 0x0003effc in main at main.m:18
_______________________________________________
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