dex

Macro dex 

Source
macro_rules! dex {
    (
        $($args:tt)*
    ) => { ... };
}
Expand description

debug eprintln! when exiting.

To signify exiting a function. Use this as the last eprintln! in a function.

use si_trace_print::{defn, defx};
use si_trace_print::dex;
fn func1() {
    dex!("hello");
}
fn main() {
    defn!();
    func1();
    defx!();
}

prints

→main:
    ←hello
←main:

Uses sx().

For debug builds.