> >Certain code optimizations allow the compiler to use the
> same piece of
> >memory for more than one variable. If you single step
> through the code,
> >looking at the values of these variables, the "wrong" value will be
> >displayed. To fix this, turn off all optimizations before debugging.
> >
>
> They were all off. I turned the register coloring/Global register
> allocation off via pragma as well.
>
> I've started noticing that some routines have accurate values
> displayed and some don't (the ones I need to work on of course.)
>
> Walt
I'm not aware of any place where the debugger is showing the wrong
values in unoptimized code. Can you send a bug report in
(http://www.metrowerks.com/contact/bug/) so we can see the problem and
get it fixed? That would be most appreciated.
-hkmlt
MW Tech Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/