pub struct PausedEvent {
pub call_frames: Vec<CallFrame>,
pub reason: PausedReason,
pub data: Option<Value>,
pub hit_breakpoints: Option<Vec<String>>,
pub async_stack_trace: Option<StackTrace>,
pub async_stack_trace_id: Option<StackTraceId>,
pub async_call_stack_trace_id: Option<StackTraceId>,
}Expand description
Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
Payload of the Debugger.paused event.
Fields§
§call_frames: Vec<CallFrame>Call stack the virtual machine stopped on.
reason: PausedReasonPause reason.
data: Option<Value>Object containing break-specific auxiliary properties.
hit_breakpoints: Option<Vec<String>>Hit breakpoints IDs
async_stack_trace: Option<StackTrace>Async stack trace, if any.
async_stack_trace_id: Option<StackTraceId>Async stack trace, if any.
Experimental: may change without notice.
async_call_stack_trace_id: Option<StackTraceId>Never present, will be removed.
Deprecated in the protocol.
Experimental: may change without notice.
Trait Implementations§
Source§impl Clone for PausedEvent
impl Clone for PausedEvent
Source§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
Source§impl Event for PausedEvent
impl Event for PausedEvent
Source§impl PartialEq for PausedEvent
impl PartialEq for PausedEvent
Source§impl Serialize for PausedEvent
impl Serialize for PausedEvent
impl StructuralPartialEq for PausedEvent
Auto Trait Implementations§
impl Forget for PausedEvent
impl Freeze for PausedEvent
impl RefUnwindSafe for PausedEvent
impl Send for PausedEvent
impl Sync for PausedEvent
impl Unpin for PausedEvent
impl UnsafeUnpin 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