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 frame diagnostics to DevTools Events #17620

Open
stevemonaco opened this issue Nov 26, 2024 · 0 comments
Open

Add frame diagnostics to DevTools Events #17620

stevemonaco opened this issue Nov 26, 2024 · 0 comments

Comments

@stevemonaco
Copy link
Contributor

Is your feature request related to a problem? Please describe.

When debugging event interactions, especially rendering issues, being able to determine which events happened before and after a particular frame was rendered would be helpful.

See the insertion adorner example below for a case where jerky behavior might be more easily debugged if I knew which frames problematic events were before/after. I've already debugged this through intuition and some guesswork.

dd-adornersbug

Describe the solution you'd like

Add a frame count to DevTools Events for each event, similar to what the FPS Overlay does.

Describe alternatives you've considered

No response

Additional context

There are some considerations here with async events which last multiple frames. Potentially requiring the frame counter to be stored at every stop in a RoutedEvent or at least the starting/ending frame for multiple frame events.

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

No branches or pull requests

2 participants