How to Prepare for UMDF Debugging

UMDF drivers are user-mode DLLs that are hosted in an instance of WUDFHost. The debugging techniques are thus similar to those used with services. Setting up debugging is much simpler than for kernel-mode drivers. In particular, both WinDbg and the target driver can be on the same computer. This section discusses how to prepare the system and start a debugging session.

Note

Before you can start debugging, you must install the driver and the debugging tools on a computer running the target version of Windows.

Chapter 20 provides more information on how to install UMDF drivers.

How to Enable Debugging of Driver Load and Startup Code

You start the debugging process by attaching WinDbg to the instance of WUDFHost that ...

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.