LoadModule Method

ICorDebugManagedCallback::LoadModule Method

Notifies the debugger that a common language runtime (CLR) module has been successfully loaded.

HRESULT LoadModule (
    [in] ICorDebugAppDomain *pAppDomain,
    [in] ICorDebugModule    *pModule



[in] A pointer to an ICorDebugAppDomain Interface object that represents the application domain into which the module has been loaded.


[in] A pointer to an ICorDebugModule Interface object that represents the CLR module.

The LoadModule callback provides an appropriate time to examine metadata for the module, set just-in-time (JIT) compiler flags, or enable or disable class loading callbacks for the module.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

Community Additions

© 2016 Microsoft