Re: Displaying fixed point in XCode debugger
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