Android Studio Flutter breakpoint is disabled when debugging
194
The current flutter plugin 65.0.2 (for bumblebee 2021.1.1) has a bug "breaking" breakpoints in Android Studio. Downgrading to 64.1.2 gets breakpoints working again.
You can grab it here and install from disk (clicking on the gear when viewing plugins in android studio). https://plugins.jetbrains.com/plugin/9212-flutter/versions/stable
Author by
david72
Software engineer mainly for the mobile platform - Android / iOS / Flutter.
Updated on November 26, 2022Comments
-
david72 over 1 year
When starting debug of flutter app, and the breakpoint is red (enabled), once the app is installed, and the debug is starting, the breakpoint is disabled, and look like this:
How do I fix this so that the app will stop at breakpoint again.
I am using:
- Android Studio 2021.1.1 patch 2
- Flutter plugin 65.0.2
- Flutter version 1.22.4
- XCode 13.2.1
-
Sleewok about 2 yearsI am having the same issue now. I just updated the flutter plugin and flutter to 2.10.X from 2.8. Breakpoints are no longer working. I've wasted an hour with this...
-
david72 about 2 years@Sleewok what version of Android Studio and Xcode are you using?
-
Sleewok about 2 yearsBumblebee 2021.1.1 patch 2 - I'm on Windows so it isn't related to xcode... I just tried clearing/invalidating caches. I also did a flutter clean. Neither of those fixed it.
-
david72 about 2 yearsseem like it could be an issue with Bumblebee 2021.1.1 patch 2 @Sleewok thank you
-
Sleewok about 2 yearsI don't think it is related to this version of android studio. I have been running this version and didn't have any problems until I did the flutter plugin update and upgraded to flutter 2.10. The only thing I did differently was try to run my app in Edge browser (I hadn't tried that before).
-
david72 about 2 yearsWhat is your version of flutter plugin? @Sleewok
-
Sleewok about 2 years65.0.2 @david72
-
david72 about 2 yearsok then might be the flutter plugin