Re: Displaying fixed point in XCode debugger
Re: Displaying fixed point in XCode debugger
- Subject: Re: Displaying fixed point in XCode debugger
- From: Chris Espinosa <email@hidden>
- Date: Thu, 27 Apr 2006 17:21:42 -0700
On Apr 27, 2006, at 2:22 PM, Ken Turkowski wrote: I have some arrays and data structures (and arrays of data structures) with Fixed and Fract (and other fixed point, such as 8.24), which I would like to display in the debugger as 1.0 instead of 65536 for Fixed 1.0 instead of 1073741824 for Fract 1.0 instead of 16777216 for Fixed 8.24 How do I do this?
Enter this into the Summary field:
{((float)($VAR) / ((Fixed) 0x00010000)))}
Chris |
_______________________________________________
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