• 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: data formatters (still) unreliable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: data formatters (still) unreliable?


  • Subject: Re: data formatters (still) unreliable?
  • From: Jerry <email@hidden>
  • Date: Thu, 11 Jun 2009 09:00:35 +0100


On 11 Jun 2009, at 08:32, Sam Deane wrote:

I've never tried writing a data formatter, but custom summary formats hardly ever work, so much so that I never even bother trying to use them any more. You can get them to work once just to tantalize you and cause you to waste loads of time, but then they never work again. I just use "View as Memory" or use the debugger console to print stuff out. The Expressions window would be potentially useful here but it's just too annoying - half the time you get the dreaded "Out of scope" and if you mistype, you can't select an existing expression and edit it, you have to type it all over again. In the console you've got editing built in so it's much easier.

I know what you mean, but I do use summary formats and they generally do work after an insane amount of trial and error.

What I find is that you spend ages trying to get one to work, for example, to print out a custom string class, and then you never see it work again - you just get the grayed out summary expression. Sometimes it'll work the first time round a loop and then the second time it fails. The built in ones are no better - sometimes I see a std::string printed out but it's a rare event and it's not worth moving your gaze to the summary column - easier to keep opening up the class down to the M_dataplus pointer. std::vector hardly ever works either - it has those "first", "last" and "all" buttons but they never do anything, but just once in a blue moon you'll actually see the items in the vector so the code must work somewhere.


Jerry

_______________________________________________
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: 
 >data formatters (still) unreliable? (From: Sam Deane <email@hidden>)
 >Re: data formatters (still) unreliable? (From: Jerry <email@hidden>)
 >Re: data formatters (still) unreliable? (From: Sam Deane <email@hidden>)

  • Prev by Date: Re: data formatters (still) unreliable?
  • Next by Date: Xcode as debugger only?
  • Previous by thread: Re: data formatters (still) unreliable?
  • Next by thread: Re: data formatters (still) unreliable?
  • Index(es):
    • Date
    • Thread