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 cdproto-gen command.
Index ¶
Constants ¶
const ( CommandSetInstrumentationBreakpoint = "EventBreakpoints.setInstrumentationBreakpoint" CommandRemoveInstrumentationBreakpoint = "EventBreakpoints.removeInstrumentationBreakpoint" CommandDisable = "EventBreakpoints.disable" )
Command names.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisableParams ¶
type DisableParams struct{}
DisableParams removes all breakpoints.
func Disable ¶
func Disable() *DisableParams
Disable removes all breakpoints.
See: https://chromedevtools.github.io/devtools-protocol/tot/EventBreakpoints#method-disable
type RemoveInstrumentationBreakpointParams ¶
type RemoveInstrumentationBreakpointParams struct {
EventName string `json:"eventName"` // Instrumentation name to stop on.
}
RemoveInstrumentationBreakpointParams removes breakpoint on particular native event.
func RemoveInstrumentationBreakpoint ¶
func RemoveInstrumentationBreakpoint(eventName string) *RemoveInstrumentationBreakpointParams
RemoveInstrumentationBreakpoint removes breakpoint on particular native event.
parameters:
eventName - Instrumentation name to stop on.
type SetInstrumentationBreakpointParams ¶
type SetInstrumentationBreakpointParams struct {
EventName string `json:"eventName"` // Instrumentation name to stop on.
}
SetInstrumentationBreakpointParams sets breakpoint on particular native event.
func SetInstrumentationBreakpoint ¶
func SetInstrumentationBreakpoint(eventName string) *SetInstrumentationBreakpointParams
SetInstrumentationBreakpoint sets breakpoint on particular native event.
parameters:
eventName - Instrumentation name to stop on.