Table of Contents

Method TrySetNextStatementAsync

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

TrySetNextStatementAsync(int, CancellationToken)

When implemented by a class, 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.