IDkmInlineSourceSymbolQuery.GetInlineSourcePosition Method

Definition

Returns the source file position (ex: example.cs, line 12) of this instruction symbol at the specified inline frame number. If this instruction symbol is not associated with a source file then null is returned (S_FALSE return code in native).

public:
 Microsoft::VisualStudio::Debugger::Symbols::DkmSourcePosition ^ GetInlineSourcePosition(Microsoft::VisualStudio::Debugger::Symbols::DkmInstructionSymbol ^ instruction, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ inlineFrame, [Runtime::InteropServices::Out] bool % startOfLine);
public Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition GetInlineSourcePosition (Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol instruction, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame inlineFrame, out bool startOfLine);
abstract member GetInlineSourcePosition : Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * bool -> Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition
Public Function GetInlineSourcePosition (instruction As DkmInstructionSymbol, inlineFrame As DkmStackWalkFrame, ByRef startOfLine As Boolean) As DkmSourcePosition

Parameters

instruction
DkmInstructionSymbol

[In] DkmInstructionSymbol represents a method in the target process.

inlineFrame
DkmStackWalkFrame

[In] Provides which inline frame to use.

startOfLine
Boolean

[Out] True if this address is the first address in the line's range. False otherwise.

Returns

[Out,Optional] Source code position which corresponds to a code element. The could represent a location which has been extracted from a symbol (PDB) file, or it could be the location of a breakpoint in the IDE.

Applies to