Re: Xcode debugger confused about BOOL values?
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