Re: how to view arrays
Re: how to view arrays
- Subject: Re: how to view arrays
- From: Brian Stern <email@hidden>
- Date: Sat, 26 Jul 2008 19:58:33 -0400
See this thread
http://lists.apple.com/archives/xcode-users/2008/May/msg00372.html
and the section on artificial arrays on this page:
http://developer.apple.com/documentation/DeveloperTools/gdb/gdb/gdb_9.html
Not sure how that all works with a pointer to a struct but it should
work.
Good luck,
Brian
On Jul 26, 2008, at 7:42 PM, Bob Sabiston wrote:
Hello,
Say I have a pointer *P that points to a block of point structures:
struct point {
float x,y,pressure;
}
How do I view the array of structures in Xcode? I can't see a way
to do it. It treats a pointer to a structure like it only points to
one of them. How do I view the data for the whole array? I can
view memory but that's just a block of hex numbers, it doesn't show
you the members of the structs.
Thanks
Bob
_______________________________________________
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