Related Topics:| prog Command |
The debug command lists or changes the program being debugged.
| debug | Print the name and arguments of the program being debugged. |
| debug program | Begin debugging program with no process or core. |
| debug -c core program | Begin debugging program with core file core. |
| debug -p pid program | Begin debugging program with process ID core. |
| debug program core | Begin debugging program with core file core. program may be -. dbx will attempt to extract the name of the executable from the core file. For details, see Core File Debugging with dbx. |
| debug program pid | Begin debugging program with process ID pid. program may be -; dbx finds it using /proc |
| debug -f ... | Force loading of a core file, even if it doesn't match. |
| debug -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. |
| debug -clone ... | The -clone option causes another dbx process to begin execution, permitting debugging of more than one process at a time. Valid only if running under Sun WorkShopTM Debugging. |
| debug -clone | Starts another dbx process debugging nothing. Valid only if running under Sun WorkShop Debugging. |
| debug [options] -- program | Start debugging program, even if program begins with a dash. |
where:
Leaks checking and access checking are turned off when a program is loaded with the debug command. You can enable them with the check command.