Opening a Window

When WinDbg begins a debugging session, the Debugger Command window automatically opens. The Disassembly window also automatically opens, unless you deselect Automatically Open Disassembly on the Window menu.

Whenever WinDbg discovers a source file that corresponds to the current program counter, WinDbg opens a Source window for that file. For other ways to open Source windows, see Source Path.

You can use the following menu commands, toolbar buttons, and shortcut keys to switch to these windows. That is, if a window is not open, it opens. If a window is open but inactive, it becomes active. If a window is docked and there is a floating window in front of it, the docked window becomes active but the floating window stays in front of the docked window.

Window Menu command Button Shortcut keys

Debugger Command window

View | Command

Screen shot of the Debugger Command window button


Watch window

View | Watch

Screen shot of the Watch button


Locals window

View | Locals

Screen shot of the Locals button


Registers window

View | Registers

Screen shot of the Registers button


Memory window

View | Memory

Screen shot of the Memory button


Calls window

View | Call Stack

Screen shot of the Call Stack button


Disassembly window

View | Disassembly

Screen shot of the Disassembly button


Scratch Pad window

View | Scratch Pad

Screen shot of the Scratch Pad button


Processes and Threads window

View | Processes and Threads

Screen shot of the Processes and Threads button


Source window

Click File | Open Source File and then select a source file.

Screen shot of the Open Source File button


You can also activate a window by selecting it from the list of open windows at the bottom of the Window menu.