> When  I view a variable that is declared as a bit field ie:
>
> short x:1;
> short y:1;
>
> etc.
>
> In a watch window I see the variable displayed as x 0xffff if the
> field is
> 1 and as 0x0000 if the field is 0.
>
> So in the debugger the bit field is represented in the format of the
> native data type?

Yes.  The 'type' of x and y are still short.

-------------
Ehsan Akhgari

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

There are times when we must sink to the bottom of our misery to understand
truth, just as we must descend to the bottom of a well to see the stars in
broad daylight.
- Vaclav Havel





Reply via email to