Re: how to view arrays
Re: how to view arrays
- Subject: Re: how to view arrays
- From: "Edward K. Chew" <email@hidden>
- Date: Sun, 27 Jul 2008 09:21:56 -0400
This is how I do it:
http://lists.apple.com/archives/xcode-users/2007/May/msg00238.html
It's the closest to mimicking the old CodeWarrior "View Array" in my
opinion, though it's still more of a hassle. I made a hot key for the
"View Value As" menu item which helped a bit.
-Ted
On 26-Jul-08, at 7:58 PM, Brian Stern wrote:
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
_______________________________________________
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