Ben Combee <[EMAIL PROTECTED]> wrote:

> 
>>According to the readme.html file for PODS 1.1, you should be able
>>to view global variables when debugging 68K code by entering them
>>in the expressions view.  But when I do this, no value is
>>displayed.  The variable name appears, but not the value.  When I
>>step through a program, the string "=..." appears briefly next to
>>each global, but no actual value is displayed.  If I enter a local
>>variable or an external static variable as a watch expression, its
>>value is displayed as expected.
>>
>>So how do I display globals?
> 
> I don't have a solution for this right now.  I've seen the same 
> behavior.  You could modify your code to assign the address of a
> global to a local variable and view through that, but I don't know
> why globals aren't working in the expression window.

Thanks, it's nice to know I'm not the only one who's run into this.  
I'll use the local-variable workaround for the time being.

I thought I'd solved it last night, by declaring the globals as static, 
but then I realized that a global *can't* be static.  Oh well.

-- 
Ray Heindl

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

Reply via email to