pub struct DebugTracker<'a> {
    pub debug_symbols: &'a DebugSymbols,
    pub debug_logs: HashMap<String, String>,
}Expand description
Stores dbg! logs keyed by their label text.
Fields§
§debug_symbols: &'a DebugSymbols§debug_logs: HashMap<String, String>Implementations§
Source§impl<'a> DebugTracker<'a>
 
impl<'a> DebugTracker<'a>
pub fn new(debug_symbols: &'a DebugSymbols) -> Self
Trait Implementations§
Source§impl<'a> Debug for DebugTracker<'a>
 
impl<'a> Debug for DebugTracker<'a>
Source§impl<'a> ExecTracker<Elements> for DebugTracker<'a>
 
impl<'a> ExecTracker<Elements> for DebugTracker<'a>
Source§fn track_left(&mut self, _: Ihr)
 
fn track_left(&mut self, _: Ihr)
Track the execution of the left branch of the case node with the given 
ihr.Source§fn track_right(&mut self, _: Ihr)
 
fn track_right(&mut self, _: Ihr)
Track the execution of the right branch of the case node with the given 
ihr.Source§fn track_jet_call(&mut self, _: &Elements, _: &[UWORD], _: &[UWORD], _: bool)
 
fn track_jet_call(&mut self, _: &Elements, _: &[UWORD], _: &[UWORD], _: bool)
Track the execution of a 
jet call with the given input_buffer, output_buffer, and call result success.Source§fn track_dbg_call(&mut self, cmr: &Cmr, value: Value)
 
fn track_dbg_call(&mut self, cmr: &Cmr, value: Value)
Track the potential execution of a 
dbg! call with the given cmr and value.Source§fn is_track_debug_enabled(&self) -> bool
 
fn is_track_debug_enabled(&self) -> bool
Check if tracking debug calls is enabled.
Auto Trait Implementations§
impl<'a> Freeze for DebugTracker<'a>
impl<'a> RefUnwindSafe for DebugTracker<'a>
impl<'a> Send for DebugTracker<'a>
impl<'a> Sync for DebugTracker<'a>
impl<'a> Unpin for DebugTracker<'a>
impl<'a> UnwindSafe for DebugTracker<'a>
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
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more