package debugger
Import Path
github.com/chromedp/cdproto/debugger (on go.dev)
Dependency Relation
imports 9 packages, and imported by 4 packages
Involved Source Files
Package debugger provides the Chrome DevTools Protocol
commands, types, and events for the Debugger domain.
Debugger domain exposes JavaScript debugging capabilities. It allows
setting and removing breakpoints, stepping through execution, exploring stack
traces, etc.
Generated by the cdproto-gen command.
easyjson.go
events.go
types.go
Package-Level Type Names (total 69)
BreakLocation [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-BreakLocation
// Column number in the script (0-based).
// Line number in the script (0-based).
// Script identifier as reported in the Debugger.scriptParsed.
Type BreakLocationType
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
BreakLocation : github.com/goccy/go-json.Marshaler
*BreakLocation : github.com/goccy/go-json.Unmarshaler
BreakLocation : github.com/mailru/easyjson.Marshaler
*BreakLocation : github.com/mailru/easyjson.MarshalerUnmarshaler
*BreakLocation : github.com/mailru/easyjson.Unmarshaler
BreakLocation : encoding/json.Marshaler
*BreakLocation : encoding/json.Unmarshaler
func (*GetPossibleBreakpointsParams).Do(ctx context.Context) (locations []*BreakLocation, err error)
BreakLocationType [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-BreakLocation
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the BreakLocationType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
BreakLocationType : github.com/goccy/go-json.Marshaler
*BreakLocationType : github.com/goccy/go-json.Unmarshaler
BreakLocationType : github.com/mailru/easyjson.Marshaler
*BreakLocationType : github.com/mailru/easyjson.MarshalerUnmarshaler
*BreakLocationType : github.com/mailru/easyjson.Unmarshaler
BreakLocationType : encoding/json.Marshaler
*BreakLocationType : encoding/json.Unmarshaler
BreakLocationType : expvar.Var
BreakLocationType : fmt.Stringer
const BreakLocationTypeCall
const BreakLocationTypeDebuggerStatement
const BreakLocationTypeReturn
BreakpointID breakpoint identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-BreakpointId
String returns the BreakpointID as string value.
BreakpointID : expvar.Var
BreakpointID : fmt.Stringer
func (*SetBreakpointByURLParams).Do(ctx context.Context) (breakpointID BreakpointID, locations []*Location, err error)
func (*SetBreakpointOnFunctionCallParams).Do(ctx context.Context) (breakpointID BreakpointID, err error)
func (*SetBreakpointParams).Do(ctx context.Context) (breakpointID BreakpointID, actualLocation *Location, err error)
func (*SetInstrumentationBreakpointParams).Do(ctx context.Context) (breakpointID BreakpointID, err error)
func RemoveBreakpoint(breakpointID BreakpointID) *RemoveBreakpointParams
CallFrame JavaScript call frame. Array of call frames form the call stack.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-CallFrame
// Call frame identifier. This identifier is only valid while the virtual machine is paused.
// Valid only while the VM is paused and indicates whether this frame can be restarted or not. Note that a true value here does not guarantee that Debugger#restartFrame with this CallFrameId will be successful, but it is very likely.
// Location in the source code.
// Name of the JavaScript function called on this call frame.
// Location in the source code.
// The value being returned, if the function is at return point.
// Scope chain for this call frame.
// this object for this call frame.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CallFrame : github.com/goccy/go-json.Marshaler
*CallFrame : github.com/goccy/go-json.Unmarshaler
CallFrame : github.com/mailru/easyjson.Marshaler
*CallFrame : github.com/mailru/easyjson.MarshalerUnmarshaler
*CallFrame : github.com/mailru/easyjson.Unmarshaler
CallFrame : encoding/json.Marshaler
*CallFrame : encoding/json.Unmarshaler
CallFrameID call frame identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-CallFrameId
String returns the CallFrameID as string value.
CallFrameID : expvar.Var
CallFrameID : fmt.Stringer
func EvaluateOnCallFrame(callFrameID CallFrameID, expression string) *EvaluateOnCallFrameParams
func RestartFrame(callFrameID CallFrameID) *RestartFrameParams
func SetVariableValue(scopeNumber int64, variableName string, newValue *runtime.CallArgument, callFrameID CallFrameID) *SetVariableValueParams
ContinueToLocationParams continues execution until specific location is
reached.
// Location to continue to.
TargetCallFrames ContinueToLocationTargetCallFrames
Do executes Debugger.continueToLocation against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithTargetCallFrames [no description].
*ContinueToLocationParams : github.com/chromedp/chromedp.Action
*ContinueToLocationParams : github.com/chromedp/chromedp.CallAction
*ContinueToLocationParams : github.com/chromedp/chromedp.EmulateAction
*ContinueToLocationParams : github.com/chromedp/chromedp.EvaluateAction
*ContinueToLocationParams : github.com/chromedp/chromedp.KeyAction
*ContinueToLocationParams : github.com/chromedp/chromedp.MouseAction
*ContinueToLocationParams : github.com/chromedp/chromedp.NavigateAction
*ContinueToLocationParams : github.com/chromedp/chromedp.PollAction
*ContinueToLocationParams : github.com/chromedp/chromedp.QueryAction
ContinueToLocationParams : github.com/goccy/go-json.Marshaler
*ContinueToLocationParams : github.com/goccy/go-json.Unmarshaler
ContinueToLocationParams : github.com/mailru/easyjson.Marshaler
*ContinueToLocationParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ContinueToLocationParams : github.com/mailru/easyjson.Unmarshaler
ContinueToLocationParams : encoding/json.Marshaler
*ContinueToLocationParams : encoding/json.Unmarshaler
func ContinueToLocation(location *Location) *ContinueToLocationParams
func ContinueToLocationParams.WithTargetCallFrames(targetCallFrames ContinueToLocationTargetCallFrames) *ContinueToLocationParams
ContinueToLocationTargetCallFrames [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-continueToLocation
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ContinueToLocationTargetCallFrames as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ContinueToLocationTargetCallFrames : github.com/goccy/go-json.Marshaler
*ContinueToLocationTargetCallFrames : github.com/goccy/go-json.Unmarshaler
ContinueToLocationTargetCallFrames : github.com/mailru/easyjson.Marshaler
*ContinueToLocationTargetCallFrames : github.com/mailru/easyjson.MarshalerUnmarshaler
*ContinueToLocationTargetCallFrames : github.com/mailru/easyjson.Unmarshaler
ContinueToLocationTargetCallFrames : encoding/json.Marshaler
*ContinueToLocationTargetCallFrames : encoding/json.Unmarshaler
ContinueToLocationTargetCallFrames : expvar.Var
ContinueToLocationTargetCallFrames : fmt.Stringer
func ContinueToLocationParams.WithTargetCallFrames(targetCallFrames ContinueToLocationTargetCallFrames) *ContinueToLocationParams
const ContinueToLocationTargetCallFramesAny
const ContinueToLocationTargetCallFramesCurrent
DebugSymbols debug symbols available for a wasm script.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-DebugSymbols
// URL of the external symbol source.
// Type of the debug symbols.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
DebugSymbols : github.com/goccy/go-json.Marshaler
*DebugSymbols : github.com/goccy/go-json.Unmarshaler
DebugSymbols : github.com/mailru/easyjson.Marshaler
*DebugSymbols : github.com/mailru/easyjson.MarshalerUnmarshaler
*DebugSymbols : github.com/mailru/easyjson.Unmarshaler
DebugSymbols : encoding/json.Marshaler
*DebugSymbols : encoding/json.Unmarshaler
DebugSymbolsType type of the debug symbols.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-DebugSymbols
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the DebugSymbolsType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
DebugSymbolsType : github.com/goccy/go-json.Marshaler
*DebugSymbolsType : github.com/goccy/go-json.Unmarshaler
DebugSymbolsType : github.com/mailru/easyjson.Marshaler
*DebugSymbolsType : github.com/mailru/easyjson.MarshalerUnmarshaler
*DebugSymbolsType : github.com/mailru/easyjson.Unmarshaler
DebugSymbolsType : encoding/json.Marshaler
*DebugSymbolsType : encoding/json.Unmarshaler
DebugSymbolsType : expvar.Var
DebugSymbolsType : fmt.Stringer
const DebugSymbolsTypeEmbeddedDWARF
const DebugSymbolsTypeExternalDWARF
const DebugSymbolsTypeNone
const DebugSymbolsTypeSourceMap
DisableParams disables debugger for given page.
Do executes Debugger.disable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DisableParams : github.com/chromedp/chromedp.Action
*DisableParams : github.com/chromedp/chromedp.CallAction
*DisableParams : github.com/chromedp/chromedp.EmulateAction
*DisableParams : github.com/chromedp/chromedp.EvaluateAction
*DisableParams : github.com/chromedp/chromedp.KeyAction
*DisableParams : github.com/chromedp/chromedp.MouseAction
*DisableParams : github.com/chromedp/chromedp.NavigateAction
*DisableParams : github.com/chromedp/chromedp.PollAction
*DisableParams : github.com/chromedp/chromedp.QueryAction
DisableParams : github.com/goccy/go-json.Marshaler
*DisableParams : github.com/goccy/go-json.Unmarshaler
DisableParams : github.com/mailru/easyjson.Marshaler
*DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisableParams : github.com/mailru/easyjson.Unmarshaler
DisableParams : encoding/json.Marshaler
*DisableParams : encoding/json.Unmarshaler
func Disable() *DisableParams
DisassembleWasmModuleParams [no description].
// Id of the script to get source for.
Do executes Debugger.disassembleWasmModule against the provided context.
returns:
streamID - For large modules, return a stream from which additional chunks of disassembly can be read successively.
totalNumberOfLines - The total number of lines in the disassembly text.
functionBodyOffsets - The offsets of all function bodies, in the format [start1, end1, start2, end2, ...] where all ends are exclusive.
chunk - The first chunk of disassembly.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
DisassembleWasmModuleParams : github.com/goccy/go-json.Marshaler
*DisassembleWasmModuleParams : github.com/goccy/go-json.Unmarshaler
DisassembleWasmModuleParams : github.com/mailru/easyjson.Marshaler
*DisassembleWasmModuleParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisassembleWasmModuleParams : github.com/mailru/easyjson.Unmarshaler
DisassembleWasmModuleParams : encoding/json.Marshaler
*DisassembleWasmModuleParams : encoding/json.Unmarshaler
func DisassembleWasmModule(scriptID runtime.ScriptID) *DisassembleWasmModuleParams
DisassembleWasmModuleReturns return values.
// The first chunk of disassembly.
// The offsets of all function bodies, in the format [start1, end1, start2, end2, ...] where all ends are exclusive.
// For large modules, return a stream from which additional chunks of disassembly can be read successively.
// The total number of lines in the disassembly text.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
DisassembleWasmModuleReturns : github.com/goccy/go-json.Marshaler
*DisassembleWasmModuleReturns : github.com/goccy/go-json.Unmarshaler
DisassembleWasmModuleReturns : github.com/mailru/easyjson.Marshaler
*DisassembleWasmModuleReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisassembleWasmModuleReturns : github.com/mailru/easyjson.Unmarshaler
DisassembleWasmModuleReturns : encoding/json.Marshaler
*DisassembleWasmModuleReturns : encoding/json.Unmarshaler
EnableParams enables debugger for the given page. Clients should not
assume that the debugging has been enabled until the result for this command
is received.
// The maximum size in bytes of collected scripts (not referenced by other heap objects) the debugger can hold. Puts no limit if parameter is omitted.
Do executes Debugger.enable against the provided context.
returns:
debuggerID - Unique identifier of the debugger.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithMaxScriptsCacheSize the maximum size in bytes of collected scripts
(not referenced by other heap objects) the debugger can hold. Puts no limit
if parameter is omitted.
EnableParams : github.com/goccy/go-json.Marshaler
*EnableParams : github.com/goccy/go-json.Unmarshaler
EnableParams : github.com/mailru/easyjson.Marshaler
*EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EnableParams : github.com/mailru/easyjson.Unmarshaler
EnableParams : encoding/json.Marshaler
*EnableParams : encoding/json.Unmarshaler
func Enable() *EnableParams
func EnableParams.WithMaxScriptsCacheSize(maxScriptsCacheSize float64) *EnableParams
EnableReturns return values.
// Unique identifier of the debugger.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EnableReturns : github.com/goccy/go-json.Marshaler
*EnableReturns : github.com/goccy/go-json.Unmarshaler
EnableReturns : github.com/mailru/easyjson.Marshaler
*EnableReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*EnableReturns : github.com/mailru/easyjson.Unmarshaler
EnableReturns : encoding/json.Marshaler
*EnableReturns : encoding/json.Unmarshaler
EvaluateOnCallFrameParams evaluates expression on a given call frame.
// Call frame identifier to evaluate on.
// Expression to evaluate.
// Whether preview should be generated for the result.
// Specifies whether command line API should be available to the evaluated expression, defaults to false.
// String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup).
// Whether the result is expected to be a JSON object that should be sent by value.
// In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
// Whether to throw an exception if side effect cannot be ruled out during evaluation.
// Terminate execution after timing out (number of milliseconds).
Do executes Debugger.evaluateOnCallFrame against the provided context.
returns:
result - Object wrapper for the evaluation result.
exceptionDetails - Exception details.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithGeneratePreview whether preview should be generated for the result.
WithIncludeCommandLineAPI specifies whether command line API should be
available to the evaluated expression, defaults to false.
WithObjectGroup string object group name to put result into (allows rapid
releasing resulting object handles using releaseObjectGroup).
WithReturnByValue whether the result is expected to be a JSON object that
should be sent by value.
WithSilent in silent mode exceptions thrown during evaluation are not
reported and do not pause execution. Overrides setPauseOnException state.
WithThrowOnSideEffect whether to throw an exception if side effect cannot
be ruled out during evaluation.
WithTimeout terminate execution after timing out (number of milliseconds).
EvaluateOnCallFrameParams : github.com/goccy/go-json.Marshaler
*EvaluateOnCallFrameParams : github.com/goccy/go-json.Unmarshaler
EvaluateOnCallFrameParams : github.com/mailru/easyjson.Marshaler
*EvaluateOnCallFrameParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EvaluateOnCallFrameParams : github.com/mailru/easyjson.Unmarshaler
EvaluateOnCallFrameParams : encoding/json.Marshaler
*EvaluateOnCallFrameParams : encoding/json.Unmarshaler
func EvaluateOnCallFrame(callFrameID CallFrameID, expression string) *EvaluateOnCallFrameParams
func EvaluateOnCallFrameParams.WithGeneratePreview(generatePreview bool) *EvaluateOnCallFrameParams
func EvaluateOnCallFrameParams.WithIncludeCommandLineAPI(includeCommandLineAPI bool) *EvaluateOnCallFrameParams
func EvaluateOnCallFrameParams.WithObjectGroup(objectGroup string) *EvaluateOnCallFrameParams
func EvaluateOnCallFrameParams.WithReturnByValue(returnByValue bool) *EvaluateOnCallFrameParams
func EvaluateOnCallFrameParams.WithSilent(silent bool) *EvaluateOnCallFrameParams
func EvaluateOnCallFrameParams.WithThrowOnSideEffect(throwOnSideEffect bool) *EvaluateOnCallFrameParams
func EvaluateOnCallFrameParams.WithTimeout(timeout runtime.TimeDelta) *EvaluateOnCallFrameParams
EvaluateOnCallFrameReturns return values.
// Exception details if stack strace is available.
// Promise result. Will contain rejected value if promise was rejected.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EvaluateOnCallFrameReturns : github.com/goccy/go-json.Marshaler
*EvaluateOnCallFrameReturns : github.com/goccy/go-json.Unmarshaler
EvaluateOnCallFrameReturns : github.com/mailru/easyjson.Marshaler
*EvaluateOnCallFrameReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*EvaluateOnCallFrameReturns : github.com/mailru/easyjson.Unmarshaler
EvaluateOnCallFrameReturns : encoding/json.Marshaler
*EvaluateOnCallFrameReturns : encoding/json.Unmarshaler
EventBreakpointResolved fired when breakpoint is resolved to an actual
script and location.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#event-breakpointResolved
// Breakpoint unique identifier.
// Actual breakpoint location.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventBreakpointResolved : github.com/goccy/go-json.Marshaler
*EventBreakpointResolved : github.com/goccy/go-json.Unmarshaler
EventBreakpointResolved : github.com/mailru/easyjson.Marshaler
*EventBreakpointResolved : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventBreakpointResolved : github.com/mailru/easyjson.Unmarshaler
EventBreakpointResolved : encoding/json.Marshaler
*EventBreakpointResolved : encoding/json.Unmarshaler
EventPaused fired when the virtual machine stopped on breakpoint or
exception or any other stop criteria.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#event-paused
// Async stack trace, if any.
// Async stack trace, if any.
// Call stack the virtual machine stopped on.
Data easyjson.RawMessage
// Hit breakpoints IDs
// Pause reason.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventPaused : github.com/goccy/go-json.Marshaler
*EventPaused : github.com/goccy/go-json.Unmarshaler
EventPaused : github.com/mailru/easyjson.Marshaler
*EventPaused : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventPaused : github.com/mailru/easyjson.Unmarshaler
EventPaused : encoding/json.Marshaler
*EventPaused : encoding/json.Unmarshaler
EventResumed fired when the virtual machine resumed execution.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#event-resumed
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventResumed : github.com/goccy/go-json.Marshaler
*EventResumed : github.com/goccy/go-json.Unmarshaler
EventResumed : github.com/mailru/easyjson.Marshaler
*EventResumed : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventResumed : github.com/mailru/easyjson.Unmarshaler
EventResumed : encoding/json.Marshaler
*EventResumed : encoding/json.Unmarshaler
EventScriptFailedToParse fired when virtual machine fails to parse the
script.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#event-scriptFailedToParse
// If the scriptLanguage is WebAssembly, the code section offset in the module.
// The name the embedder supplied for this script.
// Length of the last line of the script.
// Last line of the script.
ExecutionContextAuxData easyjson.RawMessage
// Specifies script creation context.
// True, if this script has sourceURL.
// Content hash of the script, SHA-256.
// True, if this script is ES6 module.
// This script length.
// Identifier of the script parsed.
// The language of the script.
// URL of source map associated with script (if any).
// JavaScript top stack frame of where the script parsed event was triggered if available.
// Column offset of the script within the resource with given URL.
// Line offset of the script within the resource with given URL (for script tags).
// URL or name of the script parsed (if any).
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventScriptFailedToParse : github.com/goccy/go-json.Marshaler
*EventScriptFailedToParse : github.com/goccy/go-json.Unmarshaler
EventScriptFailedToParse : github.com/mailru/easyjson.Marshaler
*EventScriptFailedToParse : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventScriptFailedToParse : github.com/mailru/easyjson.Unmarshaler
EventScriptFailedToParse : encoding/json.Marshaler
*EventScriptFailedToParse : encoding/json.Unmarshaler
EventScriptParsed fired when virtual machine parses script. This event is
also fired for all known and uncollected scripts upon enabling debugger.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#event-scriptParsed
// If the scriptLanguage is WebAssembly, the code section offset in the module.
// If the scriptLanguage is WebASsembly, the source of debug symbols for the module.
// The name the embedder supplied for this script.
// Length of the last line of the script.
// Last line of the script.
ExecutionContextAuxData easyjson.RawMessage
// Specifies script creation context.
// True, if this script has sourceURL.
// Content hash of the script, SHA-256.
// True, if this script is generated as a result of the live edit operation.
// True, if this script is ES6 module.
// This script length.
// Identifier of the script parsed.
// The language of the script.
// URL of source map associated with script (if any).
// JavaScript top stack frame of where the script parsed event was triggered if available.
// Column offset of the script within the resource with given URL.
// Line offset of the script within the resource with given URL (for script tags).
// URL or name of the script parsed (if any).
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventScriptParsed : github.com/goccy/go-json.Marshaler
*EventScriptParsed : github.com/goccy/go-json.Unmarshaler
EventScriptParsed : github.com/mailru/easyjson.Marshaler
*EventScriptParsed : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventScriptParsed : github.com/mailru/easyjson.Unmarshaler
EventScriptParsed : encoding/json.Marshaler
*EventScriptParsed : encoding/json.Unmarshaler
ExceptionsState pause on exceptions mode.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setPauseOnExceptions
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ExceptionsState as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ExceptionsState : github.com/goccy/go-json.Marshaler
*ExceptionsState : github.com/goccy/go-json.Unmarshaler
ExceptionsState : github.com/mailru/easyjson.Marshaler
*ExceptionsState : github.com/mailru/easyjson.MarshalerUnmarshaler
*ExceptionsState : github.com/mailru/easyjson.Unmarshaler
ExceptionsState : encoding/json.Marshaler
*ExceptionsState : encoding/json.Unmarshaler
ExceptionsState : expvar.Var
ExceptionsState : fmt.Stringer
func SetPauseOnExceptions(state ExceptionsState) *SetPauseOnExceptionsParams
const ExceptionsStateAll
const ExceptionsStateCaught
const ExceptionsStateNone
const ExceptionsStateUncaught
GetPossibleBreakpointsParams returns possible locations for breakpoint.
scriptId in start and end range locations should be the same.
// End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range.
// Only consider locations which are in the same (non-nested) function as start.
// Start of range to search possible breakpoint locations in.
Do executes Debugger.getPossibleBreakpoints against the provided context.
returns:
locations - List of the possible breakpoint locations.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithEnd end of range to search possible breakpoint locations in
(excluding). When not specified, end of scripts is used as end of range.
WithRestrictToFunction only consider locations which are in the same
(non-nested) function as start.
GetPossibleBreakpointsParams : github.com/goccy/go-json.Marshaler
*GetPossibleBreakpointsParams : github.com/goccy/go-json.Unmarshaler
GetPossibleBreakpointsParams : github.com/mailru/easyjson.Marshaler
*GetPossibleBreakpointsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetPossibleBreakpointsParams : github.com/mailru/easyjson.Unmarshaler
GetPossibleBreakpointsParams : encoding/json.Marshaler
*GetPossibleBreakpointsParams : encoding/json.Unmarshaler
func GetPossibleBreakpoints(start *Location) *GetPossibleBreakpointsParams
func GetPossibleBreakpointsParams.WithEnd(end *Location) *GetPossibleBreakpointsParams
func GetPossibleBreakpointsParams.WithRestrictToFunction(restrictToFunction bool) *GetPossibleBreakpointsParams
GetPossibleBreakpointsReturns return values.
// List of the possible breakpoint locations.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetPossibleBreakpointsReturns : github.com/goccy/go-json.Marshaler
*GetPossibleBreakpointsReturns : github.com/goccy/go-json.Unmarshaler
GetPossibleBreakpointsReturns : github.com/mailru/easyjson.Marshaler
*GetPossibleBreakpointsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetPossibleBreakpointsReturns : github.com/mailru/easyjson.Unmarshaler
GetPossibleBreakpointsReturns : encoding/json.Marshaler
*GetPossibleBreakpointsReturns : encoding/json.Unmarshaler
GetScriptSourceParams returns source for the script with given id.
// Id of the script to get source for.
Do executes Debugger.getScriptSource against the provided context.
returns:
scriptSource - Script source (empty in case of Wasm bytecode).
bytecode - Wasm bytecode.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetScriptSourceParams : github.com/goccy/go-json.Marshaler
*GetScriptSourceParams : github.com/goccy/go-json.Unmarshaler
GetScriptSourceParams : github.com/mailru/easyjson.Marshaler
*GetScriptSourceParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetScriptSourceParams : github.com/mailru/easyjson.Unmarshaler
GetScriptSourceParams : encoding/json.Marshaler
*GetScriptSourceParams : encoding/json.Unmarshaler
func GetScriptSource(scriptID runtime.ScriptID) *GetScriptSourceParams
GetScriptSourceReturns return values.
// Wasm bytecode.
// Script source (empty in case of Wasm bytecode).
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetScriptSourceReturns : github.com/goccy/go-json.Marshaler
*GetScriptSourceReturns : github.com/goccy/go-json.Unmarshaler
GetScriptSourceReturns : github.com/mailru/easyjson.Marshaler
*GetScriptSourceReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetScriptSourceReturns : github.com/mailru/easyjson.Unmarshaler
GetScriptSourceReturns : encoding/json.Marshaler
*GetScriptSourceReturns : encoding/json.Unmarshaler
GetStackTraceParams returns stack trace with given stackTraceId.
StackTraceID *runtime.StackTraceID
Do executes Debugger.getStackTrace against the provided context.
returns:
stackTrace
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetStackTraceParams : github.com/goccy/go-json.Marshaler
*GetStackTraceParams : github.com/goccy/go-json.Unmarshaler
GetStackTraceParams : github.com/mailru/easyjson.Marshaler
*GetStackTraceParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetStackTraceParams : github.com/mailru/easyjson.Unmarshaler
GetStackTraceParams : encoding/json.Marshaler
*GetStackTraceParams : encoding/json.Unmarshaler
func GetStackTrace(stackTraceID *runtime.StackTraceID) *GetStackTraceParams
GetStackTraceReturns return values.
StackTrace *runtime.StackTrace
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetStackTraceReturns : github.com/goccy/go-json.Marshaler
*GetStackTraceReturns : github.com/goccy/go-json.Unmarshaler
GetStackTraceReturns : github.com/mailru/easyjson.Marshaler
*GetStackTraceReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetStackTraceReturns : github.com/mailru/easyjson.Unmarshaler
GetStackTraceReturns : encoding/json.Marshaler
*GetStackTraceReturns : encoding/json.Unmarshaler
Location location in the source code.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-Location
// Column number in the script (0-based).
// Line number in the script (0-based).
// Script identifier as reported in the Debugger.scriptParsed.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Location : github.com/goccy/go-json.Marshaler
*Location : github.com/goccy/go-json.Unmarshaler
Location : github.com/mailru/easyjson.Marshaler
*Location : github.com/mailru/easyjson.MarshalerUnmarshaler
*Location : github.com/mailru/easyjson.Unmarshaler
Location : encoding/json.Marshaler
*Location : encoding/json.Unmarshaler
func (*SetBreakpointByURLParams).Do(ctx context.Context) (breakpointID BreakpointID, locations []*Location, err error)
func (*SetBreakpointParams).Do(ctx context.Context) (breakpointID BreakpointID, actualLocation *Location, err error)
func ContinueToLocation(location *Location) *ContinueToLocationParams
func GetPossibleBreakpoints(start *Location) *GetPossibleBreakpointsParams
func SetBreakpoint(location *Location) *SetBreakpointParams
func GetPossibleBreakpointsParams.WithEnd(end *Location) *GetPossibleBreakpointsParams
LocationRange location range within one script.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-LocationRange
End *ScriptPosition
ScriptID runtime.ScriptID
Start *ScriptPosition
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
LocationRange : github.com/goccy/go-json.Marshaler
*LocationRange : github.com/goccy/go-json.Unmarshaler
LocationRange : github.com/mailru/easyjson.Marshaler
*LocationRange : github.com/mailru/easyjson.MarshalerUnmarshaler
*LocationRange : github.com/mailru/easyjson.Unmarshaler
LocationRange : encoding/json.Marshaler
*LocationRange : encoding/json.Unmarshaler
func StepIntoParams.WithSkipList(skipList []*LocationRange) *StepIntoParams
func StepOverParams.WithSkipList(skipList []*LocationRange) *StepOverParams
NextWasmDisassemblyChunkParams 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.
StreamID string
Do executes Debugger.nextWasmDisassemblyChunk against the provided context.
returns:
chunk - The next chunk of disassembly.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
NextWasmDisassemblyChunkParams : github.com/goccy/go-json.Marshaler
*NextWasmDisassemblyChunkParams : github.com/goccy/go-json.Unmarshaler
NextWasmDisassemblyChunkParams : github.com/mailru/easyjson.Marshaler
*NextWasmDisassemblyChunkParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*NextWasmDisassemblyChunkParams : github.com/mailru/easyjson.Unmarshaler
NextWasmDisassemblyChunkParams : encoding/json.Marshaler
*NextWasmDisassemblyChunkParams : encoding/json.Unmarshaler
func NextWasmDisassemblyChunk(streamID string) *NextWasmDisassemblyChunkParams
NextWasmDisassemblyChunkReturns return values.
// The next chunk of disassembly.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
NextWasmDisassemblyChunkReturns : github.com/goccy/go-json.Marshaler
*NextWasmDisassemblyChunkReturns : github.com/goccy/go-json.Unmarshaler
NextWasmDisassemblyChunkReturns : github.com/mailru/easyjson.Marshaler
*NextWasmDisassemblyChunkReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*NextWasmDisassemblyChunkReturns : github.com/mailru/easyjson.Unmarshaler
NextWasmDisassemblyChunkReturns : encoding/json.Marshaler
*NextWasmDisassemblyChunkReturns : encoding/json.Unmarshaler
PausedReason pause reason.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#event-paused
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the PausedReason as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
PausedReason : github.com/goccy/go-json.Marshaler
*PausedReason : github.com/goccy/go-json.Unmarshaler
PausedReason : github.com/mailru/easyjson.Marshaler
*PausedReason : github.com/mailru/easyjson.MarshalerUnmarshaler
*PausedReason : github.com/mailru/easyjson.Unmarshaler
PausedReason : encoding/json.Marshaler
*PausedReason : encoding/json.Unmarshaler
PausedReason : expvar.Var
PausedReason : fmt.Stringer
const PausedReasonAmbiguous
const PausedReasonAssert
const PausedReasonCSPViolation
const PausedReasonDebugCommand
const PausedReasonDOM
const PausedReasonEventListener
const PausedReasonException
const PausedReasonInstrumentation
const PausedReasonOOM
const PausedReasonOther
const PausedReasonPromiseRejection
const PausedReasonStep
const PausedReasonXHR
PauseParams stops on the next JavaScript statement.
Do executes Debugger.pause against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*PauseParams : github.com/chromedp/chromedp.Action
*PauseParams : github.com/chromedp/chromedp.CallAction
*PauseParams : github.com/chromedp/chromedp.EmulateAction
*PauseParams : github.com/chromedp/chromedp.EvaluateAction
*PauseParams : github.com/chromedp/chromedp.KeyAction
*PauseParams : github.com/chromedp/chromedp.MouseAction
*PauseParams : github.com/chromedp/chromedp.NavigateAction
*PauseParams : github.com/chromedp/chromedp.PollAction
*PauseParams : github.com/chromedp/chromedp.QueryAction
PauseParams : github.com/goccy/go-json.Marshaler
*PauseParams : github.com/goccy/go-json.Unmarshaler
PauseParams : github.com/mailru/easyjson.Marshaler
*PauseParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*PauseParams : github.com/mailru/easyjson.Unmarshaler
PauseParams : encoding/json.Marshaler
*PauseParams : encoding/json.Unmarshaler
func Pause() *PauseParams
RemoveBreakpointParams removes JavaScript breakpoint.
BreakpointID BreakpointID
Do executes Debugger.removeBreakpoint against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*RemoveBreakpointParams : github.com/chromedp/chromedp.Action
*RemoveBreakpointParams : github.com/chromedp/chromedp.CallAction
*RemoveBreakpointParams : github.com/chromedp/chromedp.EmulateAction
*RemoveBreakpointParams : github.com/chromedp/chromedp.EvaluateAction
*RemoveBreakpointParams : github.com/chromedp/chromedp.KeyAction
*RemoveBreakpointParams : github.com/chromedp/chromedp.MouseAction
*RemoveBreakpointParams : github.com/chromedp/chromedp.NavigateAction
*RemoveBreakpointParams : github.com/chromedp/chromedp.PollAction
*RemoveBreakpointParams : github.com/chromedp/chromedp.QueryAction
RemoveBreakpointParams : github.com/goccy/go-json.Marshaler
*RemoveBreakpointParams : github.com/goccy/go-json.Unmarshaler
RemoveBreakpointParams : github.com/mailru/easyjson.Marshaler
*RemoveBreakpointParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*RemoveBreakpointParams : github.com/mailru/easyjson.Unmarshaler
RemoveBreakpointParams : encoding/json.Marshaler
*RemoveBreakpointParams : encoding/json.Unmarshaler
func RemoveBreakpoint(breakpointID BreakpointID) *RemoveBreakpointParams
RestartFrameMode the mode parameter must be present and set to 'StepInto',
otherwise restartFrame will error out.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-restartFrame
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the RestartFrameMode as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
RestartFrameMode : github.com/goccy/go-json.Marshaler
*RestartFrameMode : github.com/goccy/go-json.Unmarshaler
RestartFrameMode : github.com/mailru/easyjson.Marshaler
*RestartFrameMode : github.com/mailru/easyjson.MarshalerUnmarshaler
*RestartFrameMode : github.com/mailru/easyjson.Unmarshaler
RestartFrameMode : encoding/json.Marshaler
*RestartFrameMode : encoding/json.Unmarshaler
RestartFrameMode : expvar.Var
RestartFrameMode : fmt.Stringer
func RestartFrameParams.WithMode(mode RestartFrameMode) *RestartFrameParams
const RestartFrameModeStepInto
RestartFrameParams 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 immediately 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.
// Call frame identifier to evaluate on.
// The mode parameter must be present and set to 'StepInto', otherwise restartFrame will error out.
Do executes Debugger.restartFrame against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithMode the mode parameter must be present and set to 'StepInto',
otherwise restartFrame will error out.
*RestartFrameParams : github.com/chromedp/chromedp.Action
*RestartFrameParams : github.com/chromedp/chromedp.CallAction
*RestartFrameParams : github.com/chromedp/chromedp.EmulateAction
*RestartFrameParams : github.com/chromedp/chromedp.EvaluateAction
*RestartFrameParams : github.com/chromedp/chromedp.KeyAction
*RestartFrameParams : github.com/chromedp/chromedp.MouseAction
*RestartFrameParams : github.com/chromedp/chromedp.NavigateAction
*RestartFrameParams : github.com/chromedp/chromedp.PollAction
*RestartFrameParams : github.com/chromedp/chromedp.QueryAction
RestartFrameParams : github.com/goccy/go-json.Marshaler
*RestartFrameParams : github.com/goccy/go-json.Unmarshaler
RestartFrameParams : github.com/mailru/easyjson.Marshaler
*RestartFrameParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*RestartFrameParams : github.com/mailru/easyjson.Unmarshaler
RestartFrameParams : encoding/json.Marshaler
*RestartFrameParams : encoding/json.Unmarshaler
func RestartFrame(callFrameID CallFrameID) *RestartFrameParams
func RestartFrameParams.WithMode(mode RestartFrameMode) *RestartFrameParams
ResumeParams resumes JavaScript execution.
// Set to true to terminate execution upon resuming execution. In contrast to Runtime.terminateExecution, this will allows to execute further JavaScript (i.e. via evaluation) until execution of the paused code is actually resumed, at which point termination is triggered. If execution is currently not paused, this parameter has no effect.
Do executes Debugger.resume against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithTerminateOnResume set to true to terminate execution upon resuming
execution. In contrast to Runtime.terminateExecution, this will allows to
execute further JavaScript (i.e. via evaluation) until execution of the
paused code is actually resumed, at which point termination is triggered. If
execution is currently not paused, this parameter has no effect.
*ResumeParams : github.com/chromedp/chromedp.Action
*ResumeParams : github.com/chromedp/chromedp.CallAction
*ResumeParams : github.com/chromedp/chromedp.EmulateAction
*ResumeParams : github.com/chromedp/chromedp.EvaluateAction
*ResumeParams : github.com/chromedp/chromedp.KeyAction
*ResumeParams : github.com/chromedp/chromedp.MouseAction
*ResumeParams : github.com/chromedp/chromedp.NavigateAction
*ResumeParams : github.com/chromedp/chromedp.PollAction
*ResumeParams : github.com/chromedp/chromedp.QueryAction
ResumeParams : github.com/goccy/go-json.Marshaler
*ResumeParams : github.com/goccy/go-json.Unmarshaler
ResumeParams : github.com/mailru/easyjson.Marshaler
*ResumeParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ResumeParams : github.com/mailru/easyjson.Unmarshaler
ResumeParams : encoding/json.Marshaler
*ResumeParams : encoding/json.Unmarshaler
func Resume() *ResumeParams
func ResumeParams.WithTerminateOnResume(terminateOnResume bool) *ResumeParams
Scope scope description.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-Scope
// Location in the source code where scope ends
Name string
// Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.
// Location in the source code where scope starts
// Scope type.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Scope : github.com/goccy/go-json.Marshaler
*Scope : github.com/goccy/go-json.Unmarshaler
Scope : github.com/mailru/easyjson.Marshaler
*Scope : github.com/mailru/easyjson.MarshalerUnmarshaler
*Scope : github.com/mailru/easyjson.Unmarshaler
Scope : encoding/json.Marshaler
*Scope : encoding/json.Unmarshaler
ScopeType scope type.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-Scope
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ScopeType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ScopeType : github.com/goccy/go-json.Marshaler
*ScopeType : github.com/goccy/go-json.Unmarshaler
ScopeType : github.com/mailru/easyjson.Marshaler
*ScopeType : github.com/mailru/easyjson.MarshalerUnmarshaler
*ScopeType : github.com/mailru/easyjson.Unmarshaler
ScopeType : encoding/json.Marshaler
*ScopeType : encoding/json.Unmarshaler
ScopeType : expvar.Var
ScopeType : fmt.Stringer
const ScopeTypeBlock
const ScopeTypeCatch
const ScopeTypeClosure
const ScopeTypeEval
const ScopeTypeGlobal
const ScopeTypeLocal
const ScopeTypeModule
const ScopeTypeScript
const ScopeTypeWasmExpressionStack
const ScopeTypeWith
ScriptLanguage enum of possible script languages.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-ScriptLanguage
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ScriptLanguage as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ScriptLanguage : github.com/goccy/go-json.Marshaler
*ScriptLanguage : github.com/goccy/go-json.Unmarshaler
ScriptLanguage : github.com/mailru/easyjson.Marshaler
*ScriptLanguage : github.com/mailru/easyjson.MarshalerUnmarshaler
*ScriptLanguage : github.com/mailru/easyjson.Unmarshaler
ScriptLanguage : encoding/json.Marshaler
*ScriptLanguage : encoding/json.Unmarshaler
ScriptLanguage : expvar.Var
ScriptLanguage : fmt.Stringer
const ScriptLanguageJavaScript
const ScriptLanguageWebAssembly
ScriptPosition location in the source code.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-ScriptPosition
ColumnNumber int64
LineNumber int64
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ScriptPosition : github.com/goccy/go-json.Marshaler
*ScriptPosition : github.com/goccy/go-json.Unmarshaler
ScriptPosition : github.com/mailru/easyjson.Marshaler
*ScriptPosition : github.com/mailru/easyjson.MarshalerUnmarshaler
*ScriptPosition : github.com/mailru/easyjson.Unmarshaler
ScriptPosition : encoding/json.Marshaler
*ScriptPosition : encoding/json.Unmarshaler
func SetBlackboxedRanges(scriptID runtime.ScriptID, positions []*ScriptPosition) *SetBlackboxedRangesParams
SearchInContentParams searches for given string in script content.
// If true, search is case sensitive.
// If true, treats string parameter as regex.
// String to search for.
// Id of the script to search in.
Do executes Debugger.searchInContent against the provided context.
returns:
result - List of search matches.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithCaseSensitive if true, search is case sensitive.
WithIsRegex if true, treats string parameter as regex.
SearchInContentParams : github.com/goccy/go-json.Marshaler
*SearchInContentParams : github.com/goccy/go-json.Unmarshaler
SearchInContentParams : github.com/mailru/easyjson.Marshaler
*SearchInContentParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SearchInContentParams : github.com/mailru/easyjson.Unmarshaler
SearchInContentParams : encoding/json.Marshaler
*SearchInContentParams : encoding/json.Unmarshaler
func SearchInContent(scriptID runtime.ScriptID, query string) *SearchInContentParams
func SearchInContentParams.WithCaseSensitive(caseSensitive bool) *SearchInContentParams
func SearchInContentParams.WithIsRegex(isRegex bool) *SearchInContentParams
SearchInContentReturns return values.
// List of search matches.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SearchInContentReturns : github.com/goccy/go-json.Marshaler
*SearchInContentReturns : github.com/goccy/go-json.Unmarshaler
SearchInContentReturns : github.com/mailru/easyjson.Marshaler
*SearchInContentReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*SearchInContentReturns : github.com/mailru/easyjson.Unmarshaler
SearchInContentReturns : encoding/json.Marshaler
*SearchInContentReturns : encoding/json.Unmarshaler
SearchMatch search match for resource.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-SearchMatch
// Line with match content.
// Line number in resource content.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SearchMatch : github.com/goccy/go-json.Marshaler
*SearchMatch : github.com/goccy/go-json.Unmarshaler
SearchMatch : github.com/mailru/easyjson.Marshaler
*SearchMatch : github.com/mailru/easyjson.MarshalerUnmarshaler
*SearchMatch : github.com/mailru/easyjson.Unmarshaler
SearchMatch : encoding/json.Marshaler
*SearchMatch : encoding/json.Unmarshaler
func (*SearchInContentParams).Do(ctx context.Context) (result []*SearchMatch, err error)
func github.com/chromedp/cdproto/network.(*SearchInResponseBodyParams).Do(ctx context.Context) (result []*SearchMatch, err error)
func github.com/chromedp/cdproto/page.(*SearchInResourceParams).Do(ctx context.Context) (result []*SearchMatch, err error)
SetAsyncCallStackDepthParams enables or disables async call stacks
tracking.
// Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async call stacks (default).
Do executes Debugger.setAsyncCallStackDepth against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetAsyncCallStackDepthParams : github.com/chromedp/chromedp.Action
*SetAsyncCallStackDepthParams : github.com/chromedp/chromedp.CallAction
*SetAsyncCallStackDepthParams : github.com/chromedp/chromedp.EmulateAction
*SetAsyncCallStackDepthParams : github.com/chromedp/chromedp.EvaluateAction
*SetAsyncCallStackDepthParams : github.com/chromedp/chromedp.KeyAction
*SetAsyncCallStackDepthParams : github.com/chromedp/chromedp.MouseAction
*SetAsyncCallStackDepthParams : github.com/chromedp/chromedp.NavigateAction
*SetAsyncCallStackDepthParams : github.com/chromedp/chromedp.PollAction
*SetAsyncCallStackDepthParams : github.com/chromedp/chromedp.QueryAction
SetAsyncCallStackDepthParams : github.com/goccy/go-json.Marshaler
*SetAsyncCallStackDepthParams : github.com/goccy/go-json.Unmarshaler
SetAsyncCallStackDepthParams : github.com/mailru/easyjson.Marshaler
*SetAsyncCallStackDepthParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetAsyncCallStackDepthParams : github.com/mailru/easyjson.Unmarshaler
SetAsyncCallStackDepthParams : encoding/json.Marshaler
*SetAsyncCallStackDepthParams : encoding/json.Unmarshaler
func SetAsyncCallStackDepth(maxDepth int64) *SetAsyncCallStackDepthParams
SetBlackboxedRangesParams 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.
Positions []*ScriptPosition
// Id of the script.
Do executes Debugger.setBlackboxedRanges against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetBlackboxedRangesParams : github.com/chromedp/chromedp.Action
*SetBlackboxedRangesParams : github.com/chromedp/chromedp.CallAction
*SetBlackboxedRangesParams : github.com/chromedp/chromedp.EmulateAction
*SetBlackboxedRangesParams : github.com/chromedp/chromedp.EvaluateAction
*SetBlackboxedRangesParams : github.com/chromedp/chromedp.KeyAction
*SetBlackboxedRangesParams : github.com/chromedp/chromedp.MouseAction
*SetBlackboxedRangesParams : github.com/chromedp/chromedp.NavigateAction
*SetBlackboxedRangesParams : github.com/chromedp/chromedp.PollAction
*SetBlackboxedRangesParams : github.com/chromedp/chromedp.QueryAction
SetBlackboxedRangesParams : github.com/goccy/go-json.Marshaler
*SetBlackboxedRangesParams : github.com/goccy/go-json.Unmarshaler
SetBlackboxedRangesParams : github.com/mailru/easyjson.Marshaler
*SetBlackboxedRangesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBlackboxedRangesParams : github.com/mailru/easyjson.Unmarshaler
SetBlackboxedRangesParams : encoding/json.Marshaler
*SetBlackboxedRangesParams : encoding/json.Unmarshaler
func SetBlackboxedRanges(scriptID runtime.ScriptID, positions []*ScriptPosition) *SetBlackboxedRangesParams
SetBlackboxPatternsParams 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.
// Array of regexps that will be used to check script url for blackbox state.
Do executes Debugger.setBlackboxPatterns against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetBlackboxPatternsParams : github.com/chromedp/chromedp.Action
*SetBlackboxPatternsParams : github.com/chromedp/chromedp.CallAction
*SetBlackboxPatternsParams : github.com/chromedp/chromedp.EmulateAction
*SetBlackboxPatternsParams : github.com/chromedp/chromedp.EvaluateAction
*SetBlackboxPatternsParams : github.com/chromedp/chromedp.KeyAction
*SetBlackboxPatternsParams : github.com/chromedp/chromedp.MouseAction
*SetBlackboxPatternsParams : github.com/chromedp/chromedp.NavigateAction
*SetBlackboxPatternsParams : github.com/chromedp/chromedp.PollAction
*SetBlackboxPatternsParams : github.com/chromedp/chromedp.QueryAction
SetBlackboxPatternsParams : github.com/goccy/go-json.Marshaler
*SetBlackboxPatternsParams : github.com/goccy/go-json.Unmarshaler
SetBlackboxPatternsParams : github.com/mailru/easyjson.Marshaler
*SetBlackboxPatternsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBlackboxPatternsParams : github.com/mailru/easyjson.Unmarshaler
SetBlackboxPatternsParams : encoding/json.Marshaler
*SetBlackboxPatternsParams : encoding/json.Unmarshaler
func SetBlackboxPatterns(patterns []string) *SetBlackboxPatternsParams
SetBreakpointByURLParams 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.
// Offset in the line to set breakpoint at.
// Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
// Line number to set breakpoint at.
// Script hash of the resources to set breakpoint on.
// URL of the resources to set breakpoint on.
// Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified.
Do executes Debugger.setBreakpointByUrl against the provided context.
returns:
breakpointID - Id of the created breakpoint for further reference.
locations - List of the locations this breakpoint resolved into upon addition.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithColumnNumber offset in the line to set breakpoint at.
WithCondition expression to use as a breakpoint condition. When specified,
debugger will only stop on the breakpoint if this expression evaluates to
true.
WithScriptHash script hash of the resources to set breakpoint on.
WithURL URL of the resources to set breakpoint on.
WithURLRegex regex pattern for the URLs of the resources to set
breakpoints on. Either url or urlRegex must be specified.
SetBreakpointByURLParams : github.com/goccy/go-json.Marshaler
*SetBreakpointByURLParams : github.com/goccy/go-json.Unmarshaler
SetBreakpointByURLParams : github.com/mailru/easyjson.Marshaler
*SetBreakpointByURLParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBreakpointByURLParams : github.com/mailru/easyjson.Unmarshaler
SetBreakpointByURLParams : encoding/json.Marshaler
*SetBreakpointByURLParams : encoding/json.Unmarshaler
func SetBreakpointByURL(lineNumber int64) *SetBreakpointByURLParams
func SetBreakpointByURLParams.WithColumnNumber(columnNumber int64) *SetBreakpointByURLParams
func SetBreakpointByURLParams.WithCondition(condition string) *SetBreakpointByURLParams
func SetBreakpointByURLParams.WithScriptHash(scriptHash string) *SetBreakpointByURLParams
func SetBreakpointByURLParams.WithURL(url string) *SetBreakpointByURLParams
func SetBreakpointByURLParams.WithURLRegex(urlRegex string) *SetBreakpointByURLParams
SetBreakpointByURLReturns return values.
// Id of the created breakpoint for further reference.
// List of the locations this breakpoint resolved into upon addition.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SetBreakpointByURLReturns : github.com/goccy/go-json.Marshaler
*SetBreakpointByURLReturns : github.com/goccy/go-json.Unmarshaler
SetBreakpointByURLReturns : github.com/mailru/easyjson.Marshaler
*SetBreakpointByURLReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBreakpointByURLReturns : github.com/mailru/easyjson.Unmarshaler
SetBreakpointByURLReturns : encoding/json.Marshaler
*SetBreakpointByURLReturns : encoding/json.Unmarshaler
SetBreakpointOnFunctionCallParams 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.
// Expression to use as a breakpoint condition. When specified, debugger will stop on the breakpoint if this expression evaluates to true.
// Function object id.
Do executes Debugger.setBreakpointOnFunctionCall against the provided context.
returns:
breakpointID - Id of the created breakpoint for further reference.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithCondition expression to use as a breakpoint condition. When specified,
debugger will stop on the breakpoint if this expression evaluates to true.
SetBreakpointOnFunctionCallParams : github.com/goccy/go-json.Marshaler
*SetBreakpointOnFunctionCallParams : github.com/goccy/go-json.Unmarshaler
SetBreakpointOnFunctionCallParams : github.com/mailru/easyjson.Marshaler
*SetBreakpointOnFunctionCallParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBreakpointOnFunctionCallParams : github.com/mailru/easyjson.Unmarshaler
SetBreakpointOnFunctionCallParams : encoding/json.Marshaler
*SetBreakpointOnFunctionCallParams : encoding/json.Unmarshaler
func SetBreakpointOnFunctionCall(objectID runtime.RemoteObjectID) *SetBreakpointOnFunctionCallParams
func SetBreakpointOnFunctionCallParams.WithCondition(condition string) *SetBreakpointOnFunctionCallParams
SetBreakpointOnFunctionCallReturns return values.
// Id of the created breakpoint for further reference.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SetBreakpointOnFunctionCallReturns : github.com/goccy/go-json.Marshaler
*SetBreakpointOnFunctionCallReturns : github.com/goccy/go-json.Unmarshaler
SetBreakpointOnFunctionCallReturns : github.com/mailru/easyjson.Marshaler
*SetBreakpointOnFunctionCallReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBreakpointOnFunctionCallReturns : github.com/mailru/easyjson.Unmarshaler
SetBreakpointOnFunctionCallReturns : encoding/json.Marshaler
*SetBreakpointOnFunctionCallReturns : encoding/json.Unmarshaler
SetBreakpointParams sets JavaScript breakpoint at a given location.
// Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
// Location to set breakpoint in.
Do executes Debugger.setBreakpoint against the provided context.
returns:
breakpointID - Id of the created breakpoint for further reference.
actualLocation - Location this breakpoint resolved into.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithCondition expression to use as a breakpoint condition. When specified,
debugger will only stop on the breakpoint if this expression evaluates to
true.
SetBreakpointParams : github.com/goccy/go-json.Marshaler
*SetBreakpointParams : github.com/goccy/go-json.Unmarshaler
SetBreakpointParams : github.com/mailru/easyjson.Marshaler
*SetBreakpointParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBreakpointParams : github.com/mailru/easyjson.Unmarshaler
SetBreakpointParams : encoding/json.Marshaler
*SetBreakpointParams : encoding/json.Unmarshaler
func SetBreakpoint(location *Location) *SetBreakpointParams
func SetBreakpointParams.WithCondition(condition string) *SetBreakpointParams
SetBreakpointReturns return values.
// Location this breakpoint resolved into.
// Id of the created breakpoint for further reference.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SetBreakpointReturns : github.com/goccy/go-json.Marshaler
*SetBreakpointReturns : github.com/goccy/go-json.Unmarshaler
SetBreakpointReturns : github.com/mailru/easyjson.Marshaler
*SetBreakpointReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBreakpointReturns : github.com/mailru/easyjson.Unmarshaler
SetBreakpointReturns : encoding/json.Marshaler
*SetBreakpointReturns : encoding/json.Unmarshaler
SetBreakpointsActiveParams activates / deactivates all breakpoints on the
page.
// New value for breakpoints active state.
Do executes Debugger.setBreakpointsActive against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetBreakpointsActiveParams : github.com/chromedp/chromedp.Action
*SetBreakpointsActiveParams : github.com/chromedp/chromedp.CallAction
*SetBreakpointsActiveParams : github.com/chromedp/chromedp.EmulateAction
*SetBreakpointsActiveParams : github.com/chromedp/chromedp.EvaluateAction
*SetBreakpointsActiveParams : github.com/chromedp/chromedp.KeyAction
*SetBreakpointsActiveParams : github.com/chromedp/chromedp.MouseAction
*SetBreakpointsActiveParams : github.com/chromedp/chromedp.NavigateAction
*SetBreakpointsActiveParams : github.com/chromedp/chromedp.PollAction
*SetBreakpointsActiveParams : github.com/chromedp/chromedp.QueryAction
SetBreakpointsActiveParams : github.com/goccy/go-json.Marshaler
*SetBreakpointsActiveParams : github.com/goccy/go-json.Unmarshaler
SetBreakpointsActiveParams : github.com/mailru/easyjson.Marshaler
*SetBreakpointsActiveParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBreakpointsActiveParams : github.com/mailru/easyjson.Unmarshaler
SetBreakpointsActiveParams : encoding/json.Marshaler
*SetBreakpointsActiveParams : encoding/json.Unmarshaler
func SetBreakpointsActive(active bool) *SetBreakpointsActiveParams
SetInstrumentationBreakpointInstrumentation instrumentation name.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setInstrumentationBreakpoint
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the SetInstrumentationBreakpointInstrumentation as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
SetInstrumentationBreakpointInstrumentation : github.com/goccy/go-json.Marshaler
*SetInstrumentationBreakpointInstrumentation : github.com/goccy/go-json.Unmarshaler
SetInstrumentationBreakpointInstrumentation : github.com/mailru/easyjson.Marshaler
*SetInstrumentationBreakpointInstrumentation : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetInstrumentationBreakpointInstrumentation : github.com/mailru/easyjson.Unmarshaler
SetInstrumentationBreakpointInstrumentation : encoding/json.Marshaler
*SetInstrumentationBreakpointInstrumentation : encoding/json.Unmarshaler
SetInstrumentationBreakpointInstrumentation : expvar.Var
SetInstrumentationBreakpointInstrumentation : fmt.Stringer
func SetInstrumentationBreakpoint(instrumentation SetInstrumentationBreakpointInstrumentation) *SetInstrumentationBreakpointParams
const SetInstrumentationBreakpointInstrumentationBeforeScriptExecution
const SetInstrumentationBreakpointInstrumentationBeforeScriptWithSourceMapExecution
SetInstrumentationBreakpointParams sets instrumentation breakpoint.
// Instrumentation name.
Do executes Debugger.setInstrumentationBreakpoint against the provided context.
returns:
breakpointID - Id of the created breakpoint for further reference.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SetInstrumentationBreakpointParams : github.com/goccy/go-json.Marshaler
*SetInstrumentationBreakpointParams : github.com/goccy/go-json.Unmarshaler
SetInstrumentationBreakpointParams : github.com/mailru/easyjson.Marshaler
*SetInstrumentationBreakpointParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetInstrumentationBreakpointParams : github.com/mailru/easyjson.Unmarshaler
SetInstrumentationBreakpointParams : encoding/json.Marshaler
*SetInstrumentationBreakpointParams : encoding/json.Unmarshaler
func SetInstrumentationBreakpoint(instrumentation SetInstrumentationBreakpointInstrumentation) *SetInstrumentationBreakpointParams
SetInstrumentationBreakpointReturns return values.
// Id of the created breakpoint for further reference.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SetInstrumentationBreakpointReturns : github.com/goccy/go-json.Marshaler
*SetInstrumentationBreakpointReturns : github.com/goccy/go-json.Unmarshaler
SetInstrumentationBreakpointReturns : github.com/mailru/easyjson.Marshaler
*SetInstrumentationBreakpointReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetInstrumentationBreakpointReturns : github.com/mailru/easyjson.Unmarshaler
SetInstrumentationBreakpointReturns : encoding/json.Marshaler
*SetInstrumentationBreakpointReturns : encoding/json.Unmarshaler
SetPauseOnExceptionsParams 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.
// Pause on exceptions mode.
Do executes Debugger.setPauseOnExceptions against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetPauseOnExceptionsParams : github.com/chromedp/chromedp.Action
*SetPauseOnExceptionsParams : github.com/chromedp/chromedp.CallAction
*SetPauseOnExceptionsParams : github.com/chromedp/chromedp.EmulateAction
*SetPauseOnExceptionsParams : github.com/chromedp/chromedp.EvaluateAction
*SetPauseOnExceptionsParams : github.com/chromedp/chromedp.KeyAction
*SetPauseOnExceptionsParams : github.com/chromedp/chromedp.MouseAction
*SetPauseOnExceptionsParams : github.com/chromedp/chromedp.NavigateAction
*SetPauseOnExceptionsParams : github.com/chromedp/chromedp.PollAction
*SetPauseOnExceptionsParams : github.com/chromedp/chromedp.QueryAction
SetPauseOnExceptionsParams : github.com/goccy/go-json.Marshaler
*SetPauseOnExceptionsParams : github.com/goccy/go-json.Unmarshaler
SetPauseOnExceptionsParams : github.com/mailru/easyjson.Marshaler
*SetPauseOnExceptionsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetPauseOnExceptionsParams : github.com/mailru/easyjson.Unmarshaler
SetPauseOnExceptionsParams : encoding/json.Marshaler
*SetPauseOnExceptionsParams : encoding/json.Unmarshaler
func SetPauseOnExceptions(state ExceptionsState) *SetPauseOnExceptionsParams
SetReturnValueParams changes return value in top frame. Available only at
return break position.
// New return value.
Do executes Debugger.setReturnValue against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetReturnValueParams : github.com/chromedp/chromedp.Action
*SetReturnValueParams : github.com/chromedp/chromedp.CallAction
*SetReturnValueParams : github.com/chromedp/chromedp.EmulateAction
*SetReturnValueParams : github.com/chromedp/chromedp.EvaluateAction
*SetReturnValueParams : github.com/chromedp/chromedp.KeyAction
*SetReturnValueParams : github.com/chromedp/chromedp.MouseAction
*SetReturnValueParams : github.com/chromedp/chromedp.NavigateAction
*SetReturnValueParams : github.com/chromedp/chromedp.PollAction
*SetReturnValueParams : github.com/chromedp/chromedp.QueryAction
SetReturnValueParams : github.com/goccy/go-json.Marshaler
*SetReturnValueParams : github.com/goccy/go-json.Unmarshaler
SetReturnValueParams : github.com/mailru/easyjson.Marshaler
*SetReturnValueParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetReturnValueParams : github.com/mailru/easyjson.Unmarshaler
SetReturnValueParams : encoding/json.Marshaler
*SetReturnValueParams : encoding/json.Unmarshaler
func SetReturnValue(newValue *runtime.CallArgument) *SetReturnValueParams
SetScriptSourceParams 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.
// If true, then scriptSource is allowed to change the function on top of the stack as long as the top-most stack frame is the only activation of that function.
// If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code.
// Id of the script to edit.
// New content of the script.
Do executes Debugger.setScriptSource against the provided context.
returns:
status - Whether the operation was successful or not. Only Ok denotes a successful live edit while the other enum variants denote why the live edit failed.
exceptionDetails - Exception details if any. Only present when status is CompileError.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithAllowTopFrameEditing if true, then scriptSource is allowed to change
the function on top of the stack as long as the top-most stack frame is the
only activation of that function.
WithDryRun if true the change will not actually be applied. Dry run may be
used to get result description without actually modifying the code.
SetScriptSourceParams : github.com/goccy/go-json.Marshaler
*SetScriptSourceParams : github.com/goccy/go-json.Unmarshaler
SetScriptSourceParams : github.com/mailru/easyjson.Marshaler
*SetScriptSourceParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetScriptSourceParams : github.com/mailru/easyjson.Unmarshaler
SetScriptSourceParams : encoding/json.Marshaler
*SetScriptSourceParams : encoding/json.Unmarshaler
func SetScriptSource(scriptID runtime.ScriptID, scriptSource string) *SetScriptSourceParams
func SetScriptSourceParams.WithAllowTopFrameEditing(allowTopFrameEditing bool) *SetScriptSourceParams
func SetScriptSourceParams.WithDryRun(dryRun bool) *SetScriptSourceParams
SetScriptSourceReturns return values.
// Exception details if any. Only present when status is CompileError.
// Whether the operation was successful or not. Only Ok denotes a successful live edit while the other enum variants denote why the live edit failed.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SetScriptSourceReturns : github.com/goccy/go-json.Marshaler
*SetScriptSourceReturns : github.com/goccy/go-json.Unmarshaler
SetScriptSourceReturns : github.com/mailru/easyjson.Marshaler
*SetScriptSourceReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetScriptSourceReturns : github.com/mailru/easyjson.Unmarshaler
SetScriptSourceReturns : encoding/json.Marshaler
*SetScriptSourceReturns : encoding/json.Unmarshaler
SetScriptSourceStatus whether the operation was successful or not. Only Ok
denotes a successful live edit while the other enum variants denote why the
live edit failed.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setScriptSource
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the SetScriptSourceStatus as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
SetScriptSourceStatus : github.com/goccy/go-json.Marshaler
*SetScriptSourceStatus : github.com/goccy/go-json.Unmarshaler
SetScriptSourceStatus : github.com/mailru/easyjson.Marshaler
*SetScriptSourceStatus : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetScriptSourceStatus : github.com/mailru/easyjson.Unmarshaler
SetScriptSourceStatus : encoding/json.Marshaler
*SetScriptSourceStatus : encoding/json.Unmarshaler
SetScriptSourceStatus : expvar.Var
SetScriptSourceStatus : fmt.Stringer
func (*SetScriptSourceParams).Do(ctx context.Context) (status SetScriptSourceStatus, exceptionDetails *runtime.ExceptionDetails, err error)
const SetScriptSourceStatusBlockedByActiveFunction
const SetScriptSourceStatusBlockedByActiveGenerator
const SetScriptSourceStatusBlockedByTopLevelEsModuleChange
const SetScriptSourceStatusCompileError
const SetScriptSourceStatusOk
SetSkipAllPausesParams makes page not interrupt on any pauses (breakpoint,
exception, dom exception etc).
// New value for skip pauses state.
Do executes Debugger.setSkipAllPauses against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetSkipAllPausesParams : github.com/chromedp/chromedp.Action
*SetSkipAllPausesParams : github.com/chromedp/chromedp.CallAction
*SetSkipAllPausesParams : github.com/chromedp/chromedp.EmulateAction
*SetSkipAllPausesParams : github.com/chromedp/chromedp.EvaluateAction
*SetSkipAllPausesParams : github.com/chromedp/chromedp.KeyAction
*SetSkipAllPausesParams : github.com/chromedp/chromedp.MouseAction
*SetSkipAllPausesParams : github.com/chromedp/chromedp.NavigateAction
*SetSkipAllPausesParams : github.com/chromedp/chromedp.PollAction
*SetSkipAllPausesParams : github.com/chromedp/chromedp.QueryAction
SetSkipAllPausesParams : github.com/goccy/go-json.Marshaler
*SetSkipAllPausesParams : github.com/goccy/go-json.Unmarshaler
SetSkipAllPausesParams : github.com/mailru/easyjson.Marshaler
*SetSkipAllPausesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetSkipAllPausesParams : github.com/mailru/easyjson.Unmarshaler
SetSkipAllPausesParams : encoding/json.Marshaler
*SetSkipAllPausesParams : encoding/json.Unmarshaler
func SetSkipAllPauses(skip bool) *SetSkipAllPausesParams
SetVariableValueParams changes value of variable in a callframe.
Object-based scopes are not supported and must be mutated manually.
// Id of callframe that holds variable.
// New variable value.
// 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually.
// Variable name.
Do executes Debugger.setVariableValue against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetVariableValueParams : github.com/chromedp/chromedp.Action
*SetVariableValueParams : github.com/chromedp/chromedp.CallAction
*SetVariableValueParams : github.com/chromedp/chromedp.EmulateAction
*SetVariableValueParams : github.com/chromedp/chromedp.EvaluateAction
*SetVariableValueParams : github.com/chromedp/chromedp.KeyAction
*SetVariableValueParams : github.com/chromedp/chromedp.MouseAction
*SetVariableValueParams : github.com/chromedp/chromedp.NavigateAction
*SetVariableValueParams : github.com/chromedp/chromedp.PollAction
*SetVariableValueParams : github.com/chromedp/chromedp.QueryAction
SetVariableValueParams : github.com/goccy/go-json.Marshaler
*SetVariableValueParams : github.com/goccy/go-json.Unmarshaler
SetVariableValueParams : github.com/mailru/easyjson.Marshaler
*SetVariableValueParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetVariableValueParams : github.com/mailru/easyjson.Unmarshaler
SetVariableValueParams : encoding/json.Marshaler
*SetVariableValueParams : encoding/json.Unmarshaler
func SetVariableValue(scopeNumber int64, variableName string, newValue *runtime.CallArgument, callFrameID CallFrameID) *SetVariableValueParams
StepIntoParams steps into the function call.
// Debugger will pause on the execution of the first async task which was scheduled before next pause.
// The skipList specifies location ranges that should be skipped on step into.
Do executes Debugger.stepInto against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithBreakOnAsyncCall debugger will pause on the execution of the first
async task which was scheduled before next pause.
WithSkipList the skipList specifies location ranges that should be skipped
on step into.
*StepIntoParams : github.com/chromedp/chromedp.Action
*StepIntoParams : github.com/chromedp/chromedp.CallAction
*StepIntoParams : github.com/chromedp/chromedp.EmulateAction
*StepIntoParams : github.com/chromedp/chromedp.EvaluateAction
*StepIntoParams : github.com/chromedp/chromedp.KeyAction
*StepIntoParams : github.com/chromedp/chromedp.MouseAction
*StepIntoParams : github.com/chromedp/chromedp.NavigateAction
*StepIntoParams : github.com/chromedp/chromedp.PollAction
*StepIntoParams : github.com/chromedp/chromedp.QueryAction
StepIntoParams : github.com/goccy/go-json.Marshaler
*StepIntoParams : github.com/goccy/go-json.Unmarshaler
StepIntoParams : github.com/mailru/easyjson.Marshaler
*StepIntoParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StepIntoParams : github.com/mailru/easyjson.Unmarshaler
StepIntoParams : encoding/json.Marshaler
*StepIntoParams : encoding/json.Unmarshaler
func StepInto() *StepIntoParams
func StepIntoParams.WithBreakOnAsyncCall(breakOnAsyncCall bool) *StepIntoParams
func StepIntoParams.WithSkipList(skipList []*LocationRange) *StepIntoParams
StepOutParams steps out of the function call.
Do executes Debugger.stepOut against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*StepOutParams : github.com/chromedp/chromedp.Action
*StepOutParams : github.com/chromedp/chromedp.CallAction
*StepOutParams : github.com/chromedp/chromedp.EmulateAction
*StepOutParams : github.com/chromedp/chromedp.EvaluateAction
*StepOutParams : github.com/chromedp/chromedp.KeyAction
*StepOutParams : github.com/chromedp/chromedp.MouseAction
*StepOutParams : github.com/chromedp/chromedp.NavigateAction
*StepOutParams : github.com/chromedp/chromedp.PollAction
*StepOutParams : github.com/chromedp/chromedp.QueryAction
StepOutParams : github.com/goccy/go-json.Marshaler
*StepOutParams : github.com/goccy/go-json.Unmarshaler
StepOutParams : github.com/mailru/easyjson.Marshaler
*StepOutParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StepOutParams : github.com/mailru/easyjson.Unmarshaler
StepOutParams : encoding/json.Marshaler
*StepOutParams : encoding/json.Unmarshaler
func StepOut() *StepOutParams
StepOverParams steps over the statement.
// The skipList specifies location ranges that should be skipped on step over.
Do executes Debugger.stepOver against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithSkipList the skipList specifies location ranges that should be skipped
on step over.
*StepOverParams : github.com/chromedp/chromedp.Action
*StepOverParams : github.com/chromedp/chromedp.CallAction
*StepOverParams : github.com/chromedp/chromedp.EmulateAction
*StepOverParams : github.com/chromedp/chromedp.EvaluateAction
*StepOverParams : github.com/chromedp/chromedp.KeyAction
*StepOverParams : github.com/chromedp/chromedp.MouseAction
*StepOverParams : github.com/chromedp/chromedp.NavigateAction
*StepOverParams : github.com/chromedp/chromedp.PollAction
*StepOverParams : github.com/chromedp/chromedp.QueryAction
StepOverParams : github.com/goccy/go-json.Marshaler
*StepOverParams : github.com/goccy/go-json.Unmarshaler
StepOverParams : github.com/mailru/easyjson.Marshaler
*StepOverParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StepOverParams : github.com/mailru/easyjson.Unmarshaler
StepOverParams : encoding/json.Marshaler
*StepOverParams : encoding/json.Unmarshaler
func StepOver() *StepOverParams
func StepOverParams.WithSkipList(skipList []*LocationRange) *StepOverParams
WasmDisassemblyChunk [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#type-WasmDisassemblyChunk
// The bytecode offsets describing the start of each line.
// The next chunk of disassembled lines.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WasmDisassemblyChunk : github.com/goccy/go-json.Marshaler
*WasmDisassemblyChunk : github.com/goccy/go-json.Unmarshaler
WasmDisassemblyChunk : github.com/mailru/easyjson.Marshaler
*WasmDisassemblyChunk : github.com/mailru/easyjson.MarshalerUnmarshaler
*WasmDisassemblyChunk : github.com/mailru/easyjson.Unmarshaler
WasmDisassemblyChunk : encoding/json.Marshaler
*WasmDisassemblyChunk : encoding/json.Unmarshaler
func (*DisassembleWasmModuleParams).Do(ctx context.Context) (streamID string, totalNumberOfLines int64, functionBodyOffsets []int64, chunk *WasmDisassemblyChunk, err error)
func (*NextWasmDisassemblyChunkParams).Do(ctx context.Context) (chunk *WasmDisassemblyChunk, err error)
Package-Level Functions (total 30)
ContinueToLocation continues execution until specific location is reached.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-continueToLocation
parameters:
location - Location to continue to.
Disable disables debugger for given page.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-disable
DisassembleWasmModule [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-disassembleWasmModule
parameters:
scriptID - Id of the script to disassemble
Enable enables debugger for the given page. Clients should not assume that
the debugging has been enabled until the result for this command is received.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-enable
parameters:
EvaluateOnCallFrame evaluates expression on a given call frame.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-evaluateOnCallFrame
parameters:
callFrameID - Call frame identifier to evaluate on.
expression - Expression to evaluate.
GetPossibleBreakpoints returns possible locations for breakpoint. scriptId
in start and end range locations should be the same.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-getPossibleBreakpoints
parameters:
start - Start of range to search possible breakpoint locations in.
GetScriptSource returns source for the script with given id.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-getScriptSource
parameters:
scriptID - Id of the script to get source for.
GetStackTrace returns stack trace with given stackTraceId.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-getStackTrace
parameters:
stackTraceID
NextWasmDisassemblyChunk 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-nextWasmDisassemblyChunk
parameters:
streamID
Pause stops on the next JavaScript statement.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-pause
RemoveBreakpoint removes JavaScript breakpoint.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-removeBreakpoint
parameters:
breakpointID
RestartFrame 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 immediately 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-restartFrame
parameters:
callFrameID - Call frame identifier to evaluate on.
Resume resumes JavaScript execution.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-resume
parameters:
SearchInContent searches for given string in script content.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-searchInContent
parameters:
scriptID - Id of the script to search in.
query - String to search for.
SetAsyncCallStackDepth enables or disables async call stacks tracking.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setAsyncCallStackDepth
parameters:
maxDepth - Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async call stacks (default).
SetBlackboxedRanges 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setBlackboxedRanges
parameters:
scriptID - Id of the script.
positions
SetBlackboxPatterns 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setBlackboxPatterns
parameters:
patterns - Array of regexps that will be used to check script url for blackbox state.
SetBreakpoint sets JavaScript breakpoint at a given location.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setBreakpoint
parameters:
location - Location to set breakpoint in.
SetBreakpointByURL 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setBreakpointByUrl
parameters:
lineNumber - Line number to set breakpoint at.
SetBreakpointOnFunctionCall 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setBreakpointOnFunctionCall
parameters:
objectID - Function object id.
SetBreakpointsActive activates / deactivates all breakpoints on the page.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setBreakpointsActive
parameters:
active - New value for breakpoints active state.
SetInstrumentationBreakpoint sets instrumentation breakpoint.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setInstrumentationBreakpoint
parameters:
instrumentation - Instrumentation name.
SetPauseOnExceptions 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setPauseOnExceptions
parameters:
state - Pause on exceptions mode.
SetReturnValue changes return value in top frame. Available only at return
break position.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setReturnValue
parameters:
newValue - New return value.
SetScriptSource 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.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setScriptSource
parameters:
scriptID - Id of the script to edit.
scriptSource - New content of the script.
SetSkipAllPauses makes page not interrupt on any pauses (breakpoint,
exception, dom exception etc).
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setSkipAllPauses
parameters:
skip - New value for skip pauses state.
SetVariableValue changes value of variable in a callframe. Object-based
scopes are not supported and must be mutated manually.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setVariableValue
parameters:
scopeNumber - 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually.
variableName - Variable name.
newValue - New variable value.
callFrameID - Id of callframe that holds variable.
StepInto steps into the function call.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-stepInto
parameters:
StepOut steps out of the function call.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-stepOut
StepOver steps over the statement.
See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-stepOver
parameters:
Package-Level Constants (total 76)
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.
ContinueToLocationTargetCallFrames values.
ContinueToLocationTargetCallFrames values.
DebugSymbolsType 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.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |