-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Async execution freezes after hitting a breakpoint #37312
Comments
Having a hard time reducing the sample above to straight Dart code while maintaining the behavior we're seeing. Might be an issue specific to Flutter, but I'll have to investigate further. |
It looks like the timer event is being dropped on the floor while the event handler is paused due to the breakpoint, which is why things will start working again when another asynchronous event is handled or the app is paused and resumed manually. This should be fixed in this CL. |
@bkonyi, This is not a complete solution I'm afraid. Single invocation of saved_notify_callback(Api::CastIsolate(this)); Will only result in one We're having application deadlocking because it is missing If I modify the code to call |
For reference, here's the code: Lines 3566 to 3575 in add88f2
|
…e in while message handler was paused. Fixes dart-lang#37312
From Dart-Code/Dart-Code#1801:
I've confirmed this to be an issue in Observatory and DevTools. Haven't tested in Android Studio.
The text was updated successfully, but these errors were encountered: