다음을 통해 공유


IDebugModule2

This interface represents a module—that is, an executable unit of a program—such as a DLL.

IDebugModule2 : IUnknown

Notes for Implementers

The debug engine (DE) implements this interface to represent a module and to provide access to information about that module.

Notes for Callers

A call to IDebugModuleLoadEvent2::GetModule returns this interface. The DE sends the IDebugModuleLoadEvent2 interface to the session debug manager (SDM) using the IDebugEventCallback2::Event method.

This interface can also be returned in a FRAMEINFO structure (which is returned by a call to IDebugThread2::EnumFrameInfo).

IEnumDebugModules2::Next also returns this interface (IDebugProgram2::EnumModules returns the IEnumDebugModules2 interface).

Methods in Vtable Order

The following table shows the methods of IDebugModule2.

Method

Description

IDebugModule2::GetInfo

Gets the MODULE_INFO that describes this module.

IDebugModule2::ReloadSymbols_Deprecated

OBSOLETE. DO NOT USE. Reloads the symbols for this module.

Remarks

Module information can be displayed in the Modules window of the IDE.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

MODULE_INFO

IDebugModuleLoadEvent2::GetModule

FRAMEINFO

IEnumDebugModules2

Concepts

Core Interfaces