Re: GDB and display of object methods
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