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 />

1<br />

Getting Started with<br />

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

<strong>TotalView</strong> is a powerful, sophisticated, and programmable tool that<br />

lets you debug, analyze, and tune the performance of complex<br />

serial, multi-process, and multi-threaded programs.<br />

If you want to jump in and get started quickly, go to our web site at<br />

http://www.totalviewtech.com/Documentation and select the “Getting<br />

Started” item.<br />

This chapter contains the following sections:<br />

� “Getting Started” on page 3<br />

� “Debugging Multi-process and Multi-threaded Programs” on page 10<br />

� “Using Groups and Barriers” on page 12<br />

� “Memory Debugging” on page 13<br />

� “Introducing the CLI” on page 14<br />

� “What’s Next” on page 14<br />

Getting Started<br />

The first steps you perform when debugging programs with <strong>TotalView</strong> are<br />

similar to those you perform using other debuggers:<br />

� You use the –g option when you compile your program.<br />

� You start your program under <strong>TotalView</strong> control.<br />

� You set a breakpoint.<br />

� You examine data.<br />

The way you do these things is similar to the way you do things in other<br />

debuggers. Where <strong>TotalView</strong> differs from what you’re used to is in its raw<br />

power, the breadth of commands available, and its native ability to handle<br />

multi-process, multi-threaded programs.<br />

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

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

Saved successfully!

Ooh no, something went wrong!