Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug-option to show a callstack to the widget under the mouse #3391

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

emilk
Copy link
Owner

@emilk emilk commented Sep 26, 2023

Sometimes you wonder "Where in the code is this widget added?"

Well, now you can answer it, at least on native in debug mode.

You need to enable the new callstack feature of egui then press down all modifiers keys in a debug-build and see this:

image

Other changes

The DebugOptions are now only available in debug builds.

The trace! macro has been removed (the hover feature is more useful).

@emilk emilk added feature New feature or request egui labels Sep 26, 2023
@emilk emilk merged commit 23ce4e7 into master Sep 26, 2023
36 checks passed
@emilk emilk deleted the emilk/callstack-on-hover branch September 26, 2023 13:50
emilk pushed a commit that referenced this pull request Nov 18, 2023
)

Was trying to figure out why `trace!` was removed in 0.23 and realized
it wasn't in the changelog. It was removed as part of
[#3391](#3391)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
egui feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant