Cannot find docs for „callstack" feature #8346
|
Maybe I am just blind, but I cannot seem to find any documentation on how to use the „callstack“ feature mentioned in egui’s Cargo.toml file:
I use the eframe template and added the feature to egui in the dependencies. But it doesn’t show any of the debug-ui when I hover over any of the stuff present in the template app. Is there anything else I need to do to make it work? Is there any documentation on this I missed? |
Replies: 1 comment
|
The feature alone doesn't show anything, To have it on all the time: ctx.set_debug_on_hover(true);Two ways to end up with nothing at all: release builds, since the whole |
The feature alone doesn't show anything,
debug_on_hoverisfalseby default. Whatcallstackswitches on is a different option,debug_on_hover_with_all_modifiers, so you only get the tooltip while holding every modifier at once (Ctrl + Shift + Alt + Super) and hovering. Try that first, it tells you whether the feature actually compiled in.To have it on all the time:
Two ways to end up with nothing at all: release builds, since the whole
DebugOptionsstruct sits behind#[cfg(debug_assertions)], and web, since it's native only.