Compartilhar via


DkmCompiledClrLocalsQuery.GetLocalValues Method

Definition

Execute a compiled inspection query to get a set of local variable values as a list of formatted DkmEvaluationResults.

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.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 void GetLocalValues(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ InspectionContext, Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext ^ ILContext, int FirstLocalIndex, int Count, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmGetLocalValuesAsyncResult> ^ CompletionRoutine);
public void GetLocalValues (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext InspectionContext, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, int FirstLocalIndex, int Count, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmGetLocalValuesAsyncResult> CompletionRoutine);
member this.GetLocalValues : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext * int * int * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmGetLocalValuesAsyncResult> -> unit
Public Sub GetLocalValues (WorkList As DkmWorkList, InspectionContext As DkmInspectionContext, ILContext As DkmILContext, FirstLocalIndex As Integer, Count As Integer, CompletionRoutine As DkmCompletionRoutine(Of DkmGetLocalValuesAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

InspectionContext
DkmInspectionContext

[In] The inspection context for this query.

ILContext
DkmILContext

[In] The stack context to execute the query against.

FirstLocalIndex
Int32

[In] The index of the first local variable to get the value for.

Count
Int32

[In] The number of local variables to get the value for.

CompletionRoutine
DkmCompletionRoutine<DkmGetLocalValuesAsyncResult>

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.

Applies to