Skip to content

Conversation

@bkonyi
Copy link
Collaborator

@bkonyi bkonyi commented Oct 9, 2025

This is a hotfix release that will be cherry picked into Flutter for the next stable release.

Contains the following two changes applied on top of 25.1.0:

srujzs and others added 3 commits October 9, 2025 15:26
Fixes dart-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.
This is needed to access the DTD instance spawned by DDS.
@bkonyi bkonyi requested a review from srujzs October 9, 2025 19:33
@bkonyi bkonyi changed the base branch from main to 25.1.0+1_release October 9, 2025 19:35
Copy link
Contributor

@srujzs srujzs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ben!

@bkonyi bkonyi merged commit 191db5b into 25.1.0+1_release Oct 9, 2025
5 checks passed
@bkonyi bkonyi deleted the dwds-v25.1.0+1_hotfix branch October 9, 2025 20:24
@DanTup
Copy link
Contributor

DanTup commented Oct 24, 2025

@bkonyi was there a cherry-pick for 25.1.0+1 into the beta? (I couldn't find one, but from the description about it sounds like that was the intention)

@bkonyi
Copy link
Collaborator Author

bkonyi commented Oct 24, 2025

@bkonyi was there a cherry-pick for 25.1.0+1 into the beta? (I couldn't find one, but from the description about it sounds like that was the intention)

flutter/flutter#177321

@DanTup
Copy link
Contributor

DanTup commented Oct 24, 2025

@bkonyi thanks! I forgot it would be created by the bot and was looking for your name 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants