Skip to content

Dart Debug Extension gracefully handles disconnection #1582

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

Merged
merged 4 commits into from
Apr 19, 2022

Conversation

elliette
Copy link
Contributor

Previously when a debug session was lost, we were simply closing the socket. This meant that the Dart DevTools panel wasn't aware of the disconnection. Now we notify the panel that the session has been lost , so that it will show the "Start debugging" / "Start inspecting" screen once more.

Also did a bit of clean up to make things clearer.

@elliette elliette requested a review from annagrin April 14, 2022 17:55
@elliette elliette merged commit e7c3435 into dart-lang:master Apr 19, 2022
@elliette elliette deleted the disconnection branch May 4, 2022 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants