Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BreakLocation(val scriptId: ScriptId, val lineNumber: Int, val columnNumber: Int? = null, val type: BreakLocationType? = null)
Link copied to clipboard

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
typealias BreakpointId = String

Breakpoint identifier.

Official doc

Link copied to clipboard

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
@Serializable
data class CallFrame(val callFrameId: CallFrameId, val functionName: String, val functionLocation: Location? = null, val location: Location, val url: String, val scopeChain: List<Scope>, val this: RemoteObject, val returnValue: RemoteObject? = null, val canBeRestarted: Boolean? = null)

JavaScript call frame. Array of call frames form the call stack.

Link copied to clipboard
typealias CallFrameId = String

Call frame identifier.

Official doc

Link copied to clipboard
@Serializable
data class ContinueToLocationRequest(val location: Location, val targetCallFrames: TargetCallFrames? = null)

Request object containing input parameters for the DebuggerDomain.continueToLocation command.

Link copied to clipboard
@Serializable
object ContinueToLocationResponse

A dummy response object for the DebuggerDomain.continueToLocation command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard

Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.

Link copied to clipboard
@Serializable
data class DebugSymbols(val type: DebugSymbolsType, val externalURL: String? = null)

Debug symbols available for a wasm script.

Link copied to clipboard
@Serializable
enum DebugSymbolsType : Enum<DebugSymbolsType>

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the DebuggerDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class DisassembleWasmModuleRequest(val scriptId: ScriptId)

Request object containing input parameters for the DebuggerDomain.disassembleWasmModule command.

Link copied to clipboard
@Serializable
data class DisassembleWasmModuleResponse(val streamId: String? = null, val totalNumberOfLines: Int, val functionBodyOffsets: List<Int>, val chunk: WasmDisassemblyChunk)

Response type for the DebuggerDomain.disassembleWasmModule command.

Link copied to clipboard
@Serializable
data class EnableRequest(val maxScriptsCacheSize: Double? = null)

Request object containing input parameters for the DebuggerDomain.enable command.

Link copied to clipboard
@Serializable
data class EnableResponse(val debuggerId: UniqueDebuggerId? = null)

Response type for the DebuggerDomain.enable command.

Link copied to clipboard
@Serializable
data class EvaluateOnCallFrameRequest(val callFrameId: CallFrameId, val expression: String, val objectGroup: String? = null, val includeCommandLineAPI: Boolean? = null, val silent: Boolean? = null, val returnByValue: Boolean? = null, val generatePreview: Boolean? = null, val throwOnSideEffect: Boolean? = null, val timeout: TimeDelta? = null)

Request object containing input parameters for the DebuggerDomain.evaluateOnCallFrame command.

Link copied to clipboard
@Serializable
data class EvaluateOnCallFrameResponse(val result: RemoteObject, val exceptionDetails: ExceptionDetails? = null)

Response type for the DebuggerDomain.evaluateOnCallFrame command.

Link copied to clipboard
@Serializable
enum FrameMode : Enum<FrameMode>

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
@Serializable
data class GetPossibleBreakpointsRequest(val start: Location, val end: Location? = null, val restrictToFunction: Boolean? = null)

Request object containing input parameters for the DebuggerDomain.getPossibleBreakpoints command.

Link copied to clipboard
@Serializable
data class GetPossibleBreakpointsResponse(val locations: List<BreakLocation>)

Response type for the DebuggerDomain.getPossibleBreakpoints command.

Link copied to clipboard
@Serializable
data class GetScriptSourceRequest(val scriptId: ScriptId)

Request object containing input parameters for the DebuggerDomain.getScriptSource command.

Link copied to clipboard
@Serializable
data class GetScriptSourceResponse(val scriptSource: String, val bytecode: String? = null)

Response type for the DebuggerDomain.getScriptSource command.

Link copied to clipboard
@Serializable
data class GetStackTraceRequest(val stackTraceId: StackTraceId)

Request object containing input parameters for the DebuggerDomain.getStackTrace command.

Link copied to clipboard
@Serializable
data class GetStackTraceResponse(val stackTrace: StackTrace)

Response type for the DebuggerDomain.getStackTrace command.

Link copied to clipboard
@Serializable
data class GetWasmBytecodeRequest(val scriptId: ScriptId)

Request object containing input parameters for the DebuggerDomain.getWasmBytecode command.

Link copied to clipboard
@Serializable
data class GetWasmBytecodeResponse(val bytecode: String)

