Debugging Tools for Windows |
The GetScopeSymbolGroup and GetScopeSymbolGroup2 methods return a symbol group containing the symbols in the current target's scope.
HRESULT
IDebugSymbols::GetScopeSymbolGroup(
IN ULONG Flags,
IN OPTIONAL IDebugSymbolGroup * Update,
OUT IDebugSymbolGroup * * Symbols
);
HRESULT
IDebugSymbols3::GetScopeSymbolGroup2(
IN ULONG Flags,
IN OPTIONAL IDebugSymbolGroup2 * Update,
OUT IDebugSymbolGroup2 * * Symbols
);
Flag | Description |
---|---|
DEBUG_SCOPE_GROUP_ARGUMENTS | Include the function arguments for the current scope. |
DEBUG_SCOPE_GROUP_LOCALS | Include the local variables for the current scope. |
This method may also return error values. See Return Values for more details.
GetScopeSymbolGroup is available in all versions of IDebugSymbols. GetScopeSymbolGroup2 is available in IDebugSymbols3 and later versions.
The Update parameter allows for efficient updates when stepping through code. Instead of creating and populating a new symbol group, the old symbol group can be updated.
For more information about scopes and symbol groups, see Scopes and Symbol Groups.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.