DkmInstructionSymbol.GetInlineSourcePosition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetInlineSourcePosition(DkmStackWalkFrame, Boolean) |
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). Location constraint: API must be called from an IDE component (component level > 100,000). This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM). |
GetInlineSourcePosition(DkmWorkList, DkmStackWalkFrame, DkmCompletionRoutine<DkmGetInlineSourcePositionAsyncResult>) |
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). This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine. Location constraint: API must be called from an IDE component (component level > 100,000). This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM). |
GetInlineSourcePosition(DkmStackWalkFrame, Boolean)
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).
Location constraint: API must be called from an IDE component (component level > 100,000).
This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).
public:
Microsoft::VisualStudio::Debugger::Symbols::DkmSourcePosition ^ GetInlineSourcePosition(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ InlineFrame, [Runtime::InteropServices::Out] bool % StartOfLine);
public Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition GetInlineSourcePosition (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame InlineFrame, out bool StartOfLine);
member this.GetInlineSourcePosition : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * bool -> Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition
Public Function GetInlineSourcePosition (InlineFrame As DkmStackWalkFrame, ByRef StartOfLine As Boolean) As DkmSourcePosition
Parameters
- 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
GetInlineSourcePosition(DkmWorkList, DkmStackWalkFrame, DkmCompletionRoutine<DkmGetInlineSourcePositionAsyncResult>)
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).
This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.
Location constraint: API must be called from an IDE component (component level > 100,000).
This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).
public:
void GetInlineSourcePosition(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ InlineFrame, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Symbols::DkmGetInlineSourcePositionAsyncResult> ^ CompletionRoutine);
public void GetInlineSourcePosition (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame InlineFrame, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetInlineSourcePositionAsyncResult> CompletionRoutine);
member this.GetInlineSourcePosition : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetInlineSourcePositionAsyncResult> -> unit
Public Sub GetInlineSourcePosition (WorkList As DkmWorkList, InlineFrame As DkmStackWalkFrame, CompletionRoutine As DkmCompletionRoutine(Of DkmGetInlineSourcePositionAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- InlineFrame
- DkmStackWalkFrame
[In] Provides which inline frame to use.
- CompletionRoutine
- DkmCompletionRoutine<DkmGetInlineSourcePositionAsyncResult>
Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.