Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying fixed point in XCode debugger




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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Displaying fixed point in XCode debugger (From: Ken Turkowski <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.