Struct chrome_remote_interface_model::debugger::SetBreakpointByUrlCommand [−][src]
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]
fn clone(&self) -> SetBreakpointByUrlCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Command for SetBreakpointByUrlCommand
[src]
type Return = SetBreakpointByUrlReturn
Return type.
const METHOD: &'static str
[src]
fn into_request(self, session_id: Option<SessionId>, id: u32) -> Request<Self> where
Self: Sized,
[src]
Self: Sized,
impl Debug for SetBreakpointByUrlCommand
[src]
impl<'de> Deserialize<'de> for SetBreakpointByUrlCommand
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for SetBreakpointByUrlCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for SetBreakpointByUrlCommand
[src]
impl Send for SetBreakpointByUrlCommand
[src]
impl Sync for SetBreakpointByUrlCommand
[src]
impl Unpin for SetBreakpointByUrlCommand
[src]
impl UnwindSafe for SetBreakpointByUrlCommand
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,