• 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: Xcode debugger confused about BOOL values?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode debugger confused about BOOL values?


  • Subject: Re: Xcode debugger confused about BOOL values?
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 26 Nov 2012 12:02:06 -0700

On Nov 26, 2012, at 10:41 AM, Sean McBride <email@hidden> wrote:

> Is it just me or is Xcode 4.5.2's debugger unable to properly show the value of BOOLs?
>
> Hovering over a YES BOOL shows both "'\x01'" and "0".  Why not show just YES or NO?

Because BOOLs are not just one bit variables? :)

(Although it would be pretty unorthodox to use them to store any value other than 1/0, there's no rule saying they can't be 100…)

Nick Zitzmann
<http://www.chronosnet.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: Xcode debugger confused about BOOL values?
      • From: Scott Ribe <email@hidden>
    • Re: Xcode debugger confused about BOOL values?
      • From: Sean McBride <email@hidden>
References: 
 >Xcode debugger confused about BOOL values? (From: Sean McBride <email@hidden>)

  • Prev by Date: Xcode debugger confused about BOOL values?
  • Next by Date: Re: Xcode debugger confused about BOOL values?
  • Previous by thread: Xcode debugger confused about BOOL values?
  • Next by thread: Re: Xcode debugger confused about BOOL values?
  • Index(es):
    • Date
    • Thread