eventbreakpoints

package
v0.157.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 1 Imported by: 0

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

View Source
const (
	CommandSetInstrumentationBreakpoint    = "EventBreakpoints.setInstrumentationBreakpoint"
	CommandRemoveInstrumentationBreakpoint = "EventBreakpoints.removeInstrumentationBreakpoint"
	CommandDisable                         = "EventBreakpoints.disable"
)

Command names.

Variables

View Source
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

RemoveInstrumentationBreakpoint removes breakpoint on particular native event.

See: https://chromedevtools.github.io/devtools-protocol/tot/EventBreakpoints#method-removeInstrumentationBreakpoint

SetInstrumentationBreakpoint sets breakpoint on particular native event.

See: https://chromedevtools.github.io/devtools-protocol/tot/EventBreakpoints#method-setInstrumentationBreakpoint

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL