|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library|
The attach command attaches dbx to a running process, stopping execution and putting the program under debugging control. It has identical syntax and identical functionality in native mode and Java mode.
Begin debugging the program with process ID process_id. dbx finds the program using /proc.
Begin debugging program_name with process ID process_id.
Begin debugging program_name with process ID process_id. program_name can be - dbx finds it using /proc.
The -r option causes dbx to retain all watch commands, display commands, when commands, andstop commands. With no -r option, an implicit delete all command andundisplay 0 command are performed.
process_id is the process ID of a running process.
program_name is the path name of the running program.