The following tables list some useful debugger commands of WinDbg. For a complete list of available commands, see Mario Hewardt and Daniel Pravat’s Advanced Windows Debugging (Addison-Wesley Professional, 2007) or the documentation that comes with WinDbg.
Command | Description |
---|---|
| Click Open Executable on the File menu to start a new user-mode process and debug it. |
| Click Attach to a Process on the File menu to debug a user-mode application that is currently running. |
| Ends the debugging session. |
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 or source line and, optionally, displays the resulting values of all registers and flags. Will step into subfunctions. |
| Executes a single instruction or source line and, optionally, displays the resulting values of all registers and flags. Will not enter subfunctions. |
Command | Description |
---|---|
| Displays the contents of |
| Displays the contents of |
| Displays information about a local variable, global variable, or data type, including structures and unions. |
| Returns pointer-sized data from the specified |
Command | Description |
---|---|
| This debugger extension displays a lot of useful information about an exception or bug check. |
| This debugger extension displays detailed information about a |
| This command changes the default path of the debugger for symbol search. |
| This command deletes all symbol information and reloads these symbols as needed. |