Re: GDB says not an object

2008-03-29 Thread Jens Alfke
On 29 Mar '08, at 5:15 AM, Nick Rogers wrote: currentNode is an NodeType* and [currentNode key:0] returns an ItemType*, which has a method - (Uint32)keyField. but when I use: [[currentNode key:0] keyField] GDB tells that its not an object. GDB as in the debugger? What's the exact command yo

GDB says not an object

2008-03-29 Thread Nick Rogers
hi, I'm working on a small btree implementation. currentNode is an NodeType* and [currentNode key:0] returns an ItemType*, which has a method - (Uint32)keyField. but when I use: [[currentNode key:0] keyField] GDB tells that its not an object. any ideas? Wishes, nick _