Enum miden_core::DebugOptions
source · pub enum DebugOptions {
StackAll,
StackTop(u16),
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(u16)
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§fn eq(&self, other: &DebugOptions) -> bool
fn eq(&self, other: &DebugOptions) -> bool
self
and other
values to be equal, and is used
by ==
.