-
Notifications
You must be signed in to change notification settings - Fork 82
Errors when hovering over enum values in VSCode during debugging #1226
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
Comments
The issue is caused by missing implicit imports: dart-lang/sdk#45477, needs app-level metadata to resolve properly. |
This was referenced Mar 27, 2021
annagrin
pushed a commit
to annagrin/webdev
that referenced
this issue
Mar 29, 2021
- Return first `org-dartlang` library as `vmservice.rootLib` (or `main` if not found) - Manually add dart_sdk module metadata in `MetadataProvider`. - Update and add tests. Helps: dart-lang/sdk#44760 Helps: dart-lang#1226
annagrin
pushed a commit
that referenced
this issue
Mar 30, 2021
#1293) * Update library heuristics as short term solution for missing metadata. - Return first `org-dartlang` library as `vmservice.rootLib` (or `main` if not found) - Manually add dart_sdk module metadata in `MetadataProvider`. - Update and add tests. Helps: dart-lang/sdk#44760 Helps: #1226 * Test fix * Addressed CR comments
annagrin
pushed a commit
to annagrin/webdev
that referenced
this issue
Apr 6, 2021
- Return first `org-dartlang` library as `vmservice.rootLib` (or `main` if not found) - Manually add dart_sdk module metadata in `MetadataProvider`. - Update and add tests. Helps: dart-lang/sdk#44760 Helps: dart-lang#1226
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the issue and repro in Dart-Code/Dart-Code#3082
According to the trace, it looks like dwds fails to find a library reference for
dart:_runtime
duringgetObject()
call forid ("classes|dart:_runtime|_Type")
To solve this properly we need to communicate the list of implicitly imported libraries from dart_sdk to the debugger:
Part of: #1290
The text was updated successfully, but these errors were encountered: