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.

  1. Make sure your program was compiled using javac -g. You must use the -g flag to get symbol information.

  2. 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).

  3. 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.

    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.

  4. 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