TotalView User Guide : Part II: Setting Up : Setting Up a Debugging Session : Loading Programs : Attaching to Processes

Attaching to Processes
If a program you’re testing is hung or looping (or misbehaving in some other way), you can attach to it while it is running. TotalView lets you attach to single and multi-process programs, and these programs can be running remotely.
To attach to a process, select the Attach to an existing process item within the Program Page in the File > New Program command. 
*
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.
While you must link programs that use fork() and execve() with the TotalView dbfork library so that TotalView can automatically attach to them when your program creates them, programs that you attach to need not be linked with this library.
*

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com