Chapter 22: How to Debug WDF Drivers


Overview

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




Developing Drivers with the Microsoft Windows Driver Foundation
Developing Drivers with the Windows Driver Foundation (Pro Developer)
ISBN: 0735623740
EAN: 2147483647
Year: 2007
Pages: 224

Similar book on Amazon
Windows Internals, Part 1: Covering Windows Server 2008 R2 and Windows 7
Windows Internals, Part 1: Covering Windows Server 2008 R2 and Windows 7
Windowsu00ae Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition (Pro Developer)
Windowsu00ae Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition (Pro Developer)
Advanced Windows Debugging
Advanced Windows Debugging
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net