Chrome proxy service does not always return Library object for LibraryRef
Open
P2
symbols
- Dominant language
- Dart
- Stars
- 224
- Forks
- 94
- Avg merge
- 7h 14m
- Merged PRs (30d)
- 2
Description
See https://github.com/flutter/devtools/issues/3110
This currently happens for libraries that are imported in dart code but never loaded at runtime, due to never being required by any js modules produced by DDC (dead code).
We should use debug symbols to construct library objects.
Contributor guide
Research direction
Start by reading the related DevTools issue 3110 and tracing the Chrome proxy service's handling of LibraryRef. Investigate how debug symbols represent libraries that are imported but never loaded; done means the proxy constructs and returns Library objects for those dead-code libraries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100