pl.wendigo.chrome.api.debugger

Package pl.wendigo.chrome.api.debugger

Contains DevTools Protocol Debugger domain implementation accessible via DebuggerOperations class.

Types

BreakLocation

data class BreakLocation

BreakpointResolvedEvent

data class BreakpointResolvedEvent : Event

Fired when breakpoint is resolved to an actual script and location.

CallFrame

data class CallFrame

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

ContinueToLocationRequest

data class ContinueToLocationRequest

Represents request frame that can be used with Debugger#continueToLocation operation call.

DebuggerOperations

class DebuggerOperations

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

EnableRequest

data class EnableRequest

Represents request frame that can be used with Debugger#enable operation call.

EnableResponse

data class EnableResponse

Represents response frame that is returned from Debugger#enable operation call. Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.

EvaluateOnCallFrameRequest

data class EvaluateOnCallFrameRequest

Represents request frame that can be used with Debugger#evaluateOnCallFrame operation call.

EvaluateOnCallFrameResponse

data class EvaluateOnCallFrameResponse

Represents response frame that is returned from Debugger#evaluateOnCallFrame operation call. Evaluates expression on a given call frame.

GetPossibleBreakpointsRequest

data class GetPossibleBreakpointsRequest

Represents request frame that can be used with Debugger#getPossibleBreakpoints operation call.

GetPossibleBreakpointsResponse

data class GetPossibleBreakpointsResponse

Represents response frame that is returned from Debugger#getPossibleBreakpoints operation call. Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.

GetScriptSourceRequest

data class GetScriptSourceRequest

Represents request frame that can be used with Debugger#getScriptSource operation call.

GetScriptSourceResponse

data class GetScriptSourceResponse

Represents response frame that is returned from Debugger#getScriptSource operation call. Returns source for the script with given id.

GetStackTraceRequest

data class GetStackTraceRequest

Represents request frame that can be used with Debugger#getStackTrace operation call.

GetStackTraceResponse

data class GetStackTraceResponse

Represents response frame that is returned from Debugger#getStackTrace operation call. Returns stack trace with given stackTraceId.

GetWasmBytecodeRequest

data class GetWasmBytecodeRequest

Represents request frame that can be used with Debugger#getWasmBytecode operation call.

GetWasmBytecodeResponse

data class GetWasmBytecodeResponse

Represents response frame that is returned from Debugger#getWasmBytecode operation call. This command is deprecated. Use getScriptSource instead.

Location

data class Location

Location in the source code.

PausedEvent

data class PausedEvent : Event

Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.

PauseOnAsyncCallRequest

data class PauseOnAsyncCallRequest

Represents request frame that can be used with Debugger#pauseOnAsyncCall operation call.

RemoveBreakpointRequest

data class RemoveBreakpointRequest

Represents request frame that can be used with Debugger#removeBreakpoint operation call.

RestartFrameRequest

data class RestartFrameRequest

Represents request frame that can be used with Debugger#restartFrame operation call.

RestartFrameResponse

data class RestartFrameResponse

Represents response frame that is returned from Debugger#restartFrame operation call. Restarts particular call frame from the beginning.

Scope

data class Scope

Scope description.

ScriptFailedToParseEvent

data class ScriptFailedToParseEvent : Event

Fired when virtual machine fails to parse the script.

ScriptParsedEvent

data class ScriptParsedEvent : Event

Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

ScriptPosition

data class ScriptPosition

Location in the source code.

SearchInContentRequest

data class SearchInContentRequest

Represents request frame that can be used with Debugger#searchInContent operation call.

SearchInContentResponse

data class SearchInContentResponse

Represents response frame that is returned from Debugger#searchInContent operation call. Searches for given string in script content.

SearchMatch

data class SearchMatch

Search match for resource.

SetAsyncCallStackDepthRequest

data class SetAsyncCallStackDepthRequest

Represents request frame that can be used with Debugger#setAsyncCallStackDepth operation call.

SetBlackboxedRangesRequest

data class SetBlackboxedRangesRequest

Represents request frame that can be used with Debugger#setBlackboxedRanges operation call.

SetBlackboxPatternsRequest

data class SetBlackboxPatternsRequest

Represents request frame that can be used with Debugger#setBlackboxPatterns operation call.

SetBreakpointByUrlRequest

data class SetBreakpointByUrlRequest

Represents request frame that can be used with Debugger#setBreakpointByUrl operation call.

SetBreakpointByUrlResponse

data class SetBreakpointByUrlResponse

Represents response frame that is returned from Debugger#setBreakpointByUrl operation call. Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads.

SetBreakpointOnFunctionCallRequest

data class SetBreakpointOnFunctionCallRequest

Represents request frame that can be used with Debugger#setBreakpointOnFunctionCall operation call.

SetBreakpointOnFunctionCallResponse

data class SetBreakpointOnFunctionCallResponse

Represents response frame that is returned from Debugger#setBreakpointOnFunctionCall operation call. Sets JavaScript breakpoint before each call to the given function. If another function was created from the same source as a given one, calling it will also trigger the breakpoint.

SetBreakpointRequest

data class SetBreakpointRequest

Represents request frame that can be used with Debugger#setBreakpoint operation call.

SetBreakpointResponse

data class SetBreakpointResponse

Represents response frame that is returned from Debugger#setBreakpoint operation call. Sets JavaScript breakpoint at a given location.

SetBreakpointsActiveRequest

data class SetBreakpointsActiveRequest

Represents request frame that can be used with Debugger#setBreakpointsActive operation call.

SetInstrumentationBreakpointRequest

data class SetInstrumentationBreakpointRequest

Represents request frame that can be used with Debugger#setInstrumentationBreakpoint operation call.

SetInstrumentationBreakpointResponse

data class SetInstrumentationBreakpointResponse

Represents response frame that is returned from Debugger#setInstrumentationBreakpoint operation call. Sets instrumentation breakpoint.

SetPauseOnExceptionsRequest

data class SetPauseOnExceptionsRequest

Represents request frame that can be used with Debugger#setPauseOnExceptions operation call.

SetReturnValueRequest

data class SetReturnValueRequest

Represents request frame that can be used with Debugger#setReturnValue operation call.

SetScriptSourceRequest

data class SetScriptSourceRequest

Represents request frame that can be used with Debugger#setScriptSource operation call.

SetScriptSourceResponse

data class SetScriptSourceResponse

Represents response frame that is returned from Debugger#setScriptSource operation call. Edits JavaScript source live.

SetSkipAllPausesRequest

data class SetSkipAllPausesRequest

Represents request frame that can be used with Debugger#setSkipAllPauses operation call.

SetVariableValueRequest

data class SetVariableValueRequest

Represents request frame that can be used with Debugger#setVariableValue operation call.

StepIntoRequest

data class StepIntoRequest

Represents request frame that can be used with Debugger#stepInto operation call.

Type Aliases

BreakpointId

typealias BreakpointId = String

Breakpoint identifier.

CallFrameId

typealias CallFrameId = String

Call frame identifier.