[][src]Macro cortex_m_semihosting::dbg

macro_rules! dbg {
    () => { ... };
    ($val:expr) => { ... };
    ($val:expr,) => { ... };
    ($($val:expr),+ $(,)?) => { ... };
}

Macro that prints and returns the value of a given expression for quick and dirty debugging. Works exactly like dbg! in the standard library, replacing eprintln with heprintln, which it unwraps.