• 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: Jens Alfke <email@hidden>
  • Date: Wed, 09 May 2012 10:57:01 -0700


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

  • Follow-Ups:
    • Re: GDB and display of object methods
      • From: Alex Zavatone <email@hidden>
    • Re: GDB and display of object methods
      • From: Conrad Shultz <email@hidden>
    • Re: GDB and display of object methods
      • From: Alex Zavatone <email@hidden>
References: 
 >GDB and display of object methods (From: Alex Zavatone <email@hidden>)

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