More Suggestions for Experimenting with WinDbg

The walkthrough examples in this chapter show only the basics of what you can do with WinDbg. Some further things to try:

  • Step through more of the code.

    Examine the values of the variables and see what the various UMDF or KMDF routines do.

  • Set a breakpoint in the driver’s read, write, or device I/O control callbacks and use the test application to read or write a value or to send a device I/O control request.

    These callbacks manipulate WDF memory objects that contain the related data buffers.

  • Run the other WDF debugger extensions to see what kind of information they return. In particular, run !driverinfo, which displays useful information about the driver.

    Be sure to run any command strings that are included ...

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.