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.

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

68- iG Pr--m-----' ide<br />

Deleting Traces via the Command Window<br />

To delete a trace, use the show events command to obtain the ID associated<br />

with the trace, then issue the delete command with the ID as its argument. See<br />

Section 4.3.3.<br />

4.5 Displaying and Moving through the Call Stack<br />

The call stack is the list of procedures and functions currently active in a program.<br />

<strong>Prism</strong> provides you with methods for examining the contents of the call<br />

stack.<br />

4.5.1 Displaying the Call Stack<br />

From the menu bar: Choose the Where selection from the Debug menu. The<br />

Where window is displayed; see Figure 16. The window contains the call stack<br />

it is updated automatically when execution stops or when you issue commands<br />

that change the stack.<br />

ecursel(x - i4. y - zo2, z - 14i line zU In -recursel.c<br />

rcurse(x - 194. y - 20.2 z - 194) line 10 In 'recurse.<br />

recurse(x - 195. y - 205, z - 195 line 12 In recurse.c<br />

recurse(x - 196. y - 204 z - 19) line 8 In 'recurse4.c<br />

recurse(x - 197. y - 203, z - 197) line 2 In recurse3.e<br />

recurse(x - 19. y - 202 z - 198) line 8 In 'recurse2.c<br />

ecursel(x - 198. y - 201, z - )18 line 20 In recursel.c<br />

recurseo(x - 200. y -200. z -200 line 10 In recurse.c<br />

man() line 16 In recurse.c<br />

!Cncel I I Help I<br />

Figure 16. The Where window.<br />

Version 1.2, March 1993<br />

Copyright 0 1993 Thinking Machines Corporation<br />

I<br />

( I<br />

%<br />

('<br />

('<br />

I<br />

!<br />

I<br />

i<br />

i

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

Saved successfully!

Ooh no, something went wrong!