pub struct Debugger { /* private fields */ }Implementations§
Source§impl Debugger
impl Debugger
pub fn new() -> Self
pub fn with_tcp(addr: &str) -> Result<Self>
pub fn with_command_bridge(bridge: DebugCommandBridge) -> Self
pub fn with_recording(program: Program) -> Self
pub fn stop_on_entry(&mut self)
pub fn add_breakpoint(&mut self, offset: usize)
pub fn remove_breakpoint(&mut self, offset: usize)
pub fn on_instruction(&mut self, vm: &mut Vm)
pub fn on_vm_status(&mut self, vm: &Vm, status: VmStatus)
pub fn on_vm_error(&mut self, vm: &mut Vm, err: &VmError) -> bool
pub fn take_recording(&mut self) -> Option<VmRecording>
pub fn take_detach_event(&mut self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Debugger
impl RefUnwindSafe for Debugger
impl Send for Debugger
impl Sync for Debugger
impl Unpin for Debugger
impl UnsafeUnpin for Debugger
impl UnwindSafe 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