次の方法で共有


IDebugComPlusSymbolProvider

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Represents a COM+ symbol provider with methods that are specific to managed code.

Syntax

IDebugComPlusSymbolProvider : IDebugSymbolProvider

Notes for Implementers

Although there is no separation between interfaces that are useful to an expression evaluator (EE) and those that are intended to be used by a debug engine (DE), the following methods will probably interest DE developers only: AreSymbolsLoaded, GetAddressesInModuleFromPosition, GetEntryPoint, GetFunctionLineOffset, GetLocalVariableLayout, IsFunctionStale, LoadSymbols, LoadSymbolsFromStream, ReplaceSymbols, UnloadSymbols, and UpdateSymbols.

Methods

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

Method Description
AreSymbolsLoaded Determines if the debug symbols are loaded for the specified module given the application domain identifier.
CreateTypeFromPrimitive Creates a type from the specified primitive type.
GetAddressesInModuleFromPosition Maps a document position in the specified module to an array of debug addresses.
GetArrayTypeFromAddress Retrieves type information about the specified array given its debug address.
GetAssemblyName Retrieves the name of the assembly given its module and application domain.
GetAttributedClassesForLanguage Retrieves the classes with the specified attribute that are implemented in the given programming language.
GetAttributedClassesinModule Retrieves the classes with the specified attribute in a given module.
GetEntryPoint Retrieves the application entry point.
GetFunctionLineOffset Retrieves the address within a function that represents the given line offset.
GetLocalVariablelayout Retrieves the layout of local variables for a set of methods.
GetNameFromToken Returns the name associated with the specified token given its metadata object.
GetSymAttribute Retrieves the debug symbols with the given parent attribute for the specified module.
GetSymUnmanagedReader Retrieves the symbol reader to be used by unmanaged code.
GetTypeFromAddress Retrieves to a symbol type given its debug address.
IsFunctionDeleted Determines if the function at the specified debug address is deleted.
IsFunctionStale Determines if the function at the specified debug address is considered stale.
IsHiddenCode Determines if the code at the specified debugger address is hidden.
LoadSymbols Loads the specified debug symbols in memory.
LoadSymbolsFromStream Loads debug symbols given the data stream.
ReplaceSymbols Replaces the current debug symbols with those in the specified data stream.
UnloadSymbols Unloads the debug symbols for the specified module from memory.
UpdateSymbols Updates the debug symbols in memory with those the specified data stream.

Requirements

Header: Sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll