Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

Debugging a Driver

Typically, debugging a kernel-mode driver requires two computers. The debugger runs on the host computer, and the code being debugged runs on the target computer. The target computer is also called the test computer. You can debug a user-mode driver on the host computer or on a separate target computer. Before you can debug a driver running on a target computer, you must configure the target computer for debugging.

For information about configuring a target computer and setting up a debug cable, see Setting Up Kernel-Mode Debugging in Visual Studio and Configuring a Computer for Testing and Debugging.

For information about using Microsoft Visual Studio to debug a driver, see Debugging Using Visual Studio.

For an example of using Visual Studio to debug a kernel-mode driver, see Writing a KMDF driver based on a template.

For an introduction to Debugging Tools for Windows, see Windows Debugging.

Video Demonstration

This video demonstrates how to use the WinDbg debugging engine directly in Visual Studio instead of running WinDbg separately.

 

 

Send comments about this topic to Microsoft

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.