30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

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.

Using the CLI<br />

Using the CLI<br />

To use the Command Line Interface (CLI), you need to be familiar with and<br />

have experience debugging programs with the <strong>TotalView</strong> GUI. CLI commands<br />

are embedded within a Tcl interpreter, so you get better results if<br />

you are also familiar with Tcl. If you don’t know Tcl, you can still use the<br />

CLI, but you lose the ability to program actions that Tcl provides; for example,<br />

CLI commands operate on a set of processes and threads. By using Tcl<br />

commands, you can save this set and apply this saved set to other commands.<br />

The following books are excellent sources of Tcl information:<br />

� Ousterhout, John K. Tcl and the Tk Toolkit. Reading, Mass.: Addison Wesley,<br />

1997.<br />

� Welch, Brent B. Practical Programming in Tcl & Tk. Upper Saddle River, N.J.:<br />

Prentice Hall PTR, 1999.<br />

There is also a rich set of resources available on the Web. A very good starting<br />

point is http://www.tcltk.tk.<br />

The fastest way to gain an appreciation of the actions performed by CLI<br />

commands is to scan Chapter 1 of the <strong>TotalView</strong> Reference <strong>Guide</strong>, which contains<br />

an overview of CLI commands.<br />

Audience<br />

Many of you are very sophisticated programmers having a tremendous<br />

knowledge of programming and its methodologies, and almost all of you<br />

have used other debuggers and have developed your own techniques for<br />

debugging the programs that you write.<br />

We know you are an expert in your area, whether it be threading, high-performance<br />

computing, or client/server interactions, and the like. So, rather<br />

than telling you about what you’re doing, this book tells you about<br />

<strong>TotalView</strong>.<br />

<strong>TotalView</strong> is a rather easy-to-use product. Nonetheless, we can’t tell you<br />

how to use <strong>TotalView</strong> to solve your problems because your programs are<br />

unique and complex, and we can’t anticipate what you want to do. So,<br />

what you’ll find in this book is a discussion of the kinds of operations you<br />

can perform. This book, however, is not just a description of dialog boxes<br />

xxvi About this Book

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

Saved successfully!

Ooh no, something went wrong!