question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

debug run flutter APP can't stop and STOP button not response

See original GitHub issue

aplle@MacBook-Air ~ % flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel master, 2.5.0-2.0.pre.46, on macOS 11.4 20F71 darwin-arm, locale zh-Hans-CN) [!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) ✗ cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS [✓] Chrome - develop for the web [!] Android Studio (version 2020.3) ✗ Unable to find bundled Java version. [✓] IntelliJ IDEA Community Edition (version 2021.2) [✓] VS Code (version 1.58.2) [✓] Connected device (2 available)

! Doctor found issues in 2 categories.

----------------------------------------------this is my IDE Inteliji Idea 2021.2 output log-------------------------------------

2021-08-03 17:52:07,575 [1428402] INFO - .flutter.run.daemon.FlutterApp - RunApp wujiapp (Run) 2021-08-03 17:52:07,575 [1428402] INFO - .flutter.run.daemon.FlutterApp - /Users/aplle/Downloads/flutter/bin/flutter [–no-color, run, --machine, --track-widget-creation, --device-id=6TNF6TPF4HU4FYMJ, --start-paused, --dart-define=flutter.inspector.structuredErrors=true, --devtools-server-address=http://127.0.0.1:9102, lib/main.dart] 2021-08-03 17:52:31,736 [1452563] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 15 ms 2021-08-03 17:54:06,166 [1546993] DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/aplle/StudioProjects/wujiapp/lib/content/detail.dart 2021-08-03 18:01:01,994 [1962821] DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/aplle/StudioProjects/wujiapp/lib/content/detail.dart 2021-08-03 18:03:47,308 [2128135] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 11 ms 2021-08-03 18:04:20,568 [2161395] DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/aplle/StudioProjects/wujiapp/lib/common.dart 2021-08-03 18:05:39,156 [2239983] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)FrameworkDetectionExcludesConfiguration took 11 ms 2021-08-03 18:06:43,686 [2304513] INFO - rationStore.ComponentStoreImpl - Saving appEditorSettings took 64 ms 2021-08-03 18:11:47,094 [2607921] DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/aplle/StudioProjects/wujiapp/lib/common.dart 2021-08-03 18:12:04,369 [2625196] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 12 ms 2021-08-03 18:13:44,850 [2725677] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 14 ms 2021-08-03 18:14:24,558 [2765385] INFO - rationStore.ComponentStoreImpl - Saving appFindSettings took 37 ms 2021-08-03 18:15:15,905 [2816732] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 12 ms 2021-08-03 18:16:42,440 [2903267] INFO - .FlutterAppDaemonEventListener - app shutdown took longer than 100ms 2021-08-03 18:16:47,299 [2908126] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:16:47,803 [2908630] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:16:47,968 [2908795] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:16:48,116 [2908943] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:17:05,613 [2926440] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:17:06,215 [2927042] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:17:06,384 [2927211] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:17:06,544 [2927371] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart


[ At this point I found that the dart process had reached 100% so, I ended the dart process after everning is ok. ]

2021-08-03 18:18:30,628 [3011455] INFO - .flutter.run.daemon.FlutterApp - StopApp wujiapp (Run)

The log output for my macbook(macos 11.4 , m1)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
github-actions[bot]commented, Jun 21, 2022

Without additional information we’re not able to resolve this issue, so it will be closed at this time. You’re still free to add more info and respond to any questions above, though. We’ll reopen the case if you do. Thanks for your contribution!

1reaction
zoozobibcommented, Aug 5, 2021

sorry, I cannot reproduce this problem by creating a simple project for the time being. My current project is very complicated, I can’t take out a module alone to demonstrate; I’m thinking of a way to see how to reproduce the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugger: the stop button does not stop the app #64241 ...
Steps to Reproduce Start-debug any flutter app in Android Studio Click the stop button Expected results: IDE stops debugging and the app ......
Read more >
Debugging Flutter apps
If you run your application in debug mode or profile mode, while it's running you can open DevTools in the browser to connect...
Read more >
Pause Flutter app in debugger and wait for tap in IntelliJ
When I tap the button, nothing happens and the debugger doesn't change from paused to running. However, if I resume the app after...
Read more >
Xcode 11 hangs while attaching debugger to ios process
When I attempt to launch an app from Xcode 11 (gm seed 2) to my attached iPhone running iOS 13 the I see...
Read more >
ANRs - Android Developers
When the UI thread of an Android app is blocked for too long, an "Application Not Responding" (ANR) error is triggered. If the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found