• 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: Displaying fixed point in XCode debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying fixed point in XCode debugger


  • Subject: Re: Displaying fixed point in XCode debugger
  • From: Steve Mills <email@hidden>
  • Date: Fri, 28 Apr 2006 12:52:18 -0500

On Apr 28, 2006, at 12:42, James Bucanek wrote:

I agree that Xcode should ship with more data formatters for common types, but I don't think they need to go in the Variables View menu. Maybe we can start an ad hoc group to develop a collection of common data formatter plug-ins and donate them to the Xcode development team?

Why do you not think they would go into the Variables View menu? That's the natural place to look for such a thing. Consider this scenario: You're hunting down a bug in somebody else's code. The data you're given is in a struct, but the data seems to be placed into the wrong fields of the struct (perhaps the struct-writing code is reading sized hunks from a file stream, but the format is out of date). You look at one of the fields that should contain a long, but the value is way out of the range that should be there. The field before it should contain a C string, but it too has strange values. The fastest way to see what is wrong is to view the long field as a C string. If it shows the string that should be in the other field, then you know what the problem is.


Yes, in this case you could view as OSType. So I used the wrong types in my scenario. :)

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


_______________________________________________ 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: Displaying fixed point in XCode debugger
      • From: James Bucanek <email@hidden>
  • Prev by Date: Re: Displaying fixed point in XCode debugger
  • Next by Date: Re: Displaying fixed point in XCode debugger
  • Previous by thread: Re: Displaying fixed point in XCode debugger
  • Next by thread: Re: Displaying fixed point in XCode debugger
  • Index(es):
    • Date
    • Thread