Privacy & Legal Notice



Table of Contents

  1. Part 1: The Very Basics
    1. Overview
    2. Supported Platforms and Languages
    3. Starting TotalView
      1. Environment Setup
      2. Compiling Your Program
      3. Starting TotalView
    4. TotalView's Basic Look and Feel
      1. Primary Windows
      2. Dialog Boxes
      3. Mouse Usage
      4. Menus
      5. Accelerator Keys
      6. Scrolling and Resizing
      7. Process and Thread State Codes
      8. X Resources
    5. TotalView's Basic Functions
      1. Viewing Source and Assembler Code
      2. Setting a Breakpoint
      3. Controlling Execution
      4. Diving Into Objects
      5. Viewing and Modifying Data
      6. Text Editing and Searching
      7. Saving Window Contents
      8. Getting Help
      9. Exiting TotalView

  2. Part 2: Additional TotalView Functions
    1. Loading Executables
    2. Attaching / Detaching Processes
    3. Viewing a Core File
    4. Expression Evaluation and Code Fragments
    5. More on Action Points
    6. Setting Executable Command Arguments
    7. Setting Source Code Search Paths
    8. Setting stdin, stdout, and stderr
    9. Signal Handling
    10. Setting Preferences
    11. Visualizing Array Data
    12. Command Line Interpreter (CLI)

  3. Part 3: Debugging Parallel Codes
    1. Process/Thread Groups
    2. Debugging Threaded Codes
      1. Overview
      2. Compiling Threaded Codes
      3. Finding Thread Information
      4. Selecting a Thread
      5. Execution Control for Threaded Programs
      6. Viewing and Modifying Thread Data
    3. Debugging MPI Codes
      1. Overview
      2. Compiling MPI Codes
      3. Starting an MPI Debug Session
      4. Selecting an MPI Process
      5. Controlling MPI Process Execution
      6. Viewing and Modifying Multi-process Data
      7. Displaying Message Queue State
    4. Debugging OpenMP Codes
      1. Overview
      2. Compiling OpenMP Codes
      3. Debugging OpenMP Programs
      4. PRIVATE, SHARED and THREADPRIVATE Variables
    5. Debugging Hybrid Codes
      1. Overview
      2. Compiling Hybrid Codes
      3. Debugging Hybrid Programs
    6. Batch System Debugging
    7. Miscellaneous
      1. Topics Not Covered
      2. References and More Information
      3. Appendix A: TotalView Intrinsic Variables and Built-In Statements
  4. Workshop Home




TotalView Part 1: The Very Basics





Overview Up to Table of Contents Down to Supported Platforms


What is TotalView?

Key Features of TotalView:
Note Most features are supported on all platforms (next section). However, due to differences in operating systems, not all features are supported identically on all platforms. For example, certain aspects of threads support, watchpoints, and message queues support may vary across platforms.

How to Obtain TotalView:

Etnus Home Page


Supported Platforms and Languages Up to Overview Down to Starting TotalView


Etnus Supported Platforms:

Supported Languages:

Non-Etnus Platforms:

Detailed Platform Information:



Starting TotalView Up to Supported Platforms Down to TotalViews Basic Look and Feel

Environment Setup


Before you can start using TotalView, you will most likely need to specify several environment related parameters. Some of these are site dependent and may already be setup for you.

Path Variable:

License File:

DISPLAY Variable and xhost Permissions:

UNIX Trusted Hosts:


Compiling Your Program


-g:

Beyond -g:


Starting TotalView


A Variety of Ways:

Some Examples:

More Information:



TotalView's Basic Look and Feel Up to Starting TotalView Down to TotalViews Basic Functions

Primary Windows


Root Window:

Process Window:

Variable Window:


Dialog Boxes



Mouse Usage



Menus


Two Types of Menus:

Root Window Menus:

Process Window Menus:

Variable Window Menus:

Pop-up Menu Examples:


Accelerator Keys


Short Cut:

Examples:


Scrolling and Resizing


Conventional Scrolling Behavior:

Resizing Windows and Panes:


Process and Thread State Codes



X Resources


Note Due to the redesign of TotalView's GUI in version 5, X resources that were used in previous versions of TotalView may or may not be valid. Furthermore, some X resources have been "deprecated" - that is, they are still supported, but may not be in future releases.


TotalView's Basic Functions Up to TotalViews Basic Look and Feel Down to Exercise 1

Viewing Source and Assembler Code


Source, Assembler or Interleaved:

Displaying Function / File Source Code:


Setting a Breakpoint


What Is a Breakpoint?

Several Ways to Set / Unset a Breakpoint:

Viewing Breakpoints:

Breakpoint Options:


Controlling Execution


Execution Control Commands:

Group, Process, Thread Command Scopes:


Diving Into Objects


Example:

Nested Dives and Undiving:


Viewing and Modifying Data


Viewing Data:

Examples:

Modifying Variable Data:


Arrays:

Changing Variable Display Format:

Changing Variable Data Types:


Text Editing and Searching


Text Editing:

Text Searching:


Saving Window Contents



Getting Help



Exiting TotalView





This concludes TotalView Part 1

What would you like to do?