Skip to content

Make it real easy to open an issue with crash reports and logs #1657

Closed as not planned

Description

@sethladd

Imagine a flutter report-bug command. It could grab any crash report from iOS, any recent logs, the flutter version, the Dart version, and then send it off to GitHub as an issue.

We want to make it as simple as

Example UI:

$ flutter report-bug
Sorry you ran into trouble, but we appreciate the bug report.

This command collects potentially relevant information and opens a public bug report for the Flutter team as a GitHub issue. Please review the information before you confirm.

Flutter version: ...
Dart version: ...
OS: mac
Crash file: path/to/file
Log: path/to/file or print out what we will send

OK to make this information public as a GitHub issue? [y/N]

Activity

  1. modified the milestone: on Feb 16, 2016
  2. Hixie commented on Jan 26, 2017

    @Hixie
    Contributor

    cc @tvolkert who might be interested in this

  3. modified the milestones: , on Jan 26, 2017
  4. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Jan 26, 2017
  5. tvolkert commented on Jan 26, 2017

    @tvolkert
    Contributor

    I was actually thinking about this a few days ago. I think it works best as a flag to flutter run, since that lets you capture potentially important information in the building and deployment of the app.

  6. tvolkert commented on Jan 26, 2017

    @tvolkert
    Contributor

    flutter run --bugreport

  7. zanderso commented on Jan 17, 2020

    @zanderso
    Member

    @jmagman's work here in this area is what we decided to do for this.

  8. jmagman commented on May 26, 2020

    @jmagman
    Member

    Let's reopen this. #45360 is triggered for flutter crashes, but it would be nice to have something the user could trigger if they are hitting a non-crashing bug. We should be able to reuse a lot of that code.

  9. 2 remaining items

  10. removed this from the milestone on Dec 10, 2020
  11. added
    P3Issues that are less important to the Flutter project
    and removed on Jun 28, 2023
  12. bkonyi commented on Sep 30, 2024

    @bkonyi
    Contributor

    Let's reopen this. #45360 is triggered for flutter crashes, but it would be nice to have something the user could trigger if they are hitting a non-crashing bug. We should be able to reuse a lot of that code.

    What sort of non-crashing bugs were you thinking of? Just general failures in the tool (e.g., no device found)?

  13. jmagman commented on Sep 30, 2024

    @jmagman
    Member

    Yes, or even bugs in Flutter itself "I launch my app and the screen is black" that would collect verbose logs, doctor, etc

  14. bkonyi commented on Jun 27, 2025

    @bkonyi
    Contributor

    I don't think this is something that the tool team will have time to work on, and I can't think of a good way to implement this in the UI. Going to close this as not planned for now.

  15. github-actions commented on Jul 11, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  16. locked as resolved and limited conversation to collaborators on Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: triage improvementsMake GitHub issues easier to triage and more actionablec: contributor-productivityTeam-specific productivity, code health, technical debt.c: new featureNothing broken; request for a new capabilityteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions