A new appreciation for learning how to use WinDBG

I’ve been working on something lately that requires me to debug a Cygwin built application. After spending the last 8 or so years using WinDBG as a debugger, I’ve taken for granted just how “obvious” the commands to do various things are. After struggling to even figure out how to get debug information compiled into the binary (which came after figuring out that a separate file with debug information wasn’t created for all builds!), I struggled to perform common tasks such as single stepping and displaying local variables. I often take for granted that the way to do these things in WinDBG is obvious since I’ve long forgotten what it was like to not know every command.

Definitely a good learning experience, sometimes it’s important to step back and remember what it was like to be a noob.

4 Responses to “A new appreciation for learning how to use WinDBG”

  1. Marc Sherman says:

    Did you have to use gdb or some other debugger to debug the Cygwin app?

  2. snoone says:

    gdb, which was an adventure. I used it a few times 10 years ago or so and that means I know enough to be dangerous. Is there another option? I’d love to try an alternative.

  3. Marc Sherman says:

    No other option that I know of. Good luck :-)

  4. snoone says:

    And here I thought you were going to be my savior…Bummer!

Leave a Reply