How to Prepare for KMDF Debugging
The process of preparing to debug a KMDF driver is more complicated than that for a UMDF driver. To start, kernel-mode debugging typically requires three hardware components:
A host computer running WinDbg.
This is typically the computer that is used to develop and build the driver.
A test computer running an appropriate build of Windows with the driver installed and kernel debugging enabled.
Debugging is typically done with a checked build of the driver because checked builds are much easier to debug. Test computers also often run a checked build of Windows.
A way for the two computers to communicate.
Historically, this was handled by connecting serial ports on the host and test computers with a null-modem cable. An ...
Get Developing Drivers with the Windows® Driver Foundation now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.