Struct chrome_remote_interface_model::debugger::SetBreakpointByUrlCommand[][src]

pub struct SetBreakpointByUrlCommand { /* fields omitted */ }
This is supported on crate features Debugger and Runtime only.

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.

Implementations

impl SetBreakpointByUrlCommand[src]

pub fn builder() -> SetBreakpointByUrlCommandBuilder[src]

pub fn line_number(&self) -> u32[src]

Line number to set breakpoint at.

pub fn url(&self) -> Option<&String>[src]

URL of the resources to set breakpoint on.

pub fn url_regex(&self) -> Option<&String>[src]

Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified.

pub fn script_hash(&self) -> Option<&String>[src]

Script hash of the resources to set breakpoint on.

pub fn column_number(&self) -> Option<&u32>[src]

Offset in the line to set breakpoint at.

pub fn condition(&self) -> Option<&String>[src]

Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.

Trait Implementations

impl Clone for SetBreakpointByUrlCommand[src]

impl Command for SetBreakpointByUrlCommand[src]

type Return = SetBreakpointByUrlReturn

Return type.

impl Debug for SetBreakpointByUrlCommand[src]

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

impl Serialize for SetBreakpointByUrlCommand[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> 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.