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.

48 <strong>Prism</strong> User k <strong>Guide</strong><br />

48 <strong>Prism</strong> UserIs Gu-de<br />

3.5.5 Status Messages<br />

<strong>Prism</strong> displays the status messages listed in Table 1 before, during, and after the<br />

execution of a program.<br />

Message<br />

initial<br />

loading<br />

not started<br />

stopped<br />

terminated<br />

Table 1. Status messages.<br />

Displayed when:<br />

<strong>Prism</strong> starts up without a program loaded.<br />

<strong>Prism</strong> is loading a program.<br />

A program is loaded but not yet started.<br />

A program is running.<br />

A program has stopped at a breakpoint or signal.<br />

A program has run to completion and the process has<br />

gone away.<br />

3.6 Choosing the Current File and Function<br />

<strong>Prism</strong> uses the concepts of currentfile and currentfuncion.<br />

The current file is the source file currently displayed in the source window. The<br />

current function is the function or procedure displayed in the source window.<br />

You might change the current file or function if, for example, you want to set a<br />

breakpoint in a file that is not currently displayed in the source window, and you<br />

don't know the line number at which to set the breakpoint.<br />

In addition, changing the current file and current function changes the scope used<br />

by <strong>Prism</strong> for commands that refer to line numbers without specifying a file, as<br />

well as the scope used by <strong>Prism</strong> in identifying variables; see Section 2.9.1 for a<br />

discussion of how <strong>Prism</strong> identifies variables. The scope pointer (-) in the linenumber<br />

region moves to the current file or current function to indicate the<br />

beginning of the new scope.<br />

To change the current file:<br />

Version 1.2, March 1993<br />

Copyright C 1993 Thiing Machines Corporation

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

Saved successfully!

Ooh no, something went wrong!