• 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: Finding NSTableColumn in gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Finding NSTableColumn in gdb
      • From: Nick Zitzmann <email@hidden>
References: 
 >Finding NSTableColumn in gdb (From: Eddy Hatcher <email@hidden>)
 >Re: Finding NSTableColumn in gdb (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: _objc_setProperty ObjC2.0 compile error ?
  • Next by Date: Core Data: Cross-Model Relationships
  • Previous by thread: Re: Finding NSTableColumn in gdb
  • Next by thread: Re: Finding NSTableColumn in gdb
  • Index(es):
    • Date
    • Thread