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
[DWDS] Don't send PauseInterrupted event during a hot reload and publish 25.1.1
Fixesdart-lang/sdk#61560
We rely on a pause within a hot reload to pause execution so that
we can reregister breakpoints. However, the existing pause mechanism
always sends a PauseInterrupted event, which then triggers the
client to think this is a normal pause event and not an internal
detail. Instead, we should have the ChromeProxyService signal to
the debugger that this is an "internal pause" and therefore it should
not send a regular pause event and should use a completer to signal
the pause is done.
Tests are refactored and updated to correctly check for the events
when reregistering breakpoints. Specifically, it checks no other
events besides the expected ones are sent.
0 commit comments