Skip to content

Return error from expression evaluation if the evaluator is closed. #1884

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 15 commits into from
Jan 11, 2023

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Jan 10, 2023

Return error from expression evaluation if the evaluator is closed.

  • Update expression evaluators to return error on evaluation if closed.
  • Add expression_evaluator tests.
  • Unify MockModules and FakeModules

Helps: #1869

Anna Gringauze added 14 commits January 4, 2023 15:41
- Fix race condition on running two `createIsolate` calls simultaneously.
  - Run `destroyIsolate` followed by `createIsolate` an atomic operation.
  - Make debugger API that depend on isolate running wait for the start
    of the app.
  - Make debugger API throw if the isolate exits while the API is waiting.
- Fix exception on uninitialized `DwdsStats._devToolsStart` when using
  an observatory uri to connect to the dwds VM service.
- Remove unnecessary async keywords from synchronoous debugger API.

Closes: ihttps://github.com/dart-lang/issues/1869
- Fix race condition on running two `createIsolate` calls simultaneously.
  - Run `destroyIsolate` followed by `createIsolate` an atomic operation.
  - Make debugger API that depend on isolate running wait for the start
    of the app.
  - Make debugger API throw if the isolate exits while the API is waiting.
- Fix exception on uninitialized `DwdsStats._devToolsStart` when using
  an observatory uri to connect to the dwds VM service.
- Remove unnecessary async keywords from synchronoous debugger API.

Closes: ihttps://github.com/dart-lang/issues/1869
@annagrin annagrin requested a review from elliette January 11, 2023 00:27
Copy link
Contributor

@elliette elliette left a comment

Choose a reason for hiding this comment

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

LGTM!

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