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>,
}

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

impl SetBreakpointByUrlParams[src]

pub fn new(line_number: impl Into<i64>) -> SetBreakpointByUrlParams[src]

impl SetBreakpointByUrlParams[src]

impl SetBreakpointByUrlParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for SetBreakpointByUrlParams[src]

impl Command for SetBreakpointByUrlParams[src]

type Response = SetBreakpointByUrlReturns

The type of the response this request triggers on the chromium server

impl Debug for SetBreakpointByUrlParams[src]

impl<'de> Deserialize<'de> for SetBreakpointByUrlParams[src]

impl Method for SetBreakpointByUrlParams[src]

impl MethodType for SetBreakpointByUrlParams[src]

impl PartialEq<SetBreakpointByUrlParams> for SetBreakpointByUrlParams[src]

impl Serialize for SetBreakpointByUrlParams[src]

impl StructuralPartialEq for SetBreakpointByUrlParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,