Response type for the DebuggerDomain.getWasmBytecode command.

Link copied to clipboard
@Serializable
data class Location(val scriptId: ScriptId, val lineNumber: Int, val columnNumber: Int? = null)

Location in the source code.

Link copied to clipboard
@Serializable
data class LocationRange(val scriptId: ScriptId, val start: ScriptPosition, val end: ScriptPosition)

Location range within one script.

Link copied to clipboard
@Serializable
data class NextWasmDisassemblyChunkRequest(val streamId: String)

Request object containing input parameters for the DebuggerDomain.nextWasmDisassemblyChunk command.

Link copied to clipboard
@Serializable
data class NextWasmDisassemblyChunkResponse(val chunk: WasmDisassemblyChunk)

Response type for the DebuggerDomain.nextWasmDisassemblyChunk command.

Link copied to clipboard
@Serializable
enum PausedReason : Enum<PausedReason>

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
@Serializable
data class PauseOnAsyncCallRequest(val parentStackTraceId: StackTraceId)

Request object containing input parameters for the DebuggerDomain.pauseOnAsyncCall command.

Link copied to clipboard
@Serializable
object PauseOnAsyncCallResponse

A dummy response object for the DebuggerDomain.pauseOnAsyncCall command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
@Serializable
object PauseResponse

A dummy response object for the DebuggerDomain.pause command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class RemoveBreakpointRequest(val breakpointId: BreakpointId)

Request object containing input parameters for the DebuggerDomain.removeBreakpoint command.

Link copied to clipboard
@Serializable
object RemoveBreakpointResponse

A dummy response object for the DebuggerDomain.removeBreakpoint command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class RestartFrameRequest(val callFrameId: CallFrameId, val mode: FrameMode? = null)

Request object containing input parameters for the DebuggerDomain.restartFrame command.

Link copied to clipboard
@Serializable
data class RestartFrameResponse(val callFrames: List<CallFrame>, val asyncStackTrace: StackTrace? = null, val asyncStackTraceId: StackTraceId? = null)

Response type for the DebuggerDomain.restartFrame command.

Link copied to clipboard
@Serializable
data class ResumeRequest(val terminateOnResume: Boolean? = null)

Request object containing input parameters for the DebuggerDomain.resume command.

Link copied to clipboard
@Serializable
object ResumeResponse

A dummy response object for the DebuggerDomain.resume command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class Scope(val type: ScopeType, val object: RemoteObject, val name: String? = null, val startLocation: Location? = null, val endLocation: Location? = null)

Scope description.

Link copied to clipboard
@Serializable
enum ScopeType : Enum<ScopeType>

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
@Serializable
enum ScriptLanguage : Enum<ScriptLanguage>

Enum of possible script languages.

Link copied to clipboard
@Serializable
data class ScriptPosition(val lineNumber: Int, val columnNumber: Int)

Location in the source code.

Link copied to clipboard

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
@Serializable
data class SearchInContentRequest(val scriptId: ScriptId, val query: String, val caseSensitive: Boolean? = null, val isRegex: Boolean? = null)

Request object containing input parameters for the DebuggerDomain.searchInContent command.

Link copied to clipboard
@Serializable
data class SearchInContentResponse(val result: List<SearchMatch>)

Response type for the DebuggerDomain.searchInContent command.

Link copied to clipboard
@Serializable
data class SearchMatch(val lineNumber: Double, val lineContent: String)

Search match for resource.

Link copied to clipboard
@Serializable
data class SetAsyncCallStackDepthRequest(val maxDepth: Int)

Request object containing input parameters for the DebuggerDomain.setAsyncCallStackDepth command.

Link copied to clipboard
@Serializable
object SetAsyncCallStackDepthResponse

A dummy response object for the DebuggerDomain.setAsyncCallStackDepth command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetBlackboxedRangesRequest(val scriptId: ScriptId, val positions: List<ScriptPosition>)

Request object containing input parameters for the DebuggerDomain.setBlackboxedRanges command.

Link copied to clipboard
@Serializable
object SetBlackboxedRangesResponse

A dummy response object for the DebuggerDomain.setBlackboxedRanges command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetBlackboxPatternsRequest(val patterns: List<String>)

Request object containing input parameters for the DebuggerDomain.setBlackboxPatterns command.

Link copied to clipboard
@Serializable
object SetBlackboxPatternsResponse

A dummy response object for the DebuggerDomain.setBlackboxPatterns command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetBreakpointByUrlRequest(val lineNumber: Int, val url: String? = null, val urlRegex: String? = null, val scriptHash: String? = null, val columnNumber: Int? = null, val condition: String? = null)

