-
Notifications
You must be signed in to change notification settings - Fork 319
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
Web: Breakpoint disabling impossible #5128
Comments
I was able to reproduce this problem. Observations:
|
It also happens for me, its super annoying. Hopefully someone picks it up. |
I'm also have the same problem when I test Flutter2 on the Web. 😂😂😂. Maybe they're should resolve it. |
This seems not to be exclusive to Flutter web in Intellij. I also have this problem in VS Code. |
Fixed via dart-lang/webdev#1310, and propagated to flutter in flutter/flutter#81403 |
@annagrin I'm on latest IntelliJ and flutter, and this is still happening. As before - only seems to happen with web. Flutter:
IntelliJ:
|
@matanshukry it's been a while, so can you describe your case? You set breakpoints, disable them, then restart (what action are you taking to restart the app?), and breakpoints are still hit? I believe @elliette is making upcoming changes for this across IDEs. |
@helin24 I have the exact same issue as described in the original post. That is, if you try and disable a breakpoint when the debugger has stopped on it, it will then keeps stopping at that breakpoint, no matter what.
|
This sounds the like the same issue as dart-lang/webdev#2257 The fix will be in the next version of DWDS which I'm aiming to be on the Flutter master channel by end of this month. |
Steps to Reproduce
At this point it is impossible to run without the breakpoints, "disable all" is also not working. The only thing that works is manually restarting the entire application.
Version info
[√] Flutter (Channel beta, 1.25.0-8.1.pre, on Microsoft Windows [Version 10.0.19041.685], locale de-DE)
• Flutter version 1.25.0-8.1.pre at D:\Flutter
• Framework revision 8f89f6505b (2 days ago), 2020-12-15 15:07:52 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at ///
• Platform android-29, build-tools 29.0.2
• Java binary at: E:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
X Android license status unknown.
Run
flutter doctor --android-licenses
to accept the SDK licenses.See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at E:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2020.1.1
• Flutter plugin version 52.1.5
• Dart plugin version 203.5981.152
[√] VS Code (version 1.52.0)
• VS Code at ///
• Flutter extension can be installed from:
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88
• Edge (web) • edge • web-javascript • Microsoft Edge 87.0.664.60
! Doctor found issues in 1 category.
The text was updated successfully, but these errors were encountered: