Re: Finding NSTableColumn in gdb
Re: Finding NSTableColumn in gdb
- Subject: Re: Finding NSTableColumn in gdb
- From: Eddy Hatcher <email@hidden>
- Date: Tue, 13 Nov 2007 23:26:18 +0100
Thanks, that was what I was looking for, but now it gives me this
message:
2007-11-13 23:12:34.298 SchoolCore[1073:813] Cocoa Bindings: Error
accessing bound property value of object <NSTableColumn: 0x1b9ee0>:
[<NSTableColumn 0x1b9ee0> valueForUndefinedKey:]: this class is not
key value coding-compliant for the key value.
(gdb) po [0x1b9ee0 identifier]
Cannot access memory at address 0x0
Sorry, if these questions are too trivial. If it is can some one
please point me to a site with some debugging stuff.
Ed
On Nov 13, 2007, at 11:02 PM, Nick Zitzmann wrote:
On Nov 13, 2007, at 2:28 PM, Eddy Hatcher wrote:
Cocoa Bindings: Error accessing bound property value of object
<NSTableColumn: 0x1bb120>: [<NSTableColumn 0x1bb120>
valueForUndefinedKey:]: this class is not key value coding-
compliant for the key value.
The application seems to work fine though and I cannot find any
issues unless I break on NSException.
Is there a way to find out which table column is giving this error?
There is, and it's in the message given to you - it's the one at the
memory address 0x1bb120. From there, you can use the GDB command
line to get the column's table view, identifier, and anything else
that may help (e.g. "po [0x1bb120 identifier]").
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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