|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library|
When starting dbx:
$ dbx program_name process_id
From the dbx command line:
You can substitute program_name with the name - (minus sign), so that dbx automatically finds the executable associated with the given process ID (process_id). After using a -, a subsequent run command or rerun command does not work because dbx does not know the full path name of the executable.
You can also attach to a running child process in the Oracle Solaris Studio IDE (see “Attaching the Debugger to a Running Process” in the IDE online help) or dbxtool (see “Attaching dbxtool to a Running Process” in the dbxtool online help).