SetScriptSourceResponse

@Serializable
data class SetScriptSourceResponse(val callFrames: List<CallFrame>? = null, val stackChanged: Boolean? = null, val asyncStackTrace: StackTrace? = null, val asyncStackTraceId: StackTraceId? = null, val status: ScriptSourceStatus? = null, val exceptionDetails: ExceptionDetails? = null)(source)

Response type for the DebuggerDomain.setScriptSource command.

Constructors

Link copied to clipboard
constructor(callFrames: List<CallFrame>? = null, stackChanged: Boolean? = null, asyncStackTrace: StackTrace? = null, asyncStackTraceId: StackTraceId? = null, status: ScriptSourceStatus? = null, exceptionDetails: ExceptionDetails? = null)

Properties

Link copied to clipboard

Async stack trace, if any.

Link copied to clipboard

Async stack trace, if any.

Link copied to clipboard
val callFrames: List<CallFrame>? = null

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

Link copied to clipboard

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

Link copied to clipboard
val stackChanged: Boolean? = null

Whether current call stack was modified after applying the changes.

Link copied to clipboard

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.