The ddetach command detaches the CLI from all processes in the current focus. This undoes the effects of attaching the CLI to a running process; that is, the CLI releases all control over the process, eliminates all debugger state information related to it (including action points), and allows the process to continue executing in the normal run-time environment.
You can detach any process controlled by the CLI; the process being detached need not have been loaded with a dattachcommand.
After this command executes, you are no longer able to access program variables, source location, action point settings, or other information related to the detached process.
If a single thread serves as the set, the CLI detaches the process that contains the thread. If you do not indicate a focus, the default focus is the process of interest (POI).
Command alias
Alias
Definition
Description
det
ddetach
Detaches from processes
Examples
ddetach
Detaches the process or processes that are in the current focus.
dfocus {p4 p5 p6} det
Detaches processes 4, 5, and 6.
dfocus g2 det
Detaches all processes in the control group associated with process 2.
Related Topics
Detaching from Processes in the TotalView for HPC User Guide