Re: how to view arrays
Re: how to view arrays
- Subject: Re: how to view arrays
- From: Bob Sabiston <email@hidden>
- Date: Sun, 27 Jul 2008 13:33:57 -0500
Thanks,
I figured out how to do it with the Expressions window. I sure
hope they implement a better way in the future, viewing arrays is such
a common thing to do in programming. That, and multiple search
windows. Codewarrior still has Xcode beat on those fronts.
Bob
From: Brian Stern <email@hidden>
Subject: Re: how to view arrays
To: Xcode Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
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