Debugger commands (.step_filter) that make my life easier

This is a pretty cool and somewhat obscure debugger command.  It allows you to tell the debugger what functions to skip if you are using the trace command (‘t’).  I think of the trace command as the ‘step into’ command though, but that is just me.  Let’s say we have the following simple application: #include…


What should you change in a sample before you ship it?

I was going to write about how to do this, but the awesome folks at WHDC got to it before I did.  I did get to review it before it was published, so I did have some influence in what is in the tip ;). So on this one my job is easy, just go…


MSDN link on how to set up a user or kernel debugger

This has got to be one of the top FAQs out there: how do I set up a kernel debugger?  I just stumbled across a link on MSDN which gives instructions not only on how to set up a kernel debugger on all transports (serial, 1394, usb2), but also how to set up a user…


WDK v7.1 is now available

A refresh of the WDK is now available on connect. You can download the v7.1 WDK following the directions on WHDC.  The change list for the WDK can be found here, I copying it here as well: WDK Version 7.1.0 Changes and Issues This section contains information about the changes to the WDK for the…


Translation and Windows

  Arbitration and Translation, Part 2   Building on yesterday’s post, I’m going to try to explain how Windows copes with machines with strange resource translations.  I’ll use two examples in this post, one related to I/O port resources and one related to interrupts.   Just for convenience, I’ll duplicate the diagram from my last…