04.04.2013 Views

Prism User's Guide - CSAIL People - MIT

Prism User's Guide - CSAIL People - MIT

Prism User's Guide - CSAIL People - MIT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FI<br />

I<br />

I<br />

i<br />

I<br />

Chapter 5. 4sualizing Data 75<br />

You occasionally cannot print or display a CM-resident variable or array<br />

after interrupting execution; you receive an error message if you try. If this<br />

occurs, you must do a Step or Next after the interrupt before attempting<br />

to print.<br />

You cannot print or display any variables after a program finishes<br />

_ ^.+;~i<br />

CAUL;UUUU.<br />

* Visualizers do not deal correctly with Fortran adjustable arrays. The size<br />

is determined when you create a visualizer for such an array. Subsequent<br />

updates to the visualizer will continue to use this same information, even<br />

though the size of the array may have changed since the last update. This<br />

will result in incorrect values in the visualizer. Printing or displaying values<br />

of an adjustable array in the command window or to a new window<br />

will work, however.<br />

. r- r-<br />

* PDa.pnll *1e 'r11tt m L'a t A*F!11 n th , a Dae er a AMP ,lhl , lgr AhP.1 VA<br />

· \-I· IlIIII · I···I···L· II--···· L·IT lIIIiIIIII · · ·111·11··1 1·1·111· ··LI·L ·rllU<br />

can print or display its values. (See Section 2.8.)<br />

5.2 Choosing the Data to Visualize<br />

This section describes the methods <strong>Prism</strong> provides for printing and displaying<br />

data.<br />

5.2.1 Printing and Displaying from the Debug Menu<br />

To print a variable or expression at the current program location, choose Print<br />

from the Debug menu. It is also by default in the tear-off region.<br />

To display a variable or expression every time execution stops, starting at the<br />

current program location, choose Display from the Debug menu.<br />

When you choose Print or Display, a dialog box appears; Figure 17 shows an<br />

example of the Print dialog box.<br />

Version 1.2, March 1993<br />

Copyright 0 1993 Thining Machines Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!