Table of Contents

Method EvaluateExpressionAsync

Namespace
Alternet.Scripter.Debugger.Dap
Assembly
Alternet.Scripter.Debugger.Dap.v9.dll

EvaluateExpressionAsync(ExpressionEvaluationRequest, CancellationToken)

When implemented by a class, evaluates an expression based on the current stack frame. If the expression can be parsed but not evaluated, an object is returned but will not contain a valid value.

public Task<ExpressionEvaluationResult> EvaluateExpressionAsync(ExpressionEvaluationRequest request, CancellationToken cancellationToken = default)

Parameters

request ExpressionEvaluationRequest
cancellationToken CancellationToken

Returns

Task<ExpressionEvaluationResult>

EvaluateExpressionAsync(string, CancellationToken)

public Task<EvaluationResult> EvaluateExpressionAsync(string expression, CancellationToken cancellationToken)

Parameters

expression string
cancellationToken CancellationToken

Returns

Task<EvaluationResult>