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 a built-in egui debugger #4650

Open
emilk opened this issue Jun 10, 2024 · 0 comments
Open

Add a built-in egui debugger #4650

emilk opened this issue Jun 10, 2024 · 0 comments
Labels

Comments

@emilk
Copy link
Owner

emilk commented Jun 10, 2024

Debugging layout problems and similar in egui is painful.

I'd like to have a mode where egui records events to an event stream containing:

  • Shapes being painted
  • Ui creation
  • Widget placements
  • changes to min_rect and max_rect
  • custom text log events

This would then be paired with a viewer of these events, where the user can step through them at their own pace and figure out exactly what happened when.

For instance: you hit a special key-combo, and the next egui frame is recorded as an event stream, and a new egui::Window or viewport pops up that shows this recording, with controls for stepping through the events one at the time. Each event would be visualized as rectangles and shapes in a canvas area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant