Re: can't inspect typedef variable values in debugger
Re: can't inspect typedef variable values in debugger
- Subject: Re: can't inspect typedef variable values in debugger
- From: Jamie Gjerde <email@hidden>
- Date: Mon, 16 Jan 2006 12:11:50 -0800 (PST)
i should note that this project is using the objective
c++ compiler, meaning i have .cpp files intermingled
with objective c++ .m files.
jamie
--- Jamie Gjerde <email@hidden> wrote:
> i have a typedef double defined in a header file.
>
> typedef double LREAL;
>
> and then i have a simple vector class defined in
> another header with four public members of type
> LREAL.
>
> public:
> LREAL fX;
> LREAL fY;
> LREAL fZ;
> LREAL fW;
>
> declared as such i cannot view the values of these
> four variables in the debugger window, the value
> column is completley blank in any instance of this
> object. if i double click on fX lets say inside the
> debugger window when the new window opens to view
> the
> variable value i always get a summary of "out of
> scope" for these four members when these values, nor
> the actual variable itself is actually out of scope.
> if i change the member declarations to this :
>
> public:
> double fX;
> double fY;
> double fZ;
> double fW;
>
> all is well and i can view these values in the
> debugger again. for the meantime, this will have to
> do
> i suppose so at least i can debug. now i am not sure
> if this is a bug or something i may be doing but it
> seems like the first way should work just fine, but
> it
> is not. it's worked for me before in other xcode
> projects. only thing different about the current one
> is that it was created in xcode 2.2 (sdk does not
> matter) and the previous projects that the LREAL
> type
> have worked with were created with earlier xcode
> versions, but they DO currently work in converted
> 2.2
> projects. and i have tried right clicking and trying
> to view the value as something else and that does
> not
> work.
>
> jamie
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.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
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.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