WinDbg command system
WinDbug three kinds of command
WinDbug is a powerful debugger, most of the many features are achieved through the command, enter the command in the command window, divided into the following three categories:
-
Standard Commands
Standard command provides the basic functions of the debugger, mostly a letter, a total of more than 130 command
Types of On behalf of the command Program control class g series t series p series Memory View modify class Series s e d series, etc. Breakpoint set class b series Observation Stack k series Disassembly command u series Other commands xqls etc. In the Command input box? You can see some commands Introduction
Precautions:
-
Only in the program can enter the command in the program halted
-
Directly enter can repeat the last command
-
Press the up and down arrow keys to browse command previously entered
-
When the command prompt box * BUSY * when the command can not be executed immediately
-
-
Metacommands
Yuan command as a supplement to standard commands is also built in a WinDbg, which is characterized by a beginning, usually a word. "":
例:.symopt .sympathy .asm
.restart .reboot
Enter .help can view the meta-command, and they help explain
-
Extended command
-
Extended command is often used to achieve specific debugging commands. They realize WinDbg and the DLL is not built, when used generally! At the beginning, usually a word.
-
Extended command exists is called extension DLL using .chain command lists all the expansion modules, most of the modules have substantially the help command to display the information of the command module, and contained.
-
Common basic commands
command | Features |
---|---|
lm | View the current module loading conditions and symbols |
.reload | Refresh symbol path, reload symbol |
ld | Loading a module of a symbol |
.restart | Restart debugging |
.detach | Separation debugging |
q | Exit debugging |