× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Okay, let me just think out loud here.  In Java, I can see variable values
for the current scope (typically the method I'm in).  This includes
variables created within an execution block (such as "for (int i = 0;...").

This also includes the magic variable "this", which then allows you to see
all the instance variables for the enclosing object.  (Side question: in
Java, how do you see static instance variables from a static method, since
there's no "this"?)  Continuing this premise, I think what I might like to
see is a corresponding magic variable that would be expandable to see all
the global variables.  You could call it Global Definitions like in the
Outline view of WDSC.

Joe


From: Li Ding

This is current design.  It happens for the subroutine in main procedure.
Variables view displays the local variables in current scope. Subroutine
does not define local variables.  Instead of showing nothing, debugger
displays the local variables of the enclosing subprocedure.  However, the
subroutine in main procudure is processed differently and no variable is
displayed.

There is inconsistent behavior here, for subroutine in main procedure and
other subprocesures.  We definitely welcome community's feedback for the
behavior.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.