• 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: GDB says not an object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB says not an object


  • Subject: Re: GDB says not an object
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 29 Mar 2008 09:48:10 -0700


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 you're entering?
Or do you mean GCC, the compiler? If so, could you show the exact line of code, and the declarations of the methods you're calling?


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >GDB says not an object (From: Nick Rogers <email@hidden>)

  • Prev by Date: CAOpenGLLayer
  • Next by Date: Cocoa Tutoring in SF Bay Area
  • Previous by thread: GDB says not an object
  • Next by thread: Thread safe?
  • Index(es):
    • Date
    • Thread