• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to view arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: how to view arrays
      • From: "Edward K. Chew" <email@hidden>
References: 
 >how to view arrays (From: Bob Sabiston <email@hidden>)

  • Prev by Date: Re: how to view arrays
  • Next by Date: Re: Globals variable problem
  • Previous by thread: Re: how to view arrays
  • Next by thread: Re: how to view arrays
  • Index(es):
    • Date
    • Thread