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

Meta tracking issue: "Reporting error: Failed to parse package:xyz/main.dart" #7192

Open
kenzieschmoll opened this issue Feb 8, 2024 · 2 comments
Labels
bug Something isn't working P1 high priority issues at the top of the work list, actively being worked on.

Comments

@kenzieschmoll
Copy link
Member

kenzieschmoll commented Feb 8, 2024

We have gotten several reports of this error. The stack traces are minified so they aren't helpful, but looks like it is coming from codeview_controller.dart based on the String:
https://github.com/flutter/devtools/blob/master/packages/devtools_app/lib/src/screens/debugger/codeview_controller.dart/#L251

@kenzieschmoll
Copy link
Member Author

One question we should consider once we have a repro is whether we want to be notifying the user with this parsing error happens (notifyUser: true is set currently). If this error is expected (potentially on a hot restart or app disconnect?) then we might want to fail gracefully and not give the users an error notification that they can report.

@kenzieschmoll
Copy link
Member Author

Some repro details shared on #7305.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 high priority issues at the top of the work list, actively being worked on.
Projects
None yet
Development

No branches or pull requests

1 participant