• 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: What are your tips for navigating the Xcode interface faster?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What are your tips for navigating the Xcode interface faster?


  • Subject: Re: What are your tips for navigating the Xcode interface faster?
  • From: Alex Zavatone <email@hidden>
  • Date: Wed, 22 Aug 2012 13:17:43 -0400


On Aug 22, 2012, at 1:08 PM, Jens Alfke wrote:


On Aug 22, 2012, at 5:24 AM, Alex Zavatone <email@hidden> wrote:

The trick (that only works in 4.4.1) is not to do po myclass, but to do po *myclass, and then you'll actually get a list of the variables in the class.

This doesn't work for me. Whereas 'print *myclass' does.

Ahhh, completely my mistake.  In my copying and pasting from one machine to another I borked that one up.

You're correct.  Thanks for straightening that out.

We've allocated some time to actually switch to 4.4.1 in the near future, so, hopefully the transition will be smooth.

(lldb) po r
(FMResultSet *) $6 = 0x0000000101001620 <FMResultSet: 0x101001620>
(lldb) po *r
(FMResultSet) $7 = [no Objective-C description available]
(lldb) print r
(FMResultSet *) $8 = 0x0000000101001620
(lldb) print *r
(FMResultSet) $9 = {
  (NSObject) NSObject = {
    (Class) isa = FMResultSet
  }
  (FMDatabase *) parentDB = 0x000000010122ffb0
  (FMStatement *) statement = 0x00000001010021d0
  (NSString *) query = 0x00000001000fb378 @"SELECT sequence, revid, deleted FROM revs WHERE doc_id=? ORDER BY sequence DESC"
  (NSMutableDictionary *) columnNameToIndexMap = 0x0000000000000000
  (BOOL) columnNamesSetup = NO
}

In the emails in this thread, it seems like you're mixing up 'print' and 'po' — you do know they're different commands, right? You seem to treat them interchangeably. For instance here you refer to 'print' but the example you give clearly uses 'po'.

Yeah, I know they are different.  It's likely that I copied and pasted wrong, hopping between machines, and in that case, I apologize.   Thanks man.

print *person gets the values of the variables within the class instance in the copy of 4.4.1 that I just installed, but still only displays this in Xcode 4.2:

po *person 
= {
  <NSObject> = {
    isa = 0x30d2c
  }, <No data fields>}


—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: 
 >What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Jens Alfke <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Jens Alfke <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Jens Alfke <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Jens Alfke <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Tom Seddon <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)
 >Re: What are your tips for navigating the Xcode interface faster? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: What are your tips for navigating the Xcode interface faster?
  • Next by Date: 4.4.1 GUI - Folders in the Project Navigator
  • Previous by thread: Re: What are your tips for navigating the Xcode interface faster?
  • Next by thread: Re: What are your tips for navigating the Xcode interface faster?
  • Index(es):
    • Date
    • Thread