Table of Contents

Class SetScriptSourceResult

Namespace
Selenium.WebDriver.BiDi.Cdp.Debugger
Assembly
Selenium.WebDriver.BiDi.Cdp.dll
public sealed record SetScriptSourceResult : EmptyResult, IEquatable<EmptyResult>, IEquatable<SetScriptSourceResult>
Inheritance
EmptyResult
SetScriptSourceResult
Implements
IEquatable<EmptyResult>
Inherited Members
EmptyResult.ToString()
EmptyResult.GetHashCode()
EmptyResult.Equals(EmptyResult)
EmptyResult.<Clone>$()
EmptyResult.AdditionalData
EmptyResult.AdditionalMessageData

Constructors

SetScriptSourceResult(ImmutableArray<CallFrame>?, bool?, StackTrace?, StackTraceId?, string, ExceptionDetails?)

public SetScriptSourceResult(ImmutableArray<CallFrame>? CallFrames, bool? StackChanged, StackTrace? AsyncStackTrace, StackTraceId? AsyncStackTraceId, string Status, ExceptionDetails? ExceptionDetails)

Parameters

CallFrames ImmutableArray<CallFrame>?

New stack trace in case editing has happened while VM was stopped.

StackChanged bool?

Whether current call stack was modified after applying the changes.

AsyncStackTrace StackTrace

Async stack trace, if any.

AsyncStackTraceId StackTraceId

Async stack trace, if any.

Status string

Whether the operation was successful or not. Only Ok denotes a successful live edit while the other enum variants denote why the live edit failed.

ExceptionDetails ExceptionDetails

Exception details if any. Only present when status is CompileError.

Properties

AsyncStackTrace

Async stack trace, if any.

public StackTrace? AsyncStackTrace { get; init; }

Property Value

StackTrace

AsyncStackTraceId

Async stack trace, if any.

public StackTraceId? AsyncStackTraceId { get; init; }

Property Value

StackTraceId

CallFrames

New stack trace in case editing has happened while VM was stopped.

public ImmutableArray<CallFrame>? CallFrames { get; init; }

Property Value

ImmutableArray<CallFrame>?

ExceptionDetails

Exception details if any. Only present when status is CompileError.

public ExceptionDetails? ExceptionDetails { get; init; }

Property Value

ExceptionDetails

StackChanged

Whether current call stack was modified after applying the changes.

public bool? StackChanged { get; init; }

Property Value

bool?

Status

Whether the operation was successful or not. Only Ok denotes a successful live edit while the other enum variants denote why the live edit failed.

public string Status { get; init; }

Property Value

string