Table of Contents

Namespace OpenQA.Selenium.DevTools.V146.Debugger

Classes

BreakLocation

BreakLocation

BreakpointResolvedEventArgs

Fired when breakpoint is resolved to an actual script and location. Deprecated in favor of resolvedBreakpoints in the scriptParsed event.

CallFrame

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

ContinueToLocationCommandResponse

Response for Continues execution until specific location is reached.

ContinueToLocationCommandSettings

Continues execution until specific location is reached.

DebugSymbols

Debug symbols available for a wasm script.

DebuggerAdapter

Represents an adapter for the Debugger domain to simplify the command interface.

DisableCommandResponse

Response for Disables debugger for given page.

DisableCommandSettings

Disables debugger for given page.

DisassembleWasmModuleCommandResponse

Response for DisassembleWasmModule

DisassembleWasmModuleCommandSettings

DisassembleWasmModule

EnableCommandResponse

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

EnableCommandSettings

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

EvaluateOnCallFrameCommandResponse

Response for Evaluates expression on a given call frame.

EvaluateOnCallFrameCommandSettings

Evaluates expression on a given call frame.

GetPossibleBreakpointsCommandResponse

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

GetPossibleBreakpointsCommandSettings

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

GetScriptSourceCommandResponse

Response for Returns source for the script with given id.

GetScriptSourceCommandSettings

Returns source for the script with given id.

GetStackTraceCommandResponse

Response for Returns stack trace with given stackTraceId.

GetStackTraceCommandSettings

Returns stack trace with given stackTraceId.

GetWasmBytecodeCommandResponse

Response for This command is deprecated. Use getScriptSource instead.

GetWasmBytecodeCommandSettings

This command is deprecated. Use getScriptSource instead.

Location

Location in the source code.

LocationRange

Location range within one script.

NextWasmDisassemblyChunkCommandResponse

Response for Disassemble the next chunk of lines for the module corresponding to the stream. If disassembly is complete, this API will invalidate the streamId and return an empty chunk. Any subsequent calls for the now invalid stream will return errors.

NextWasmDisassemblyChunkCommandSettings

Disassemble the next chunk of lines for the module corresponding to the stream. If disassembly is complete, this API will invalidate the streamId and return an empty chunk. Any subsequent calls for the now invalid stream will return errors.

PauseCommandResponse

Response for Stops on the next JavaScript statement.

PauseCommandSettings

Stops on the next JavaScript statement.

PauseOnAsyncCallCommandResponse

Response for PauseOnAsyncCall

PauseOnAsyncCallCommandSettings

PauseOnAsyncCall

PausedEventArgs

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

RemoveBreakpointCommandResponse

Response for Removes JavaScript breakpoint.

RemoveBreakpointCommandSettings

Removes JavaScript breakpoint.

ResolvedBreakpoint

ResolvedBreakpoint

RestartFrameCommandResponse

Response for Restarts particular call frame from the beginning. The old, deprecated behavior of restartFrame is to stay paused and allow further CDP commands after a restart was scheduled. This can cause problems with restarting, so we now continue execution immediatly after it has been scheduled until we reach the beginning of the restarted frame.

To stay back-wards compatible, restartFrame now expects a mode parameter to be present. If the mode parameter is missing, restartFrame errors out.

The various return values are deprecated and callFrames is always empty. Use the call frames from the Debugger#paused events instead, that fires once V8 pauses at the beginning of the restarted function.

RestartFrameCommandSettings

Restarts particular call frame from the beginning. The old, deprecated behavior of restartFrame is to stay paused and allow further CDP commands after a restart was scheduled. This can cause problems with restarting, so we now continue execution immediatly after it has been scheduled until we reach the beginning of the restarted frame.

To stay back-wards compatible, restartFrame now expects a mode parameter to be present. If the mode parameter is missing, restartFrame errors out.

