Re: Option for viewing all values of an array?
Re: Option for viewing all values of an array?
- Subject: Re: Option for viewing all values of an array?
- From: Jonathon Kuo <email@hidden>
- Date: Mon, 25 Jan 2010 15:48:36 -0800
On Jan 25, 2010, at 1:50 PM, Jens Alfke wrote:
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.]
Cool. How about for a C array, like float my_array[1000]?
_______________________________________________
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