Appendix A. WinDbg User-Mode Debugging Quick Start

This appendix provides a basic overview of the most common user-mode debugging tasks and how to accomplish them using the WinDbg debugger. Note that this isn’t meant to be an exhaustive list of debugger commands, but rather a task-centric summary you can use as a reference for jump-starting your user-mode debugging investigations.

Starting a User-Mode Debugging Session

To start a user-mode process directly under the WinDbg debugger, you can provide its path as a parameter on the command line, as shown in the following listing, which starts a new instance of the notepad.exe text editor under windbg.exe.

windbg.exe notepad.exe ... 0:000> $ Display the command line of the windbg.exe debugging session ...

Get Inside Windows® Debugging now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.