-
Notifications
You must be signed in to change notification settings - Fork 326
Restore breakpoints after hot reload #305
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
Comments
Oddly, doing a full app restart seems to preserve breakpoints. |
Yeah, we'll need some API changes to enable us to preserve (or re-set) breakpoints during a hot reload. |
Can't we just use the observatory, as we already do to set and unset them? I'm actually wondering why the breakpoints do not get lost on a restart. Maybe the daemon should be doing something different, and this isn't even an IDE issue. @danrubel could that be the case? |
The resolution from issue #273 will help us out. I think the steps will be:
|
FYI @johnmccutchan |
This is currently blocked on flutter/flutter#6890 (a crash in the runtime). /cc @johnmccutchan, @turnidge I see this crash on both the iOS simulator and with Android devices. |
flutter/flutter#6890 is fixed. |
PR for the Dart plugin out here: JetBrains/intellij-plugins#457 |
This is in progress in the Dart plugin; moving it out of the 0.1.8 milestone. |
This has landed in both the Flutter and Dart plugins. |
When the Hot Reload button is clicked the code on the selected device is updated but the breakpoints are lost for that device. If multiple devices are connected only the breakpoints on the reloaded device are lost. The breakpoint locations are not changing in this case (I just changed one character in a string to test that). This needs to be solved by the IDE since the daemon has no information about breakpoints.
The text was updated successfully, but these errors were encountered: