Defrag Tools #101 - Writing a Debugger Extension Part 5

Sign in to queue

Description

In this episode of Defrag Tools, Andrew Richards and Chad Beeder continue a series on writing a Debugger Extension for the Debugging Tools for Windows. The series is based on a 3 part MSDN Magazine series that Andrew wrote back in early 2011.

Resources:
Writing a Debugging Tools for Windows Extension - Part 1 - March 2011
Writing a Debugging Tools for Windows Extension - Part 2 - May 2011
Writing a Debugging Tools for Windows Extension - Part 3 - June 2011

Timeline:
[00:00] - House Cleaning - File per command and a Utility module
[02:35] - Registers vs. Pseudo Registers
[06:35] - IDebugRegisters::GetIndexByName
[07:25] - IDebugRegisters::GetValue
[08:00] - DEBUG_VALUE
[08:37] - MMX / SSE / SSE2
[11:39] - IDebugRegisters2::GetPseudoIndexByName
[11:39] - IDebugRegisters2::GetPseudoValues
[11:39] - Register Mask - rM
[19:10] - Intel Developer Manuals
[19:54] - NT Debugging Blog - ARM
[20:15] - Email us your issues at defragtools@microsoft.com

Embed

Download

Download this episode

The Discussion

  • User profile image
    Dono

    I'm quite enjoying this debugger extension series.

    I don't know how far you plan on taking this, but it would be great if this also touched on creating debugger extensions targeting managed code, similar to sos and sosex. I spend a lot of my time debugging managed code so it would be great to create a debugger extension specific to my company's applications. I haven't quite worked it out yet, but I assume ICorDebug is involved.

     

  • User profile image
    mgrzeg

    +1 for creating extensions targeting managed code. psscor stopped on .net 4.0 (why?!) and sosex is not updated for a long time...

  • User profile image
    windev

    @mgrzeg:@Dono:  After a short break of the end of the current C++ focused series (Ep 9 is the last), we'll cover CLRMD - the framework that allows CLR inspection from a debugger extension.  We are trying to get Lee Culver (the SOS and CLRMD developer) to host the episodes.

Add Your 2 Cents