pub struct PausedEvent { /* private fields */ }Available on crate features
Debugger and Runtime only.Expand description
Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
Implementations§
Source§impl PausedEvent
impl PausedEvent
pub fn builder() -> PausedEventBuilder
Sourcepub fn call_frames(&self) -> &[CallFrame]
pub fn call_frames(&self) -> &[CallFrame]
Call stack the virtual machine stopped on.
Sourcepub fn reason(&self) -> &PausedEventReason
pub fn reason(&self) -> &PausedEventReason
Pause reason.
Sourcepub fn data(&self) -> Option<&PausedEventData>
pub fn data(&self) -> Option<&PausedEventData>
Object containing break-specific auxiliary properties.
Sourcepub fn hit_breakpoints(&self) -> Option<&Vec<String>>
pub fn hit_breakpoints(&self) -> Option<&Vec<String>>
Hit breakpoints IDs
Sourcepub fn async_stack_trace(&self) -> Option<&StackTrace>
pub fn async_stack_trace(&self) -> Option<&StackTrace>
Async stack trace, if any.
Sourcepub fn async_stack_trace_id(&self) -> Option<&JsonValue>
Available on crate feature experimental only.
pub fn async_stack_trace_id(&self) -> Option<&JsonValue>
experimental only.Async stack trace, if any.
Sourcepub fn async_call_stack_trace_id(&self) -> Option<&JsonValue>
👎DeprecatedAvailable on crate feature experimental only.
pub fn async_call_stack_trace_id(&self) -> Option<&JsonValue>
experimental only.Never present, will be removed.
Trait Implementations§
Source§impl Clone for PausedEvent
impl Clone for PausedEvent
Source§fn clone(&self) -> PausedEvent
fn clone(&self) -> PausedEvent
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 PausedEvent
impl Debug for PausedEvent
Source§impl<'de> Deserialize<'de> for PausedEvent
impl<'de> Deserialize<'de> for PausedEvent
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
Auto Trait Implementations§
impl Freeze for PausedEvent
impl RefUnwindSafe for PausedEvent
impl Send for PausedEvent
impl Sync for PausedEvent
impl Unpin for PausedEvent
impl UnwindSafe for PausedEvent
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