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.

This topic includes:

Conditional Compilation and the Build Environment

Breaking Into the Debugger

Sending Output to the Debugger

Reading and Filtering Debugging Messages

Determining if a Debugger is Attached

Send comments about this topic to Microsoft