Enum miden_core::DebugOptions
source · pub enum DebugOptions {
StackAll,
StackTop(u8),
MemAll,
MemInterval(u32, u32),
LocalInterval(u16, u16, u16),
}
Expand description
Options of the Debug
decorator.
These options define the debug info which gets printed out when the Debug decorator is executed.
Variants§
StackAll
Print out the entire contents of the stack for the current execution context.
StackTop(u8)
Prints out the top n items of the stack for the current context.
MemAll
Prints out the entire contents of RAM.
MemInterval(u32, u32)
Prints out the contents of memory stored in the provided interval. Interval boundaries are both inclusive.
First parameter specifies the interval starting address, second – the ending address.
LocalInterval(u16, u16, u16)
Prints out locals stored in the provided interval of the currently executing procedure. Interval boundaries are both inclusive.
First parameter specifies the starting address, second – the ending address, and the third specifies the overall number of locals.
Trait Implementations§
source§impl Clone for DebugOptions
impl Clone for DebugOptions
source§fn clone(&self) -> DebugOptions
fn clone(&self) -> DebugOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DebugOptions
impl Debug for DebugOptions
source§impl Display for DebugOptions
impl Display for DebugOptions
source§impl PartialEq for DebugOptions
impl PartialEq for DebugOptions
source§impl PrettyPrint for DebugOptions
impl PrettyPrint for DebugOptions
source§fn to_pretty_string(&self) -> String
fn to_pretty_string(&self) -> String
source§fn pretty_print(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn pretty_print(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl Copy for DebugOptions
impl Eq for DebugOptions
impl StructuralPartialEq for DebugOptions
Auto Trait Implementations§
impl Freeze for DebugOptions
impl RefUnwindSafe for DebugOptions
impl Send for DebugOptions
impl Sync for DebugOptions
impl Unpin for DebugOptions
impl UnwindSafe for DebugOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)