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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

92<br />

<strong>Prism</strong> User S <strong>Guide</strong><br />

92 Prsm Uer'sGuid<br />

If you created the visualizer by issuing a Print command, its display window is<br />

grayed out when the program resumes execution and the values in the window<br />

are outdated. To update the values, choose Update from the visualizer's File<br />

menu.<br />

To close the visualizer, choose Close from the File menu, or press the Esc key.<br />

5.4 Visualizing Structures<br />

If you print a pointer or a structure (or a structure-valued expression) in a window,<br />

a structure visualizer appears. One exception: C* parallel structures are<br />

displayed in a regular visualizer, because they can't contain pointers.<br />

Figure 30 shows an example of a structure visualizer.<br />

Grah m m m<br />

File Options A Zoom<br />

opwidget = Ox4FbiaO<br />

draw= Ox4dbO0B<br />

ny = Ox4eOdBB<br />

left_x = O<br />

top = 0<br />

totalh = 0<br />

otaL w = 0<br />

win_h = 396<br />

w nw = 607<br />

zoom = 2<br />

win = 15728963<br />

gc = Ox4db470<br />

Font = Ox48deF8<br />

ot = OxO<br />

urrent = OxO 1<br />

odes = OxO<br />

Figure 30. A structure visualizer.<br />

The structure you specified appears inside a box; this is referred to as a node. The<br />

node shows the fields in the structure and their values. If the structure contains<br />

pointers, small boxes appear next to them; they are referred to as buttons. Leftclick<br />

on a node to select it. Use the up and down arrow keys to move between<br />

buttons of a selected node.<br />

Version 1.2, March 1993<br />

Copyright © 1993 Thinking Machines Corporation<br />

(

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

Saved successfully!

Ooh no, something went wrong!