Updating the Display of Symbol Values

You can set up the Data card to
update the display of selected symbol values automatically whenever
your program stops at a breakpoint.
-
Make sure your program was compiled using javac -g. You must
use the -g flag to get symbol information.
-
Make sure your program is suspended at a point where the symbol you
want to display is in scope (known to the program at this point in
execution).
-
In the Data card, add a symbol to the Expression/Value table on the
right side of the card in one of the following ways.
-
Type the symbol name into the left column of the Expression/Value
table.
-
Double-click a symbol displayed elsewhere in the card to make it the
current expression, and click the Add button above the Expression/Value
table.
Note: Evaluating the pseudo-variable "super" is
not supported. You can work around this by displaying the derived class
which shows the member fields inherited from its parents class.
-
To remove a symbol from the table, select the symbol and choose Clear
from the right-mouse-button menu.
The values displayed in the table are updated when the program stops at
a breakpoint. The symbols displayed in the table remain across runs.

See Also

Guide to the Cosmo Code Development Environment
12-96*280