• 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: debugger array view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugger array view


  • Subject: Re: debugger array view
  • From: Paul Russell <email@hidden>
  • Date: Fri, 3 Oct 2008 08:17:59 +0100

It's tedious but you can change the debugger view of a variable so that it looks like an array using the gdb array@len syntax. If you want more details this has been covered a few times previously on the list so you should find all you need in the list archive.

Paul

On 2 Oct 2008, at 21:43, kwiley wrote:

CodeWarrior had this debugger feature that would view a pointer as an array. Xcode has an array view, but seems to only supply it if the variable is an actual array, square brackets, that kinda stuff. If a variable is a pointer, there's no good way to see the array hanging under that pointer. The closest approximation is "view memory", which, let's face it, ain't the same thing, it's all hexy, hard to decipher on ints, utterly meaningless on floats.

Am I missing it? Is it there in Xcode right in front of my am I'm looking right past it? If so, would someone please point it out to me? I've missed this feature for years and was hoping maybe 3.1 would have it, but I don't see it...maybe I'm just missing it.

Thank you for any assistance if it has been there all along.

Cheers!

_______________________________________________ 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: 
 >debugger array view (From: kwiley <email@hidden>)

  • Prev by Date: Re: Xcode 3.1.1: agvtool lost mvers -terse1 option, what's the alternative?
  • Next by Date: Re: Project build correctly in xCode but failed with xcodebuild
  • Previous by thread: debugger array view
  • Next by thread: Re: debugger array view
  • Index(es):
    • Date
    • Thread