cdp_driver/methods/event_breakpoints.rs
1// @generated by `just generate-methods` from protocol/*.json.
2// Do not edit by hand; edit xtask/ and regenerate.
3
4//! EventBreakpoints permits setting JavaScript breakpoints on operations and
5//! events occurring in native code invoked from JavaScript. Once breakpoint
6//! is hit, it is reported through Debugger domain, similarly to regular
7//! breakpoints being hit.
8//!
9//! Method names for the `EventBreakpoints` domain, for use with
10//! [`CdpClient::call`](crate::CdpClient::call).
11//!
12//! This domain is experimental and may change without notice.
13
14/// Sets breakpoint on particular native event.
15///
16/// Parameters:
17/// - `eventName`: string
18pub const SET_INSTRUMENTATION_BREAKPOINT: &str = "EventBreakpoints.setInstrumentationBreakpoint";
19
20/// Removes breakpoint on particular native event.
21///
22/// Parameters:
23/// - `eventName`: string
24pub const REMOVE_INSTRUMENTATION_BREAKPOINT: &str =
25 "EventBreakpoints.removeInstrumentationBreakpoint";
26
27/// Removes all breakpoints
28pub const DISABLE: &str = "EventBreakpoints.disable";