pub struct Debugger { /* private fields */ }Expand description
A ready-made hook: breakpoints, stepping, pause requests and a trace function (spec/host/09-debug.md, 9.6).
Implementations§
Source§impl Debugger
impl Debugger
Sourcepub fn set_breakpoints(&mut self, module: &str, lines: &[u32])
pub fn set_breakpoints(&mut self, module: &str, lines: &[u32])
Replaces the breakpoints of module (an empty list removes them).
Sourcepub fn set_mode(&mut self, mode: StepMode)
pub fn set_mode(&mut self, mode: StepMode)
How to go on from the next Vm::run_debug.
Sourcepub fn pause_handle(&self) -> PauseHandle
pub fn pause_handle(&self) -> PauseHandle
A handle to ask this debugger to pause from another thread.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Debugger
impl !Sync for Debugger
impl !UnwindSafe for Debugger
impl Forget for Debugger
impl Freeze for Debugger
impl Move for Debugger
impl Send for Debugger
impl Unpin for Debugger
impl UnsafeUnpin for Debugger
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