DkmInspectionContext.GetFrameLocals Method

Definition

Gets an enumeration context used to obtain the local variables of this stack frame. This is used in computing the locals window.

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: IDE components may call this method regardless of what type of code is being debugged. This method is also currently supported for debug monitor components, when debugging code running under the CLR; however this functionality may be removed in a future version.

public:
 void GetFrameLocals(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ StackFrame, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::DkmGetFrameLocalsAsyncResult> ^ CompletionRoutine);
public void GetFrameLocals (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame StackFrame, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmGetFrameLocalsAsyncResult> CompletionRoutine);
member this.GetFrameLocals : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmGetFrameLocalsAsyncResult> -> unit
Public Sub GetFrameLocals (WorkList As DkmWorkList, StackFrame As DkmStackWalkFrame, CompletionRoutine As DkmCompletionRoutine(Of DkmGetFrameLocalsAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

StackFrame
DkmStackWalkFrame

[In] Stack frame to evaluate the expression in.

CompletionRoutine
DkmCompletionRoutine<DkmGetFrameLocalsAsyncResult>

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