"Vesselin Bontchev" <[EMAIL PROTECTED]> wrote:

> I'm having exactly the same problem. Not only the global variables
> - none of the local static variables are displayed, either. 
> 
> I haven't been able to find a good solution. I suspect the problem
> has something to do with the fact that PODS is written in Java and
> Java has a very strong dislike of global variables... 
> 
> When I really need to watch a global variable in the debugger, I
> declare a local variable of the same type and assign it the value
> of the global variable every time that global variable changes. It
> is ugly and there will be cases when it isn't good enough (e.g.,
> when the global variable is changed outside the function where the
> local copy of it is declared) but that's the best I've been able
> to come up with so far. 

That's what Ben Combee suggested when I asked about this problem a 
while back.  One thing you might try is entering the globals in the 
expressions window.  As I recall, that works for some people.  It 
didn't work for me, though.  I'm hoping the next version of PODS will 
fix it.

-- 
Ray

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

Reply via email to