Table of Contents

Method TrySetNextStatementAsync

Namespace
Alternet.Scripter.Debugger
Assembly
Alternet.Scripter.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

Cancellation token

Returns

Task<Result>

Result of executing.