Skip to content
Discussion options

You must be logged in to vote

The feature alone doesn't show anything, debug_on_hover is false by default. What callstack switches 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:

ctx.set_debug_on_hover(true);

Two ways to end up with nothing at all: release builds, since the whole DebugOptions struct sits behind #[cfg(debug_assertions)], and web, since it's native only.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Radrogyl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants