Reference Guide New Features Installation, Transformations, Release Notes

Introducing the CLI

TotalView is programmable. The CLI, the TotalView Command Line Interface, contains an extensive set of commands that you can type into a command window. These commands are embedded in a version of the Tcl command interpreter. When you open a CLI window, you can enter any Tcl statements that you could enter in any version of Tcl. You can also enter commands that have been added that allow you to debug your program. Because these debugging commands are native to TotalView's Tcl, you can also use Tcl to manipulate the program being debugged. This means that you can use the CLI to create your own commands or perform any kind of repetitive operation. For example, the dbreak 1038 command sets a breakpoint at line 1038. Here's an example that uses a debugging command and a Tcl command to set breakpoints at three lines:

foreach i {1038 1043 1045} {
    dbreak $i  
}

You'll find information about the CLI scattered throughout this book. Here's where you'll find CLI command information: CLI Commands.

 
 
 
Select a section: 
 
documentation@etnus.com
Copyright © 2003, Etnus, Inc. All rights reserved.
Version 6.2