Struct chromiumoxide::cdp::js_protocol::debugger::SetBreakpointByUrlParams [−][src]
pub struct SetBreakpointByUrlParams {
pub line_number: i64,
pub url: Option<String>,
pub url_regex: Option<String>,
pub script_hash: Option<String>,
pub column_number: Option<i64>,
pub condition: Option<String>,
}
Expand description
Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
command is issued, all existing parsed scripts will have breakpoints resolved and returned in
locations
property. Further matching script parsing will result in subsequent
breakpointResolved
events issued. This logical breakpoint will survive page reloads.
setBreakpointByUrl
Fields
line_number: i64
Line number to set breakpoint at.
url: Option<String>
URL of the resources to set breakpoint on.
url_regex: Option<String>
Regex pattern for the URLs of the resources to set breakpoints on. Either url
or
urlRegex
must be specified.
script_hash: Option<String>
Script hash of the resources to set breakpoint on.
column_number: Option<i64>
Offset in the line to set breakpoint at.
condition: Option<String>
Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
Implementations
Trait Implementations
The type of the response this request triggers on the chromium server
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SetBreakpointByUrlParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SetBreakpointByUrlParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SetBreakpointByUrlParams
impl Send for SetBreakpointByUrlParams
impl Sync for SetBreakpointByUrlParams
impl Unpin for SetBreakpointByUrlParams
impl UnwindSafe for SetBreakpointByUrlParams
Blanket Implementations
Mutably borrows from an owned value. Read more