Reference Guide New Features Installation, Transformations, Release Notes

Seeing the CLI at Work

The CLI is a command-line debugger that is completely integrated with TotalView. You can use it and never use the TotalView GUI or you can use it and the GUI simultaneously. Because the CLI is embedded within a Tcl interpreter, you can also create debugging functions that exactly meet your needs. When you do this, you can use these functions in the same way that you use TotalView's built-in CLI commands.

This chapter contains a few macros that show how the CLI programmatically interacts with your program and with TotalView. Reading a few examples without bothering too much with details will give you an appreciation for what the CLI can do and how you can use it. As you will see, you really need to have a basic knowledge of Tcl before you can make full use of all CLI features.

The chapter presents a few macros. In each macro, all Tcl commands that are unique to the CLI are displayed in bold. The macros in this chapter are for:

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