Prism 6.0 Reference Manual

attach

Attaches to a running process or job.

SYNTAX

attach pid | jid

DESCRIPTION

Use the attach command to attach to the running process with process ID pid, or to the running job with job ID jid. To work on a process or job within Prism, you must have previously loaded its executable program (the program's object file).

attach takes control of the process or task and interrupts it. Once attached, you can issue Prism commands.

You can attach through the command line. For example, attaching to program foo, you would specify the program name and the process ID (pid):

% prism foo pid

Use the detach command to detach a process running within Prism.