You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds support for properly reregistering breakpoints across
a hot reload. Like with hot restart, leverages the kPausePostRequest
event in order to reregister breakpoints. DWDS does the initial
work to load the new sources in ("hotReloadStart"), and pauses and
sends the request. Upon disabling existing breakpoint, reregistering
and registering new breakpoints and resuming, DWDS will resume the
app and push the new sources into the runtime ("hotReloadEnd").
Also reinitializes some cached information in order to compute new
sources. Note that it's very conservative for now. A future change
should optimize the invalidation.
See #2628 for that work.
Adds tests for the following cases:
Editing a line with a breakpoint.
Adding a line before a breakpoint.
Removing a line before a breakpoint.
Adding a new file with a breakpoint in it.
Breakpoint in previously captured code is removed.
There's no pause when pause_isolates_on_start is false.
dart-lang/sdk#60186
Includes a light refactor of testing to create temp directories wherever the TestProject needs to be edited. TestProjects should specify whether it's meant to be edited via editable and list its dependencies so they can be copied too.
Copy file name to clipboardExpand all lines: dwds/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
## 24.4.0-wip
2
2
3
+
- Added support for breakpoint registering on a hot reload with the DDC library bundle format using PausePostRequests.
4
+
3
5
## 24.3.11
4
6
5
7
- Changed DWDS to always inject the client and added `useDwdsWebSocketConnection` flag to control communication protocol: when true uses socket-based implementation, when false uses Chrome-based communication protocol.
0 commit comments