Module chrome_remote_interface_model::debugger[][src]

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

Structs

BreakLocation
BreakLocationBuilder
BreakpointId

Breakpoint identifier.

BreakpointResolvedEvent

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

CallFrame

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

CallFrameBuilder
CallFrameId

Call frame identifier.

ContinueToLocationCommand

Continues execution until specific location is reached.

ContinueToLocationReturn

Continues execution until specific location is reached.

DebugSymbols

Debug symbols available for a wasm script.

DisableCommand

Disables debugger for given page.

DisableReturn

Disables debugger for given page.

EnableCommand

Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.

EnableReturn

Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.

EvaluateOnCallFrameCommand

Evaluates expression on a given call frame.

EvaluateOnCallFrameCommandBuilder
EvaluateOnCallFrameReturn

Evaluates expression on a given call frame.

GetPossibleBreakpointsCommand

Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.

GetPossibleBreakpointsReturn

Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.

GetScriptSourceCommand

Returns source for the script with given id.

GetScriptSourceReturn

Returns source for the script with given id.

GetWasmBytecodeCommandDeprecated

This command is deprecated. Use getScriptSource instead.

GetWasmBytecodeReturnDeprecated

This command is deprecated. Use getScriptSource instead.

Location

Location in the source code.

PauseCommand

Stops on the next JavaScript statement.

PauseReturn

Stops on the next JavaScript statement.

PausedEvent

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

PausedEventBuilder
PausedEventData
RemoveBreakpointCommand

Removes JavaScript breakpoint.

RemoveBreakpointReturn

Removes JavaScript breakpoint.

RestartFrameCommand

Restarts particular call frame from the beginning.

RestartFrameReturn

Restarts particular call frame from the beginning.

ResumeCommand

Resumes JavaScript execution.

ResumeReturn

Resumes JavaScript execution.

ResumedEvent

Fired when the virtual machine resumed execution.

Scope

Scope description.

ScopeBuilder
ScriptFailedToParseEvent

Fired when virtual machine fails to parse the script.

ScriptFailedToParseEventBuilder
ScriptFailedToParseEventExecutionContextAuxData
ScriptParsedEvent

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

ScriptParsedEventBuilder
ScriptParsedEventExecutionContextAuxData
SearchInContentCommand

Searches for given string in script content.

SearchInContentCommandBuilder
SearchInContentReturn

Searches for given string in script content.

SearchMatch

Search match for resource.

SetAsyncCallStackDepthCommand

Enables or disables async call stacks tracking.

SetAsyncCallStackDepthReturn

Enables or disables async call stacks tracking.

SetBreakpointByUrlCommand

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.

SetBreakpointByUrlCommandBuilder
SetBreakpointByUrlReturn

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.

SetBreakpointCommand

Sets JavaScript breakpoint at a given location.

SetBreakpointReturn

Sets JavaScript breakpoint at a given location.

SetBreakpointsActiveCommand

Activates / deactivates all breakpoints on the page.

SetBreakpointsActiveReturn

Activates / deactivates all breakpoints on the page.

SetInstrumentationBreakpointCommand

Sets instrumentation breakpoint.

SetInstrumentationBreakpointReturn

Sets instrumentation breakpoint.

SetPauseOnExceptionsCommand

Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none.

SetPauseOnExceptionsReturn

Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none.

SetScriptSourceCommand

Edits JavaScript source live.

SetScriptSourceReturn

Edits JavaScript source live.

SetScriptSourceReturnBuilder
SetSkipAllPausesCommand

Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).

SetSkipAllPausesReturn

Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).

SetVariableValueCommand

Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.

SetVariableValueCommandBuilder
SetVariableValueReturn

Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.

StepIntoCommand

Steps into the function call.

StepIntoReturn

Steps into the function call.

StepOutCommand

Steps out of the function call.

StepOutReturn

Steps out of the function call.

StepOverCommand

Steps over the statement.

StepOverReturn

Steps over the statement.

Enums

BreakLocationType
ContinueToLocationCommandTargetCallFrames
DebugSymbolsType
PausedEventReason
ScopeType
ScriptLanguage
SetInstrumentationBreakpointCommandInstrumentation
SetPauseOnExceptionsCommandState