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.

c<br />

h<br />

a<br />

p<br />

t<br />

e<br />

r<br />

Debugging<br />

Programs<br />

12<br />

This chapter explains how to perform basic debugging tasks with<br />

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

This chapter contains the following sections:<br />

� “Searching and Looking For Program Elements” on page 223<br />

� “Editing Source Text” on page 227<br />

� “Manipulating Processes and Threads” on page 228<br />

� “Using Stepping Commands” on page 239<br />

� “Executing to a Selected Line” on page 241<br />

� “Executing Out of a Function” on page 241<br />

� “Continuing with a Specific Signal” on page 242<br />

� “Killing (Deleting) Programs” on page 243<br />

� “Restarting Programs” on page 243<br />

� “Checkpointing” on page 244<br />

� “Fine-Tuning Shared Library Use” on page 245<br />

� “Setting the Program Counter” on page 248<br />

� “Interpreting the Status and Control Registers” on page 250<br />

Searching and Looking For Program<br />

Elements<br />

<strong>TotalView</strong> provides several ways for you to navigate and find information in<br />

your source file.<br />

Topics in this section are:<br />

� “Searching for Text” on page 224<br />

� “Looking for Functions and Variables” on page 224<br />

� “Finding the Source Code for Functions” on page 225<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 223

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

Saved successfully!

Ooh no, something went wrong!