|
|
| dbx command | debug command | Description | Notes |
|---|---|---|---|
| cc |
set %db_lang="C" or
set %db_lang="C++" | Toggle between C++ and C output modes. | |
|
help [command]
help [string] | help [topic] | Obtain a list of help topics or help on a topic. | |
| quit | quit | Exit the debugger. | Debug's quit kills all created processes or releases them if they had been grabbed. |
|
sh [command_line]
! command_line |
! command_line
!! | Pass the command line to the shell for execution. | Debug's !! command executes the last shell command. |
| source filename | script [-q] filename | Read debugger commands from a file. | |
| kill | kill [-p proc_list] | Kill the current or specified process. | Debug's kill command can also be used to send signals to a process. |
| detach | release [-s] [-p proc_list] | Release the current process. | Debug's release command allows the process to be released in a stopped state with the -s option. |
| exec filename | (automatic) | If the process being debugged does an exec system call, this tells the debugger that a new symbol table should be read in. | Debug is capable of debugging several processes and threads at the same time, so this functionality is executed automatically. |
| version | version | Print the version information for the debugger. |