Prism User's Guide - CSAIL People - MIT
Prism User's Guide - CSAIL People - MIT
Prism User's Guide - CSAIL People - MIT
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
56 <strong>Prism</strong> User g <strong>Guide</strong><br />
56-- - - - - - - - - -- - P s r ..I<br />
Evet t I<br />
event (1) stop n loop<br />
(2) top at "prnmeol.Fcn":35 C print primee on dedicated )<br />
Id Location I Watch<br />
Acons I<br />
Common<br />
Eveits<br />
Condition I<br />
Stop 9 Instruction<br />
New we<br />
Events<br />
Common<br />
Silent E<br />
eplc<br />
After I<br />
,event<br />
Delete fields<br />
buttons Debugging Printing<br />
pc<br />
TraCe ¢loe-<br />
Stop 'oer It |[Stop apcond4 Print<br />
I Trac Tr ce cond Di-spl-I<br />
CloseI Hep -I<br />
Figure 14. The event table.<br />
The middle area of the event table is a series of fields that you fill in when editing<br />
or adding an event; only a subset of the fields is relevant to any one event. The<br />
fields are:<br />
* Id. This is an identification number associated with the event. You cannot<br />
edit this field.<br />
* Location. Use this field to specify the location in the program at which<br />
the event is to take place. Use the syntax filename ": linenumber to identify<br />
the source file and the line within this file. If you just specify the line<br />
number, <strong>Prism</strong> uses the current file. There are also three keywords you can<br />
use in this field:<br />
* Use eachline to specify that the event is to take place at each line<br />
of the program; this is the default.<br />
· Use eachinst to specify that the event is to take place at each assembly-language<br />
instruction.<br />
· Use stopped to specify that the event is to take place whenever the<br />
program stops execution.<br />
* Watch. Use this field to specify a variable or expression whose value(s)<br />
are to be watched; the event takes place if the value of the variable or<br />
expression changes. (If the variable is an array or a parallel variable, the<br />
Version 1.2, March 1993<br />
Copyright C) 1993 Thinking Machines Corporation<br />
11,<br />
o i I<br />
i(<br />
f