Debugging is an essential part of the development process. Programs under development always have bugs, especially in the early stages. Debuggers can also function as a learning tool, to examine drivers in operation and understand in detail how they work. This chapter is an introduction to debugging WDF drivers.
This chapter introduces the tools used to debug drivers, especially the most commonly used debugger-WinDbg. The chapter describes how to prepare systems for debugging UMDF and KMDF drivers and provides detailed walkthroughs of simple debugging sessions with a UMDF and a KMDF driver.
For this chapter, you need … | From … |
---|---|
| |
Tools and files | |
Debugging Tools for Windows | http://go.microsoft.com/fwlink/?LinkId=80065 |
Samples | |
Fx2_Driver | %wdk%\src\umdf\usb\fx_2driver |
Osrusbfx2 | %wdk%\src\kmdf\osrusbfx2 |
Documentation | |
Debugging Tools for Windows help file | Provided with Debugging Tools package |