pl.wendigo.chrome.api.debugger

Package pl.wendigo.chrome.api.debugger

Contains DevTools Protocol Debugger domain implementation accessible via DebuggerOperations class.

Types

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.

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.

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.

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.

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.

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.

SetPauseOnExceptionsRequest

data class SetPauseOnExceptionsRequest

Represents request frame that can be used with Debugger#setPauseOnExceptions 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.

Type Aliases

BreakpointId

typealias BreakpointId = String

Breakpoint identifier.

CallFrameId

typealias CallFrameId = String

Call frame identifier.