IDkmCustomVisualizerCallback Interface

Definition

This interface is implemented the expression evaluator to allow an EE addin to callback to the expression evaluator.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: EngineId, RuntimeId, SourceId, SymbolProviderId, VisualizerId.

public interface class IDkmCustomVisualizerCallback
public interface class IDkmCustomVisualizerCallback
__interface IDkmCustomVisualizerCallback
public interface IDkmCustomVisualizerCallback
type IDkmCustomVisualizerCallback = interface
Public Interface IDkmCustomVisualizerCallback

Methods

CreateDefaultChildFullName(DkmVisualizedExpression, Int32)

This method will construct a default full name for a custom visualized child expression. This name will be the root expression's full name and an expand format string that will cause the expression evaluator to callback to the visualizer to obtain children. The DkmVisualizedExpression instance this is called on should be the parent visualized expression for a child and the root visualized expression for a root.

EvaluateExpressionCallback(DkmVisualizedExpression, DkmInspectionContext, DkmLanguageExpression, DkmStackWalkFrame, DkmEvaluationResult)

This method allows a visualizer addin use the expression evaluator to compile and evaluate the default value for an expression. The addin can use this result as-is or override fields by creating a new result. The addin can also choose to use the expression evaluator for expansion using the the get children callbacks.

GetChildrenCallback(DkmVisualizedExpression, DkmEvaluationResult, Int32, DkmInspectionContext, DkmEvaluationResult[], DkmEvaluationResultEnumContext)

This method allows a visualizer addin use the expression evaluator for expansion. The evaluation result contained within the visualized expression must have come from the expression evaluator via EvaluateExpressionCallback.

GetItemsCallback(DkmVisualizedExpression, DkmEvaluationResultEnumContext, Int32, Int32, DkmEvaluationResult[])

This method allows a visualizer addin use the expression evaluator for expansion using the passed enumeration context. This is used to obtain local variables of a stack frame or child members from an evaluation result.

GetSymbolInterface(DkmVisualizedExpression, Guid, Object)

Allows custom expression evaluator addins to obtain the symbol interface for the type being visualized. This is not stored in the DkmVisualizedExpression directly to enable addins that live on the remote machine and do not depend on symbols.

GetUnderlyingStringCallback(DkmVisualizedExpression, DkmEvaluationResult)

This method is used for evaluation results that include DkmEvaluationResultFlags.RawString to obtain the the underlying string, with no enclosing quotes or escape sequences. This is method is invoked to display one of the various string visualizers in an expression evaluation window (click the magnifying glass icon).

SetValueAsStringCallback(DkmVisualizedExpression, DkmEvaluationResult, String, Int32, String)

Modifies the value of the given evaluation result (assumed to be non-read-only) to match the given string. This is used after the user edits a value in any of the evaluation windows.

Applies to