IDataModelScriptDebugStackFrame::EnumerateLocals method (dbgmodel.h)

The EnumerateLocals method returns a variable set (represented by an IDataModelScriptDebugVariableSetEnumerator interface) for all local variables which are in scope in the context of the stack frame represented by the IDataModelScriptDebugStackFrame interface on which this method was called.

Note that if there are multiple definitions of a single variable where an inner scope eclipses an outer scope, only a single definition should be returned -- the definition which is in scope at the code position represented by the frame.

Syntax

HRESULT EnumerateLocals(
  IDataModelScriptDebugVariableSetEnumerator **variablesEnum
);

Parameters

variablesEnum

A variable set enumerator which enumerates all in-scope local variables at the code position represented by the stack frame.

Return value

This method returns HRESULT which indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDataModelScriptDebugStackFrame interface