pub struct DebuggerState {
pub current_step: usize,
pub display_mode: DisplayMode,
pub breakpoints: BTreeSet<u64>,
/* private fields */
}Fields§
§current_step: usize§display_mode: DisplayMode§breakpoints: BTreeSet<u64>Implementations§
Source§impl DebuggerState
impl DebuggerState
pub fn new() -> Self
pub fn load_trace(&mut self, trace: TransactionTrace)
pub fn trace(&self) -> Option<&TransactionTrace>
pub fn current_step_data(&self) -> Option<&TraceStep>
pub fn step_count(&self) -> usize
pub fn set_display_mode(&mut self, mode: DisplayMode) -> StepOutcome
pub fn next_instruction(&mut self) -> StepOutcome
pub fn next_source(&mut self) -> StepOutcome
pub fn step_into(&mut self) -> StepOutcome
pub fn continue_execution(&mut self) -> StepOutcome
pub fn goto_step(&mut self, step: usize) -> StepOutcome
pub fn set_breakpoint(&mut self, pc: u64) -> StepOutcome
pub fn clear_breakpoint(&mut self, pc: u64) -> StepOutcome
pub fn apply_command(&mut self, command: DebuggerCommand) -> Option<StepOutcome>
Trait Implementations§
Source§impl Clone for DebuggerState
impl Clone for DebuggerState
Source§fn clone(&self) -> DebuggerState
fn clone(&self) -> DebuggerState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DebuggerState
impl Debug for DebuggerState
Source§impl Default for DebuggerState
impl Default for DebuggerState
impl Eq for DebuggerState
Source§impl PartialEq for DebuggerState
impl PartialEq for DebuggerState
impl StructuralPartialEq for DebuggerState
Auto Trait Implementations§
impl Freeze for DebuggerState
impl RefUnwindSafe for DebuggerState
impl Send for DebuggerState
impl Sync for DebuggerState
impl Unpin for DebuggerState
impl UnsafeUnpin for DebuggerState
impl UnwindSafe for DebuggerState
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