O'Reilly logo

A Bug Hunter's Diary by Tobias Klein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

B.2 The Windows Debugger (WinDbg)

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.

Starting and Stopping a Debugging Session

Command

Description

FileOpen Executable...

Click Open Executable on the File menu to start a new user-mode process and debug it.

FileAttach to a Process...

Click Attach to a Process on the File menu to debug a user-mode application that is currently running.

q

Ends the debugging session.

General Commands

Command

Description

g

Begins or resumes execution on the target.

Breakpoints

Command

Description

bp address

Sets a new breakpoint ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required