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

Introduce hooks for providing context for engine crashes #33617

Open
mehmetf opened this issue May 30, 2019 · 0 comments
Open

Introduce hooks for providing context for engine crashes #33617

mehmetf opened this issue May 30, 2019 · 0 comments
Labels
a: debugging Debugging, breakpoints, expression evaluation dependency: dart Dart team may need to help us engine flutter/engine repository. See also e: labels. P2 Important issues not at the top of the work list team-engine Owned by Engine team triaged-engine Triaged by Engine team

Comments

@mehmetf
Copy link
Contributor

mehmetf commented May 30, 2019

Internal: b/133849502

Our clients are reporting that engine crashes are hard to diagnose and reproduce. One of the most common complaints is the lack of context around an engine crash (which page did the app crash on? which experiment flags were turned on? etc).

Is it possible to provide a callback to the framework when the engine is crashing? Something like Java's UncaughtExceptionHandler.

The alternative is to ask apps to keep logging messages and scan the log to find the last one before crash. This is error-prone, cumbersome and not accurate.

@mehmetf mehmetf added engine flutter/engine repository. See also e: labels. a: debugging Debugging, breakpoints, expression evaluation dependency: dart Dart team may need to help us labels May 30, 2019
@kf6gpe kf6gpe added the P2 Important issues not at the top of the work list label Dec 9, 2020
@flutter-triage-bot flutter-triage-bot bot added team-engine Owned by Engine team triaged-engine Triaged by Engine team labels Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: debugging Debugging, breakpoints, expression evaluation dependency: dart Dart team may need to help us engine flutter/engine repository. See also e: labels. P2 Important issues not at the top of the work list team-engine Owned by Engine team triaged-engine Triaged by Engine team
Projects
None yet
Development

No branches or pull requests

4 participants