Macro egui::trace[][src]

macro_rules! trace {
    ($ui:expr) => { ... };
    ($ui:expr, $label:expr) => { ... };
}
Expand description

Show debug info on hover when Context::set_debug_on_hover has been turned on.

// Turn on tracing of widgets
ui.ctx().set_debug_on_hover(true);

/// Show [`std::file`], [`std::line`] and argument on hover
egui::trace!(ui, "MyWindow");

/// Show [`std::file`] and [`std::line`] on hover
egui::trace!(ui);