30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10 Using the CLI<br />

part IV - Using the CLI<br />

About the Tcl and the CLI ............................................................................................... 199<br />

About The CLI and <strong>TotalView</strong> ................................................................................... 200<br />

Using the CLI Interface ............................................................................................. 201<br />

Starting the CLI ...............................................................................................................201<br />

Startup Example ....................................................................................................... 202<br />

Starting Your Program .............................................................................................. 203<br />

About CLI Output ........................................................................................................... 205<br />

‘more’ Processing ..................................................................................................... 206<br />

Using Command Arguments ........................................................................................... 206<br />

Using Namespaces .......................................................................................................... 207<br />

About the CLI Prompt ..................................................................................................... 207<br />

Using Built-in and Group Aliases .................................................................................... 208<br />

How Parallelism Affects Behavior ................................................................................... 209<br />

Types of IDs .............................................................................................................. 209<br />

Controlling Program Execution ....................................................................................... 210<br />

Advancing Program Execution.................................................................................... 210<br />

Using Action Points .................................................................................................. 211<br />

11 Seeing the CLI at Work<br />

Setting the CLI EXECUTABLE_PATH Variable ................................................................. 214<br />

Initializing an Array Slice ................................................................................................. 215<br />

Printing an Array Slice ..................................................................................................... 215<br />

Writing an Array Variable to a File ................................................................................... 217<br />

Automatically Setting Breakpoints ................................................................................. 218<br />

12 Debugging Programs<br />

part V - Debugging<br />

Searching and Looking For Program Elements ............................................................... 223<br />

Searching for Text ....................................................................................................... 224<br />

Looking for Functions and Variables ........................................................................ 224<br />

Finding the Source Code for Functions .................................................................... 225<br />

Resolving Ambiguous Names ............................................................................... 226<br />

Finding the Source Code for Files ............................................................................ 227<br />

Resetting the Stack Frame ........................................................................................ 227<br />

Editing Source Text ......................................................................................................... 227<br />

Manipulating Processes and Threads ............................................................................. 228<br />

Using the Toolbar to Select a Target .......................................................................... 228<br />

Stopping Processes and Threads ............................................................................. 229<br />

Using the Processes/Ranks Tab ................................................................................ 229<br />

Using the Threads Tab .............................................................................................. 230<br />

Updating Process Information .................................................................................. 231<br />

Holding and Releasing Processes and Threads ........................................................ 231<br />

Using Barrier Points .................................................................................................. 233<br />

Holding Problems ..................................................................................................... 234<br />

Examining Groups .................................................................................................... 235<br />

Placing Processes in Groups ..................................................................................... 236<br />

x Contents

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

Saved successfully!

Ooh no, something went wrong!