共用方式為


IDebugModule3

This interface represents a module that supports alternate locations of symbols and JustMyCode states.

IDebugModule3 : IDebugModule2

Notes for Implementers

The debug engine (DE) implements this interface to support alternate locations of symbols and to work with JustMyCode states (see the Visual Studio Debugger Glossary for a definition of "JustMyCode").

Notes for Callers

A call to IDebugSymbolSearchEvent2::GetSymbolSearchInfo returns this interface. The DE sends the IDebugSymbolSearchEvent2 interface to the session debug manager (SDM) using the IDebugEventCallback2::Event method. Also, a call to QueryInterface on an IDebugModule2 interface returns this interface.

Methods in Vtable Order

In addition to the methods on the IDebugModule2 interface, this interface implements the following methods:

Method

Description

IDebugModule3::GetSymbolInfo

Returns a list of paths searched for symbols and the results of searching each path.

IDebugModule3::LoadSymbols

Loads and initializes symbols for the current module.

IDebugModule3::IsUserCode

Returns flag specifying whether the module represents user code.

IDebugModule3::SetJustMyCodeState

Specifies whether the module should be considered user code or not.

Remarks

Visual Studio is the typical consumer of this interface.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugModule2

IDebugSymbolSearchEvent2

IDebugSymbolSearchEvent2::GetSymbolSearchInfo

Concepts

Core Interfaces