Displaying Updated Array Values

Related Topics:

Data Grapher Defaults

By default, the array display in updated at intervals of one minute, and is not updated automatically when the program execution stops. You can choose to have the display updated automarically when program execution stops at a breakpoint. You can also change the update interval.

To see the change in values:

1. In the Debugging Window, choose Debug Debugging Options. Or, in the Sun WorkShop main window, choose Options Debugging Options.

2. In the Debugging Options Dialog Box, click the Data Grapher tab.

3. If you want the array display automatically updated as the program stops at each breakpoint, select the When program stops checkbox.

4. If you want the array display updated at specific time intervals during a program's run, select the At fixed time interval checkbox. The default interval is 1 minute. Set the interval by typing a number in the Interval field and selecting seconds, minutes, or hours.