Skip to content

Need a way of interrupting a misbehaving app #6689

Closed

Description

@lukechurch

Steps to Reproduce

I have a fork of the gallery that I seem to have introduced a bug into (https://github.com/dart-lang/flit/tree/flitted_gallery/flitted_gallery)

When run the app via Flutter run, on the iOS simulator, it behaves until I tap "Shrine" -- which is probably where I have introduced the bug.

After this, the simulator stops responding, and "R" takes multiple minutes to complete. There is no error shown on the simulator or on the console. Connecting to the observatory doesn't work.

Interaction from the IntellIJ plugin, such as breaking, doesn't appear to have an effect.

Recommendations

  • Restart should work independently of the state of the app
  • It would be great to be able to have a way to forcibly pause an app, even if it was misbehaving, to inspect the stack trace
  • When the FPS of an app drops below say 1 fps, for more than 5s, it is almost certainly broken. It would be great to have a mode where the app would halt itself if it was misbehaving that badly to give the developer an opportunity to understand what was going on.

Activity

  1. added this to the milestone on Feb 27, 2017
  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Feb 27, 2017
  3. Hixie commented on Feb 27, 2017

    @Hixie
    Contributor

    The link above is 404.

    Can you reduce your test case to something short? I'm not sure what specific action we could do to resolve this issue.

  4. johnmccutchan commented on Mar 28, 2017

    @johnmccutchan
    Contributor

    Closing as stale.

  5. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Dec 18, 2020
  6. github-actions commented on Aug 8, 2021

    @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.

  7. locked as resolved and limited conversation to collaborators on Aug 8, 2021
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

    t: hot reloadReloading code during "flutter run"

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions