• 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: 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

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

  • Prev by Date: Problems building a Universal Binary that works on Panther and Tiger
  • Next by Date: Zooming and resizing
  • Previous by thread: Displaying fixed point in XCode debugger
  • Next by thread: Re: Displaying fixed point in XCode debugger
  • Index(es):
    • Date
    • Thread