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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

deserialize the response from json

Formats the value using the given formatter. Read more

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

Tuple of (domain_name, method_name) : (DOM, removeNode)

The identifier for this event’s method field

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.