Attaching to a Running Process |
The attach command attaches dbx to a running process, stopping execution and putting the program under debugging control.
attach pid | Begin debugging the program with process ID pid. dbx finds the program using /proc. |
attach -p pid program | Begin debugging program with process ID pid. |
attach program pid | Begin debugging program with process ID pid. program may be -; dbx finds it using /proc. |
attach -r ... | The -r option causes dbx to retain all display, trace, when, and stop commands. With no -r option, an implicit delete all and undisplay 0 are performed. |
where: