You might want to try testing your app on various debug ROMs. These might
complain about a problem earlier. The value changing in the debugger is
probably a result of the optimizer sharing the space for that variable with
that of another variable. Try setting up a debug target in which all
optimizations are turned off. This helps the debugger present a more
accurate view of the program execution. Reading from an unused portion of
the stack can happen if you return something (as a function result or
parameter) that points to a local variable declared within that function.
-- 
Peter Epstein

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

Reply via email to