• 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: Option for viewing all values of an array?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Option for viewing all values of an array?


  • Subject: Re: Option for viewing all values of an array?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 25 Jan 2010 13:50:44 -0800


On Jan 25, 2010, at 1:46 PM, Christian Knipprath wrote:

Does anybody know if there are any option in XCode3.2.1 to view all values of an array?
In the debugger only the first value is shown but I would like to view (and edit) later entries while debugging.

At the gdb prompt type "po myArray". The "po" command is your friend — it calls -description on the object you give it and prints the result.


[Actually it calls -debugDescription, but this usually just calls - description.]

—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: Option for viewing all values of an array?
      • From: Jonathon Kuo <email@hidden>
References: 
 >Option for viewing all values of an array? (From: Christian Knipprath <email@hidden>)

  • Prev by Date: Option for viewing all values of an array?
  • Next by Date: Re: Including different debug and release frameworks in a .app
  • Previous by thread: Option for viewing all values of an array?
  • Next by thread: Re: Option for viewing all values of an array?
  • Index(es):
    • Date
    • Thread