Attaching to Processes
If a program you are testing is hung or looping (or misbehaving in some other way), you can attach to it while it is running. You can attach to single processes, multiprocess programs, and remote processes.
To attach to a process, either use the Unattached Page within the Root Window or use the File > New Program commands located on the Root and Process Windows. (Using the Unattached Page is easier if the process is listed. However, if it is not there, you must use the File > New Program command.)
You may also have to use the New Program dialog box to attach to a process when TotalView can determine the executable file name using the process listing in the Unattached Page.
If the process or any of its children calls the execve() routine, you may need to attach to it by creating a new Process Window. This is because TotalView uses the ps command on most platforms to obtain the name of the process executable. Since ps can give incorrect names, TotalView may not find it.
Note: When you exit from TotalView, TotalView kills all programs and processes that it started. However, programs and processes that were executing before you brought them under TotalView's control continue to execute.