Table of Contents

Method EvaluateCurrentExceptionAsync

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

EvaluateCurrentExceptionAsync(CancellationToken)

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> EvaluateCurrentExceptionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Token allowing cancellation of request.

Returns

Task<ExpressionEvaluationResult>

ExpressionEvaluationResult contains data of evaluated expression.