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.

_W<br />

-- ,<br />

.<br />

(,.<br />

C'<br />

Cn · . .V<br />

Contents v<br />

3.4.4 Turning Safety On and Off ...........<br />

3.4.5 Obtaining Information about CM Users .<br />

3.5 Executing a Program ........................<br />

3.5.1 Running a Program .................<br />

3.5.2 Program I/O .......................<br />

3.5.3 Stepping through a Program ..........<br />

3.5.4 Interrupting and Continuing Execution .<br />

3.5.5 Status Messages ...................<br />

3.6 Choosing the Current File and Function .........<br />

3.7 Creating a Directory List for Source Files .......<br />

Chapter 4 Debugging a Program ...........<br />

Chapter 5<br />

4.1 Overview of Events ..................<br />

4.2 Using the Event Table ................<br />

4.2.1 Description of the Event Table .<br />

4.2.2 Adding an Event ............<br />

4.2.3 Deleting an Existing Event ....<br />

4.2.4 Editing an Existing Event .....<br />

4.2.5 Saving Events ..............<br />

4.3 Setting Breakpoints ..................<br />

4.3.1 Using the Line-Number Region<br />

4.3.2 Using the Event Table and the E<br />

4.3.3 Using Commands ...........<br />

4.4 Tracing Program Execution ............<br />

4.4.1 Using the Event Table and the E<br />

4.4.2 Using Commands ...........<br />

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

4.5.1 Displaying the Call Stack .....<br />

4.5.2 Moving through the Call Stack<br />

4.6 Examining the Contents of Memory and Re,gisters<br />

.....................<br />

4.6.1 Displaying Memory .........<br />

70<br />

4.6.2 Displaying the Contents of Registers<br />

....................... 71<br />

4.7 Using pndbx on a CM-5 ..............<br />

5.1<br />

Visualizing Data ..............................<br />

Overview .......................................<br />

5.1.1 Printing and Displaying ...................<br />

Version 1.2, March 1993<br />

Copyright © 1993 Thinking Machines Corporation<br />

44<br />

45<br />

45<br />

45<br />

46<br />

46<br />

47<br />

48<br />

48<br />

50<br />

53<br />

........................... 53<br />

55<br />

........................... 55<br />

........................... 58<br />

........................... 58<br />

........................... 59<br />

,,,,., .... .... 59<br />

........................... 60<br />

........................... 61<br />

vents Menu ................ 62<br />

........................... 63<br />

........................... 66<br />

vents Menu ................ 66<br />

........................... 67<br />

ack ....................... 68<br />

........................... 68<br />

. , , o,,,, ,.. . 69........<br />

........................... 70<br />

........................... 72<br />

73<br />

73<br />

74<br />

.<br />

.<br />

.

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

Saved successfully!

Ooh no, something went wrong!