Documentation
¶
Overview ¶
Package eventbreakpoints provides the Chrome DevTools Protocol commands, types, and events for the EventBreakpoints domain.
EventBreakpoints permits setting JavaScript breakpoints on operations and events occurring in native code invoked from JavaScript. Once breakpoint is hit, it is reported through Debugger domain, similarly to regular breakpoints being hit.
Generated by the pdlgen command.
Index ¶
Constants ¶
const ( CommandSetInstrumentationBreakpoint = "EventBreakpoints.setInstrumentationBreakpoint" CommandRemoveInstrumentationBreakpoint = "EventBreakpoints.removeInstrumentationBreakpoint" CommandDisable = "EventBreakpoints.disable" )
Command names.
Variables ¶
var Disable = cdp.Command[cdp.Empty, cdp.Empty]{Method: CommandDisable}
Disable removes all breakpoints.
See: https://chromedevtools.github.io/devtools-protocol/tot/EventBreakpoints#method-disable
var RemoveInstrumentationBreakpoint = cdp.Command[RemoveInstrumentationBreakpointParams, cdp.Empty]{Method: CommandRemoveInstrumentationBreakpoint}
RemoveInstrumentationBreakpoint removes breakpoint on particular native event.
var SetInstrumentationBreakpoint = cdp.Command[SetInstrumentationBreakpointParams, cdp.Empty]{Method: CommandSetInstrumentationBreakpoint}
SetInstrumentationBreakpoint sets breakpoint on particular native event.
Functions ¶
This section is empty.
Types ¶
type RemoveInstrumentationBreakpointParams ¶
type RemoveInstrumentationBreakpointParams struct {
EventName string `json:"eventName"` // Instrumentation name to stop on.
}
RemoveInstrumentationBreakpointParams are the parameters of the command EventBreakpoints.removeInstrumentationBreakpoint.
type SetInstrumentationBreakpointParams ¶
type SetInstrumentationBreakpointParams struct {
EventName string `json:"eventName"` // Instrumentation name to stop on.
}
SetInstrumentationBreakpointParams are the parameters of the command EventBreakpoints.setInstrumentationBreakpoint.