Udostępnij za pośrednictwem


IDkmSymbolAlternateSourcePositionQuery Interface

Definition

Optional interface implemented by symbol providers that wish to provide multiple source mappings for the same instruction symbol - both a primary mapping, and a backup mapping in the case the primary document cannot be found.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: RuntimeId, SymbolProviderId.

This API was introduced in Visual Studio 12 Update 3 (DkmApiVersion.VS12Update3).

public interface class IDkmSymbolAlternateSourcePositionQuery
public interface class IDkmSymbolAlternateSourcePositionQuery
__interface IDkmSymbolAlternateSourcePositionQuery
public interface IDkmSymbolAlternateSourcePositionQuery
type IDkmSymbolAlternateSourcePositionQuery = interface
Public Interface IDkmSymbolAlternateSourcePositionQuery

Methods

GetAlternateSourcePosition(DkmInstructionSymbol, DkmSourcePositionFlags)

Returns an alternate source file position (ex: example.cs, line 12) for this instruction symbol. This is currently used in source map scenarios to return the original (unmapped) source location. This API will be called by the debugger UI in cases where the primary source location cannot be found.

Applies to