pub enum BreakpointKind {
Pc(u64),
Line(Vec<ResolvedLine>),
Function(Vec<ResolvedFunction>),
Storage(String),
StateWrite {
path: String,
slot: String,
},
Revert,
Call(Option<String>),
Opcode(String),
}Variants§
Pc(u64)
Line(Vec<ResolvedLine>)
Hits when execution enters one of these lines.
Function(Vec<ResolvedFunction>)
Hits when execution enters one of these functions.
Storage(String)
Hits on an SSTORE to this slot, normalized to lowercase hex without leading
zeros.
StateWrite
The same, for a slot named as a state variable: the path the user wrote and the slot the storage layout put it at.
Revert
Call(Option<String>)
Hits on a call instruction, to this lowercase address or to any.
Opcode(String)
Hits on every execution of this uppercase mnemonic.
Trait Implementations§
Source§impl Clone for BreakpointKind
impl Clone for BreakpointKind
Source§impl Debug for BreakpointKind
impl Debug for BreakpointKind
impl Eq for BreakpointKind
Source§impl PartialEq for BreakpointKind
impl PartialEq for BreakpointKind
impl StructuralPartialEq for BreakpointKind
Auto Trait Implementations§
impl Freeze for BreakpointKind
impl RefUnwindSafe for BreakpointKind
impl Send for BreakpointKind
impl Sync for BreakpointKind
impl Unpin for BreakpointKind
impl UnsafeUnpin for BreakpointKind
impl UnwindSafe for BreakpointKind
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