Re: Viewing an array in XCode
Re: Viewing an array in XCode
- Subject: Re: Viewing an array in XCode
- From: Dave Opstad <email@hidden>
- Date: Mon, 17 Apr 2006 13:27:22 -0700
- Thread-topic: Viewing an array in XCode
On 4/17/06 12:54 PM, "Skip Haughay" <email@hidden> wrote:
> Is there ANY way to do this in XCode? It would be terribly
> inconvenient and slow to have to manually peek at each item offset
> from my pointer each time I want to examine an array's values.
I don't know if it still works, but I posted this trick about a year ago on
this list:
-----------------------------------------------
>> Now I stop at a breakpoint in the debugger, and I want to inspect the data.
>> Can I get the XCode debugger to display a table showing the indexes and
>> values for the elements in the buffer?
>
> It took me a while to figure this one out too, but the gdb manual actually
> helped out. To display the 10 elements of an array named var, for instance,
> type this into the Expressions window:
>
> *var@10
-----------------------------------------------
Dave
_______________________________________________
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