Skip to content

[dartdevc] Provide symbol information to the debugger #40273

@annagrin

Description

@annagrin

Currently debugger does not have access to type and symbol information from the dev_compiler,
and represents dart objects using JS objects and heuristics to filter information that does not appear
in dart, which sometimes fail.

To make debugger represent dart objects correctly, we need to store symbol and type information
from ddc and communicate it to the debugger.

Work items:

Needed to solve the following debugging problems:

Note that some of the resolved issues are using workarounds, such as filtering heuristics, which makes the debugger code not resilient to changes in the compilers.

Related: flutter/devtools#3068 (see how the library information is read from the runtime)

Metadata

Metadata

Labels

area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-dev-compilerweb-evalevaluation support on the web

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions