Implementing ICorDebugManagedCallback2

Implementing ICorDebugManagedCallback2 isn’t too hard, it just takes a lot of boiler-plate code to make ICorDebug happy.  So as to make this easier for anyone who would like to implement ICorDebugManagedCallback2, attached is the template code to start from.


Comments (2)

  1. FYI: Delete the szSearch parameter on the constructor – I missed it in code cull.

  2. Additional References:

    Empty implementation of ICorDebugManagedCallback…/empty-icd-callback.aspx

    A common problem: forgetting to call ICorDebugAppDomain::Attach…/icordebugappdomain-attach.aspx

    Why does ICorDebug::SetManagedHandler() return E_NOINTERFACE?…/why-does-icordebug-setmanagedhandler-return-e-nointerface.aspx

    Mike Stall's .NET Debugging Blog…/icordebug