eventbreakpoints

package
v0.0.0-...-a72e670 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 6 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 cdproto-gen command.

Index

Constants

View Source
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 (*DisableParams) Do

func (p *DisableParams) Do(ctx context.Context) (err error)

Do executes EventBreakpoints.disable against the provided context.

func (DisableParams) MarshalEasyJSON

func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DisableParams) MarshalJSON

func (v DisableParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DisableParams) UnmarshalEasyJSON

func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DisableParams) UnmarshalJSON

func (v *DisableParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

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.

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

parameters:

eventName - Instrumentation name to stop on.

func (*RemoveInstrumentationBreakpointParams) Do

Do executes EventBreakpoints.removeInstrumentationBreakpoint against the provided context.

func (RemoveInstrumentationBreakpointParams) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (RemoveInstrumentationBreakpointParams) MarshalJSON

func (v RemoveInstrumentationBreakpointParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*RemoveInstrumentationBreakpointParams) UnmarshalEasyJSON

func (v *RemoveInstrumentationBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*RemoveInstrumentationBreakpointParams) UnmarshalJSON

func (v *RemoveInstrumentationBreakpointParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

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.

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

parameters:

eventName - Instrumentation name to stop on.

func (*SetInstrumentationBreakpointParams) Do

Do executes EventBreakpoints.setInstrumentationBreakpoint against the provided context.

func (SetInstrumentationBreakpointParams) MarshalEasyJSON

func (v SetInstrumentationBreakpointParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetInstrumentationBreakpointParams) MarshalJSON

func (v SetInstrumentationBreakpointParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SetInstrumentationBreakpointParams) UnmarshalEasyJSON

func (v *SetInstrumentationBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetInstrumentationBreakpointParams) UnmarshalJSON

func (v *SetInstrumentationBreakpointParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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