Attach

Use

Attaches CodeWatch to a "pid" and executes a LOAD command.

Command Syntax

ATTACH pid filename

where:

pid
A decimal process identification number.
filename
Name of a file to be loaded

Description

The ATTACH command attaches CodeWatch to the pid (a decimal number) and performs a LOAD command. Attached programs that call exit () or that die are not automatically reloaded. Use the RELOAD command for this.

Programs may also be attached at the time of invocation, for example, cwcmd -pid 3268 myprog.out

Example:

CodeWatch> ATTACH 3768 myprog.out