Table of Contents

Method TrySetNextStatementAsync

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

TrySetNextStatementAsync(int, CancellationToken)

Tries to set the execution point to the specified line of code.

public Task<Result> TrySetNextStatementAsync(int lineNumber, CancellationToken cancellationToken = default)

Parameters

lineNumber int

Line number to be going to.

cancellationToken CancellationToken

Returns

Task<Result>

Result of executing.