package
0.0.0-20250224005500-01948a15fe7c
Repository: https://github.com/chromedp/cdproto.git
Documentation: pkg.go.dev

# Functions

ContinueToLocation continues execution until specific location is reached.
Disable disables debugger for given page.
DisassembleWasmModule [no description].
Enable enables debugger for the given page.
EvaluateOnCallFrame evaluates expression on a given call frame.
GetPossibleBreakpoints returns possible locations for breakpoint.
GetScriptSource returns source for the script with given id.
GetStackTrace returns stack trace with given stackTraceId.
NextWasmDisassemblyChunk disassemble the next chunk of lines for the module corresponding to the stream.
Pause stops on the next JavaScript statement.
RemoveBreakpoint removes JavaScript breakpoint.
RestartFrame restarts particular call frame from the beginning.
Resume resumes JavaScript execution.
SearchInContent searches for given string in script content.
SetAsyncCallStackDepth enables or disables async call stacks tracking.
SetBlackboxedRanges makes backend skip steps in the script in blackboxed ranges.
SetBlackboxExecutionContexts replace previous blackbox execution contexts with passed ones.
SetBlackboxPatterns replace previous blackbox patterns with passed ones.
SetBreakpoint sets JavaScript breakpoint at a given location.
SetBreakpointByURL sets JavaScript breakpoint at given location specified either by URL or URL regex.
SetBreakpointOnFunctionCall sets JavaScript breakpoint before each call to the given function.
SetBreakpointsActive activates / deactivates all breakpoints on the page.
SetInstrumentationBreakpoint sets instrumentation breakpoint.
SetPauseOnExceptions defines pause on exceptions state.
SetReturnValue changes return value in top frame.
SetScriptSource edits JavaScript source live.
SetSkipAllPauses makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
SetVariableValue changes value of variable in a callframe.
StepInto steps into the function call.
StepOut steps out of the function call.
StepOver steps over the statement.

# Constants

BreakLocationType values.
BreakLocationType values.
BreakLocationType values.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
ContinueToLocationTargetCallFrames values.
ContinueToLocationTargetCallFrames values.
DebugSymbolsType values.
DebugSymbolsType values.
DebugSymbolsType values.
ExceptionsState values.
ExceptionsState values.
ExceptionsState values.
ExceptionsState values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
PausedReason values.
RestartFrameMode values.
ScopeType values.
ScopeType values.
ScopeType values.
ScopeType values.
ScopeType values.
ScopeType values.
ScopeType values.
ScopeType values.
ScopeType values.
ScopeType values.
ScriptLanguage values.
ScriptLanguage values.
SetInstrumentationBreakpointInstrumentation values.
SetInstrumentationBreakpointInstrumentation values.
SetScriptSourceStatus values.
SetScriptSourceStatus values.
SetScriptSourceStatus values.
SetScriptSourceStatus values.
SetScriptSourceStatus values.

# Structs

BreakLocation [no description].
CallFrame JavaScript call frame.
ContinueToLocationParams continues execution until specific location is reached.
DebugSymbols debug symbols available for a wasm script.
DisableParams disables debugger for given page.
DisassembleWasmModuleParams [no description].
DisassembleWasmModuleReturns return values.
EnableParams enables debugger for the given page.
EnableReturns return values.
EvaluateOnCallFrameParams evaluates expression on a given call frame.
EvaluateOnCallFrameReturns return values.
EventPaused fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
EventResumed fired when the virtual machine resumed execution.
EventScriptFailedToParse fired when virtual machine fails to parse the script.
EventScriptParsed fired when virtual machine parses script.
GetPossibleBreakpointsParams returns possible locations for breakpoint.
GetPossibleBreakpointsReturns return values.
GetScriptSourceParams returns source for the script with given id.
GetScriptSourceReturns return values.
GetStackTraceParams returns stack trace with given stackTraceId.
GetStackTraceReturns return values.
Location location in the source code.
LocationRange location range within one script.
NextWasmDisassemblyChunkParams disassemble the next chunk of lines for the module corresponding to the stream.
NextWasmDisassemblyChunkReturns return values.
PauseParams stops on the next JavaScript statement.
RemoveBreakpointParams removes JavaScript breakpoint.
ResolvedBreakpoint [no description].
RestartFrameParams restarts particular call frame from the beginning.
ResumeParams resumes JavaScript execution.
Scope scope description.
ScriptPosition location in the source code.
SearchInContentParams searches for given string in script content.
SearchInContentReturns return values.
SearchMatch search match for resource.
SetAsyncCallStackDepthParams enables or disables async call stacks tracking.
SetBlackboxedRangesParams makes backend skip steps in the script in blackboxed ranges.
SetBlackboxExecutionContextsParams replace previous blackbox execution contexts with passed ones.
SetBlackboxPatternsParams replace previous blackbox patterns with passed ones.
SetBreakpointByURLParams sets JavaScript breakpoint at given location specified either by URL or URL regex.
SetBreakpointByURLReturns return values.
SetBreakpointOnFunctionCallParams sets JavaScript breakpoint before each call to the given function.
SetBreakpointOnFunctionCallReturns return values.
SetBreakpointParams sets JavaScript breakpoint at a given location.
SetBreakpointReturns return values.
SetBreakpointsActiveParams activates / deactivates all breakpoints on the page.
SetInstrumentationBreakpointParams sets instrumentation breakpoint.
SetInstrumentationBreakpointReturns return values.
SetPauseOnExceptionsParams defines pause on exceptions state.
SetReturnValueParams changes return value in top frame.
SetScriptSourceParams edits JavaScript source live.
SetScriptSourceReturns return values.
SetSkipAllPausesParams makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
SetVariableValueParams changes value of variable in a callframe.
StepIntoParams steps into the function call.
StepOutParams steps out of the function call.
StepOverParams steps over the statement.
WasmDisassemblyChunk [no description].

# Type aliases

BreakLocationType [no description].
BreakpointID breakpoint identifier.
CallFrameID call frame identifier.
ContinueToLocationTargetCallFrames [no description].
DebugSymbolsType type of the debug symbols.
ExceptionsState pause on exceptions mode.
PausedReason pause reason.
RestartFrameMode the mode parameter must be present and set to 'StepInto', otherwise restartFrame will error out.
ScopeType scope type.
ScriptLanguage enum of possible script languages.
SetInstrumentationBreakpointInstrumentation instrumentation name.
SetScriptSourceStatus whether the operation was successful or not.