Table of Contents

Method AttachToProcessAsync

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

AttachToProcessAsync(int, CancellationToken)

Attaches debugger to the process.

public Task AttachToProcessAsync(int processId, CancellationToken cancellationToken = default)

Parameters

processId int

Process ID to attach.

cancellationToken CancellationToken

Cancellation token

Returns

Task

AttachToProcessAsync(int, StartDebuggingOptions, CancellationToken)

Attaches debugger to the process.

public Task AttachToProcessAsync(int processId, StartDebuggingOptions options, CancellationToken cancellationToken = default)

Parameters

processId int

Process ID to attach.

options StartDebuggingOptions

Debugging options.

cancellationToken CancellationToken

Cancellation token

Returns

Task