Partager via


Evaluation Context

When the debug engine (DE) calls the expression evaluator (EE), three arguments passed to IDebugParsedExpression::EvaluateSync determine the context for finding and evaluating symbols, as shown in the following table.

Arguments

Argument

Description

pSymbolProvider

An IDebugSymbolProvider interface that specifies the symbol handler (SH) to be used to identify the symbol.

pAddress

An IDebugAddress interface that specifies the current point of execution. This can be used to find the method that contains the code being executed.

pBinder

An IDebugBinder interface that can be used to find the value and type of a symbol given its name.

IDebugParsedExpression::EvaluateSync returns an IDebugProperty2 interface representing the resulting value and its type.

See Also

Reference

IDebugParsedExpression::EvaluateSync

IDebugProperty2

IDebugSymbolProvider

IDebugAddress

IDebugBinder

Concepts

Key Expression Evaluator Interfaces

Other Resources

Displaying Locals