Debugging Code Overview

Special debugging routines, macros, and global variables are available for both user-mode and kernel-mode drivers. By using these routines in your driver code, you can send messages to the debugger and set breakpoints to aid in debugging.

Conditional Compilation and the Build Environment

For more information on debugging, see the following topics in the documentation:

Breaking Into the Debugger

Sending Output to the Debugger

Reading and Filtering Debugging Messages

Determining if a Debugger is Attached