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.

Debugging Over a Serial Line<br />

Figure 79: Multiple tvdsvr<br />

Processes<br />

If you have more than one server process, the following figure shows what<br />

your environment might look like:<br />

Debugging Over a Serial Line<br />

<strong>TotalView</strong> lets you debug programs over a serial line as well as TCP/IP sockets.<br />

However, if a network connection exists, you probably want to use it to<br />

improve performance.<br />

You need two connections to the target computer: one for the console and<br />

the other for <strong>TotalView</strong>. Do not try to use one serial line because <strong>TotalView</strong><br />

cannot share a serial line with the console.<br />

The following figure illustrates a <strong>TotalView</strong> session using a serial line. In this<br />

example, <strong>TotalView</strong> is communicating over a dedicated serial line with a<br />

tvdsvr running on the target host. A VT100 terminal is connected to the target<br />

host’s console line, which lets you type commands on the target host.<br />

(See Figure 80.)<br />

This section contains the following topics:<br />

� “Starting the <strong>TotalView</strong> Debugger Server” on page 95<br />

� “Using the New Program Window” on page 95<br />

94 Chapter 5: Setting Up Remote Debugging Sessions

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

Saved successfully!

Ooh no, something went wrong!