Request object containing input parameters for the DebuggerDomain.setBreakpointByUrl command.

Link copied to clipboard
@Serializable
data class SetBreakpointByUrlResponse(val breakpointId: BreakpointId, val locations: List<Location>)

Response type for the DebuggerDomain.setBreakpointByUrl command.

Link copied to clipboard
@Serializable
data class SetBreakpointOnFunctionCallRequest(val objectId: RemoteObjectId, val condition: String? = null)

Request object containing input parameters for the DebuggerDomain.setBreakpointOnFunctionCall command.

Link copied to clipboard
@Serializable
data class SetBreakpointOnFunctionCallResponse(val breakpointId: BreakpointId)

Response type for the DebuggerDomain.setBreakpointOnFunctionCall command.

Link copied to clipboard
@Serializable
data class SetBreakpointRequest(val location: Location, val condition: String? = null)

Request object containing input parameters for the DebuggerDomain.setBreakpoint command.

Link copied to clipboard
@Serializable
data class SetBreakpointResponse(val breakpointId: BreakpointId, val actualLocation: Location)

Response type for the DebuggerDomain.setBreakpoint command.

Link copied to clipboard
@Serializable
data class SetBreakpointsActiveRequest(val active: Boolean)

Request object containing input parameters for the DebuggerDomain.setBreakpointsActive command.

Link copied to clipboard
@Serializable
object SetBreakpointsActiveResponse

A dummy response object for the DebuggerDomain.setBreakpointsActive command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetInstrumentationBreakpointRequest(val instrumentation: BreakpointInstrumentation)

Request object containing input parameters for the DebuggerDomain.setInstrumentationBreakpoint command.

Link copied to clipboard
@Serializable
data class SetInstrumentationBreakpointResponse(val breakpointId: BreakpointId)

Response type for the DebuggerDomain.setInstrumentationBreakpoint command.

Link copied to clipboard
@Serializable
data class SetPauseOnExceptionsRequest(val state: PauseOnExceptionsState)

Request object containing input parameters for the DebuggerDomain.setPauseOnExceptions command.

Link copied to clipboard
@Serializable
object SetPauseOnExceptionsResponse

A dummy response object for the DebuggerDomain.setPauseOnExceptions command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetReturnValueRequest(val newValue: CallArgument)

Request object containing input parameters for the DebuggerDomain.setReturnValue command.

Link copied to clipboard
@Serializable
object SetReturnValueResponse

A dummy response object for the DebuggerDomain.setReturnValue command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetScriptSourceRequest(val scriptId: ScriptId, val scriptSource: String, val dryRun: Boolean? = null, val allowTopFrameEditing: Boolean? = null)

Request object containing input parameters for the DebuggerDomain.setScriptSource command.

Link copied to clipboard
@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)

Response type for the DebuggerDomain.setScriptSource command.

Link copied to clipboard
@Serializable
data class SetSkipAllPausesRequest(val skip: Boolean)

Request object containing input parameters for the DebuggerDomain.setSkipAllPauses command.

Link copied to clipboard
@Serializable
object SetSkipAllPausesResponse

A dummy response object for the DebuggerDomain.setSkipAllPauses command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetVariableValueRequest(val scopeNumber: Int, val variableName: String, val newValue: CallArgument, val callFrameId: CallFrameId)

Request object containing input parameters for the DebuggerDomain.setVariableValue command.

Link copied to clipboard
@Serializable
object SetVariableValueResponse

A dummy response object for the DebuggerDomain.setVariableValue command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class StepIntoRequest(val breakOnAsyncCall: Boolean? = null, val skipList: List<LocationRange>? = null)

Request object containing input parameters for the DebuggerDomain.stepInto command.

Link copied to clipboard
@Serializable
object StepIntoResponse

A dummy response object for the DebuggerDomain.stepInto command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object StepOutResponse

A dummy response object for the DebuggerDomain.stepOut command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class StepOverRequest(val skipList: List<LocationRange>? = null)

Request object containing input parameters for the DebuggerDomain.stepOver command.

Link copied to clipboard
@Serializable
object StepOverResponse

A dummy response object for the DebuggerDomain.stepOver command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
enum TargetCallFrames : Enum<TargetCallFrames>

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard
@Serializable
data class WasmDisassemblyChunk(val lines: List<String>, val bytecodeOffsets: List<Int>)