• 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 and display of object methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB and display of object methods


  • Subject: Re: GDB and display of object methods
  • From: Alex Zavatone <email@hidden>
  • Date: Wed, 09 May 2012 14:51:50 -0400

It turned out I copied and pasted my for loop and was casting myAnnotation as a Dict, not MyLocation.

Thanks Jens.

On May 9, 2012, at 1:57 PM, Jens Alfke wrote:


On May 9, 2012, at 10:40 AM, Alex Zavatone wrote:

While po is nice to dump dict data, I seem to remember that there was something to dump the methods of an object.  Sadly my googles are failing in this respect.  Is there such a wondrous option or were the fumes getting to my brain cell?

Methods are code … how would you dump those? And the listing would be pretty long, because every regular class inherits a jillion methods from NSObject.

If you mean *instance variables* instead, just do “print *object”.

—Jens

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >GDB and display of object methods (From: Alex Zavatone <email@hidden>)
 >Re: GDB and display of object methods (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: GDB and display of object methods
  • Next by Date: Re: Xcode 4.3: making the project and debug output view independent of tab selected
  • Previous by thread: Re: GDB and display of object methods
  • Next by thread: Xcode 4.3: making the project and debug output view independent of tab selected
  • Index(es):
    • Date
    • Thread