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
- type DisableParams
- type RemoveInstrumentationBreakpointParams
- func (p *RemoveInstrumentationBreakpointParams) Do(ctx context.Context) (err error)
- func (v RemoveInstrumentationBreakpointParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v RemoveInstrumentationBreakpointParams) MarshalJSON() ([]byte, error)
- func (v *RemoveInstrumentationBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *RemoveInstrumentationBreakpointParams) UnmarshalJSON(data []byte) error
- type SetInstrumentationBreakpointParams
- func (p *SetInstrumentationBreakpointParams) Do(ctx context.Context) (err error)
- func (v SetInstrumentationBreakpointParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v SetInstrumentationBreakpointParams) MarshalJSON() ([]byte, error)
- func (v *SetInstrumentationBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SetInstrumentationBreakpointParams) UnmarshalJSON(data []byte) error
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
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.
parameters:
eventName - Instrumentation name to stop on.
func (*RemoveInstrumentationBreakpointParams) Do ¶
func (p *RemoveInstrumentationBreakpointParams) Do(ctx context.Context) (err error)
Do executes EventBreakpoints.removeInstrumentationBreakpoint against the provided context.
func (RemoveInstrumentationBreakpointParams) MarshalEasyJSON ¶
func (v RemoveInstrumentationBreakpointParams) MarshalEasyJSON(w *jwriter.Writer)
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.
parameters:
eventName - Instrumentation name to stop on.
func (*SetInstrumentationBreakpointParams) Do ¶
func (p *SetInstrumentationBreakpointParams) Do(ctx context.Context) (err error)
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