Loading Executables
TotalView can debug programs on local and remote hosts and programs accessed over serial lines. The File > New Program command located on either the Root or Process Windows loads local and remote programs, core files, and processes that are already running. Here's the File > New Program dialog box.
File > New Program Dialog Box 
|
This dialog box lets you:
- Load a new executable
Type its path name into the Executable field
- Load a core file
Type its name into the Core File field and type the associated executable's path name into the Executable field.
- Load a process ID
Type its process ID into the Process ID field and type the associated executable's path name into the Executable field.
If you want to debug a program on a remote machine, enter the host name or IP address of the remote machine in the Remote Host field. (If the program is local, make sure that the Local button is selected.)
You can use a full or relative path name in the Executable and Core File fields. If you enter a simple file name, TotalView searches for it in the list of directories specified with the File > Search Path command or named in your PATH environment variable.
If you enter an executable name and New Process is selected, TotalView always loads a new copy of your program. This means that if it is already loaded, you will get another copy. In contrast, if you are trying to reload an already existing program, TotalView simply pops the program's Process Window. That is, it makes the window visible.
Debugging over a serial line is discussed in Debugging Over a Serial Line.