Debugging Tools for Windows |
You can use the following keyboard shortcuts to switch between windows. For more information about how to move between the windows, see Positioning the Windows.
Keys | Effect |
---|---|
CTRL+TAB | Switches between debugging information windows. By using this key repeatedly, you can scan through all of the windows, regardless of whether they are floating, docked by themselves, or part of a tabbed collection of docked windows. |
ALT+TAB | Switches between the windows that are currently on your desktop. You can also use this keyboard shortcut to switch between the WinDbg frame and any additional docks you have created. |
You can use the following keyboard shortcuts instead of the mouse to select menu commands. For more information about each command, see the individual command topics.
Keys | Menu equivalent |
---|---|
F1 | Help | Contents |
F3 | Edit | Find Next |
SHIFT+F3 | Same as Edit | Find Next, except the search is performed in the reverse direction. |
ALT+F4 | File | Exit |
CTRL+F4 | File | Close Current Window |
F5 | Debug | Go |
SHIFT+F5 | Debug | Stop Debugging |
CTRL+SHIFT+F5 | Debug | Restart |
F6 | File | Attach to a Process |
F7 | Debug | Run to Cursor |
F8 | Debug | Step Into |
F9 | If the active window is a Source or Disassembly window: Inserts a breakpoint at the current line. (If there already is a breakpoint set at the current line, this button removes the breakpoint.) Otherwise: Opens the Breakpoints dialog box like Edit | Breakpoints. |
ALT+F9 | Edit | Breakpoints |
F10 | Debug | Step Over |
CTRL+F10 | Debug | Run to Cursor |
F11 | Debug | Step Into |
SHIFT+F11 | Debug | Step Out |
ALT+1 | Opens the Debugger Command window (same as View | Command). |
ALT+SHIFT+1 | Closes the Command window. |
ALT+2 | Opens the Watch window (same as View | Watch). |
ALT+SHIFT+2 | Closes the Watch window |
ALT+3 | Opens the Locals window (same as View | Locals) |
ALT+SHIFT+3 | Closes the Locals window. |
ALT+4 | Opens the Registers window (same as View | Registers). |
ALT+SHIFT+4 | Closes the Registers window. |
ALT+5 | Opens a new Memory window (same as View | Memory). |
ALT+SHIFT+5 | Closes the Memory window. |
ALT+6 | Opens the Calls window (same as View | Call Stack). |
ALT+SHIFT+6 | Closes the Calls window |
ALT+7 | Opens the Disassembly window (same as View | Disassembly). |
ALT+SHIFT+7 | Closes the Disassembly window. |
ALT+8 | Opens the Scratch Pad (same as View | Scratch Pad). |
ALT+SHIFT+8 | Closes the Scratch Pad. |
ALT+9 | Opens the Processes and Threads window (same as View | Processes and Threads). |
ALT+SHIFT+9 | Closes the Processes and Threads window. |
CTRL+A | Edit | Select All |
CTRL+C | Edit | Copy |
CTRL+D | File | Open Crash Dump |
CTRL+E | File | Open Executable |
CTRL+F | Edit | Find |
CTRL+G | Edit | Go to Address |
CTRL+I | File | Image File Path |
CTRL+SHIFT+I | Edit | Set Current Instruction |
CTRL+K | File | Kernel Debug |
CTRL+L | Edit | Go to Line |
CTRL+O | File | Open Source File |
CTRL+P | File | Source File Path |
CTRL+R | File | Connect to Remote Session |
CTRL+S | File | Symbol File Path |
CTRL+V | Edit | Paste |
CTRL+SHIFT+V | Edit | Evaluate Selection |
CTRL+W | File | Open Workspace |
CTRL+X | Edit | Cut |
CTRL+SHIFT+Y | Edit | Display Selected Type |
ALT+* (number keypad) |
Edit | Go to Current Instruction |
SHIFT+DELETE | Edit | Cut |
SHIFT+INSERT | Edit | Paste |
CTRL+INSERT | Edit | Copy |
CTRL+BREAK | Debug | Break |
The following shortcut keys are equivalent to KD / CDB control keys.
Keys | Menu equivalent | KD / CDB control key |
---|---|---|
CTRL+ALT+A | Debug | Kernel Connection | Cycle Baud Rate | CTRL+A |
CTRL+ALT+D | CTRL+D (Toggle Debug Info) | |
CTRL+ALT+K | Debug | Kernel Connection | Cycle Initial Break | CTRL+K |
CTRL+ALT+R | Debug | Kernel Connection | Resynchronize | CTRL+R |
CTRL+ALT+V | View | Verbose Output | CTRL+V |
CTRL+ALT+W | View | Show Version | CTRL+W |
You can use the following keyboard shortcuts to move the caret (^) in most of the debugging information windows.
Caret movement | Key |
---|---|
One character left | LEFT |
One character right | RIGHT |
Word left | CTRL+LEFT |
Word right | CTRL+RIGHT |
Line up | UP |
Line down | DOWN |
Page up | PAGE UP |
Page down | PAGE DOWN |
Beginning of the current line | HOME |
End of the line | END |
Beginning of the file | CTRL+HOME |
End of the file | CTRL+END |
Note In the Debugger Command window, the UP and DOWN keys browse through the command history. You can use the INSERT key to turn insert mode on and off.
Use the following keyboard shortcuts to select text.
Select | Keys |
---|---|
Character to the left | SHIFT+LEFT |
Character to the right | SHIFT+RIGHT |
Word to the left | SHIFT+CTRL+LEFT |
Word to the right | SHIFT+CTRL+RIGHT |
Current line | SHIFT+DOWN if the caret is in column 1 |
Line above | SHIFT+UP if the caret is in column 1 |
To the end of the line | SHIFT+END |
To the beginning of the line | SHIFT+HOME |
Screen up | SHIFT+PAGE UP |
Screen down | SHIFT+PAGE DOWN |
To beginning of file | SHIFT+CTRL+HOME |
To end of file | SHIFT+CTRL+END |
Use the following keyboard shortcuts to delete text.
Delete | Key |
---|---|
Character to the right of caret | DELETE |
Character to the left of caret | BACKSPACE |
Selected text | DELETE |