pub struct SetBreakpointOnFunctionCall {
pub object_id: RemoteObjectId,
pub condition: Option<String>,
}Expand description
Sets JavaScript breakpoint before each call to the given function. If another function was created from the same source as a given one, calling it will also trigger the breakpoint.
Fields§
§object_id: RemoteObjectIdFunction object id.
condition: Option<String>Expression to use as a breakpoint condition. When specified, debugger will stop on the breakpoint if this expression evaluates to true.
Trait Implementations§
Source§impl Clone for SetBreakpointOnFunctionCall
impl Clone for SetBreakpointOnFunctionCall
Source§fn clone(&self) -> SetBreakpointOnFunctionCall
fn clone(&self) -> SetBreakpointOnFunctionCall
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetBreakpointOnFunctionCall
impl Debug for SetBreakpointOnFunctionCall
Source§impl<'de> Deserialize<'de> for SetBreakpointOnFunctionCall
impl<'de> Deserialize<'de> for SetBreakpointOnFunctionCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for SetBreakpointOnFunctionCall
impl Method for SetBreakpointOnFunctionCall
const NAME: &'static str = "Debugger.setBreakpointOnFunctionCall"
type ReturnObject = SetBreakpointOnFunctionCallReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
impl StructuralPartialEq for SetBreakpointOnFunctionCall
Auto Trait Implementations§
impl Freeze for SetBreakpointOnFunctionCall
impl RefUnwindSafe for SetBreakpointOnFunctionCall
impl Send for SetBreakpointOnFunctionCall
impl Sync for SetBreakpointOnFunctionCall
impl Unpin for SetBreakpointOnFunctionCall
impl UnsafeUnpin for SetBreakpointOnFunctionCall
impl UnwindSafe for SetBreakpointOnFunctionCall
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more