The various return values are deprecated and callFrames is always empty. Use the call frames from the Debugger#paused events instead, that fires once V8 pauses at the beginning of the restarted function.

ResumeCommandResponse

Response for Resumes JavaScript execution.

ResumeCommandSettings

Resumes JavaScript execution.

ResumedEventArgs

Fired when the virtual machine resumed execution.

Scope

Scope description.

ScriptFailedToParseEventArgs

Fired when virtual machine fails to parse the script.

ScriptParsedEventArgs

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

ScriptPosition

Location in the source code.

SearchInContentCommandResponse

Response for Searches for given string in script content.

SearchInContentCommandSettings

Searches for given string in script content.

SearchMatch

Search match for resource.

SetAsyncCallStackDepthCommandResponse

Response for Enables or disables async call stacks tracking.

SetAsyncCallStackDepthCommandSettings

Enables or disables async call stacks tracking.

SetBlackboxExecutionContextsCommandResponse

Response for Replace previous blackbox execution contexts with passed ones. Forces backend to skip stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.

SetBlackboxExecutionContextsCommandSettings

Replace previous blackbox execution contexts with passed ones. Forces backend to skip stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.

SetBlackboxPatternsCommandResponse

Response for 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.

SetBlackboxPatternsCommandSettings

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.

SetBlackboxedRangesCommandResponse

Response for 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.

SetBlackboxedRangesCommandSettings

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.

SetBreakpointByUrlCommandResponse

Response for 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.

SetBreakpointByUrlCommandSettings

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.

SetBreakpointCommandResponse

Response for Sets JavaScript breakpoint at a given location.

SetBreakpointCommandSettings

Sets JavaScript breakpoint at a given location.

SetBreakpointOnFunctionCallCommandResponse

Response for 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.

SetBreakpointOnFunctionCallCommandSettings

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.

SetBreakpointsActiveCommandResponse

Response for Activates / deactivates all breakpoints on the page.

SetBreakpointsActiveCommandSettings

Activates / deactivates all breakpoints on the page.

SetInstrumentationBreakpointCommandResponse

Response for Sets instrumentation breakpoint.

SetInstrumentationBreakpointCommandSettings

Sets instrumentation breakpoint.

SetPauseOnExceptionsCommandResponse

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

SetPauseOnExceptionsCommandSettings

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

SetReturnValueCommandResponse

Response for Changes return value in top frame. Available only at return break position.

SetReturnValueCommandSettings

Changes return value in top frame. Available only at return break position.

SetScriptSourceCommandResponse

Response for Edits JavaScript source live.

In general, functions that are currently on the stack can not be edited with a single exception: If the edited function is the top-most stack frame and that is the only activation of that function on the stack. In this case the live edit will be successful and a Debugger.restartFrame for the top-most function is automatically triggered.

SetScriptSourceCommandSettings

Edits JavaScript source live.

In general, functions that are currently on the stack can not be edited with a single exception: If the edited function is the top-most stack frame and that is the only activation of that function on the stack. In this case the live edit will be successful and a Debugger.restartFrame for the top-most function is automatically triggered.

SetSkipAllPausesCommandResponse

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

SetSkipAllPausesCommandSettings

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

SetVariableValueCommandResponse

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

SetVariableValueCommandSettings

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

StepIntoCommandResponse

Response for Steps into the function call.

StepIntoCommandSettings

Steps into the function call.

StepOutCommandResponse

Response for Steps out of the function call.

StepOutCommandSettings

Steps out of the function call.

StepOverCommandResponse

Response for Steps over the statement.

StepOverCommandSettings

Steps over the statement.

WasmDisassemblyChunk

WasmDisassemblyChunk

Enums

BreakLocationTypeValues

Enumerated values for Debugger.BreakLocation.type

DebugSymbolsTypeValues

Enumerated values for Debugger.DebugSymbols.type

ScopeTypeValues

Enumerated values for Debugger.Scope.type

ScriptLanguage

Enum of possible script languages.