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. |
ExecuteWasmEvaluatorCommand | Execute a Wasm Evaluator module on a given call frame. |
ExecuteWasmEvaluatorReturn | Execute a Wasm Evaluator module 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. |
GetStackTraceCommand | Returns stack trace with given |
GetStackTraceReturn | Returns stack trace with given |
GetWasmBytecodeCommand | Deprecated This command is deprecated. Use getScriptSource instead. |
GetWasmBytecodeReturn | Deprecated This command is deprecated. Use getScriptSource instead. |
Location | Location in the source code. |
LocationRange | Location range within one script. |
PauseCommand | Stops on the next JavaScript statement. |
PauseOnAsyncCallCommand | Deprecated |
PauseOnAsyncCallReturn | Deprecated |
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 | |
ScriptPosition | Location in the source code. |
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. |
SetBlackboxPatternsCommand | Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. |
SetBlackboxPatternsReturn | Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. |
SetBlackboxedRangesCommand | Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. |
SetBlackboxedRangesReturn | Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. |
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
|
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
|
SetBreakpointCommand | Sets JavaScript breakpoint at a given location. |
SetBreakpointOnFunctionCallCommand | 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. |
SetBreakpointOnFunctionCallReturn | 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. |
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 |
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 |
SetReturnValueCommand | Changes return value in top frame. Available only at return break position. |
SetReturnValueReturn | Changes return value in top frame. Available only at return break position. |
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 |