At 15:41 2003-1-19 -0700, you wrote:
I'm debugging an app that borrows a good deal of code from the SDK samples
and having a curious problem.  When I step through to what appears to be the
offending function I notice that one of the local variables declared in the
function doesn't display in the debugger window.  All the others are there
with their values, but this one UInt16 type variable is simply absent.  What
can cause this to happen?
Are you building your application with the optimization level set above "0". Looking at the code, it is likely that the optimizer removed the "flags" variable, propagating the expression into its use in the GetBitMacro call and eliminating the storage needed for that variable.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


Reply via email to