• 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: Sean McBride <email@hidden>
  • Date: Mon, 26 Nov 2012 14:11:41 -0500
  • Organization: Rogue Research Inc.

On Mon, 26 Nov 2012 12:02:06 -0700, Nick Zitzmann said:

>> 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…)

Fair enough.  But a BOOL can't be 0 and 1 at the same time, which is what Xcode's debugger is showing me.

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

 _______________________________________________
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: 
 >Xcode debugger confused about BOOL values? (From: Sean McBride <email@hidden>)
 >Re: Xcode debugger confused about BOOL values? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Xcode debugger confused about BOOL values?
  • Next by Date: Re: Can't seem to debug with Xcode 3.2 and 10.6.8
  • Previous by thread: Re: Xcode debugger confused about BOOL values?
  • Next by thread: Re: Xcode debugger confused about BOOL values?
  • Index(es):
    • Date
    • Thread