• 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
Still no "View as array..."? Expressions window (still) broken...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Still no "View as array..."? Expressions window (still) broken...


  • Subject: Still no "View as array..."? Expressions window (still) broken...
  • From: Dave Thorup <email@hidden>
  • Date: Wed, 14 Nov 2007 12:11:26 -0600

Really!?

OK, maybe I've just missed it and if I have someone please tell me where it is, but I'm dumbfounded that Xcode still doesn't have a simple "View as array..." option in its debugger. Something like CodeWarrior's would be nice where you right-click on a variable in the variable list or ideally in the source view and select "View as array..." which gives you a window where you specify the number of elements you want to look at. With all the other major improvements in Xcode 3 I really find it hard to believe that something so simple and essential is still missing from Xcode.

Yes you can use the gdb print command format in the Expressions window, but this is completely unintuitive to new users as well as tedious for everyone. Plus I often forget the exact format I need to use if I haven't been debugging arrays for a while and then need to look it up. Not to mention that the Expressions window doesn't even work properly most of the time. First of all, you can't edit or copy any expressions after you've entered them - WTF! And second, the Expressions only seem to work the first time a particular expression is encountered. For example, I have an array, pArray, that is declared the same way in multiple functions. If I add an expression to view that array - *pArray@10 - then I will only be able to view the contents of pArray in the first function that I break into. If I break into another function that also uses pArray then the Expressions window lists "out of scope" for it even though it is clearly in scope. There's a workaround for this, you can double-click on the expression to view it in its own window, but this is extremely tedious and annoying.

Please someone tell me that there's an easier/better way to work with arrays and expressions in Xcode. If not then I guess it's off to Bug Reporter and praying that it'll make it into Xcode 4 and 10.6 (sigh).

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


  • Prev by Date: Re: Where can I find a 10.2 sdk?
  • Next by Date: Re: Linking 64 bit app against vDSP other Accelerate libraries?
  • Previous by thread: Re: Linking 64 bit app against vDSP other Accelerate libraries?
  • Next by thread: Re: Still no "View as array..."? Expressions window (still) broken...
  • Index(es):
    • Date
    • Thread