dart-lang / dart-lang/webdev

Support setting breakpoints inside dart SDK libraries

Open
#1,584 5 comments 1 reaction 1 assignee Claimed by @jyameo View on GitHub
P2 package:dwds triaged type-enhancement
Dominant language
Dart
Stars
224
Forks
94
Avg merge
7h 14m
Merged PRs (30d)
2

Description

Currently setting breakpoints inside the SDK libraries is not supported. The missing pieces:

- Figure out how to resolve `dart:` uris without depending on `package:_fe_analyzer_shared`
See: https://github.com/dart-lang/webdev/issues/1575

- Save SDK metadata during compilation so dwds can read it (used for mapping of `.dart` files to their libraries and server paths in dwds)
See: https://github.com/dart-lang/webdev/issues/1290 (part of)
Also, a question - will SDK metadata have enough information to address the previous item as well? If not, is it possible to add this information to metadata?

- Pass correct SDK to dwds in flutter tools
See: https://github.com/flutter/flutter/issues/101639
See: https://github.com/dart-lang/webdev/issues/1579

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.