• 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: Viewing an array in XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Viewing an array in XCode (From: Skip Haughay <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: remote debug
  • Previous by thread: Re: Viewing an array in XCode
  • Next by thread: Re: Viewing an array in XCode
  • Index(es):
    • Date
    • Thread