This appendix contains information about debuggers and the debugging process.
The following tables list some useful commands of the Solaris Modular Debugger (mdb). For a complete list of available commands, see the Solaris Modular Debugger Guide.[91]
Command | Description |
---|---|
| Starts mdb with |
| Runs mdb on a kernel crash dump ( |
| Exits the debugger. |
Command | Description |
---|---|
| Runs the program with the given |
Command | Description |
---|---|
| Sets a new breakpoint at the |
| Lists information about existing breakpoints. |
| Removes previously set breakpoints specified by their |
Command | Description |
---|---|
| Executes a single instruction. Will step into subfunctions. |
| Executes a single instruction. Will not enter subfunctions. |
| Resumes execution. |
Command | Description |
---|---|
| Prints the specified number of objects ( |
Command | Description |
---|---|
| Lists registers and their contents. |
| Prints a backtrace of all stack frames. |
| Dumps a range of memory around |