macro_rules! valsf {
($port:expr, [ $($value:expr),+ $(,)? ]) => { ... };
($($value:expr),+ $(,)?) => { ... };
}
Expand description
Send debug expression name/value pairs to the remote viewer (with flush)
// Default port
let world = "world!";
rdbg::valsf!(world, 1 + 1);
flush();
// Custom port
let debug = rdbg::port(5000);
rdbg::valsf!(&debug, [world, 1 + 1]);
debug.flush();