-
Notifications
You must be signed in to change notification settings - Fork 316
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
Dart SDK files are not correctly mapped to local sources when debugging a Flutter app #4128
Comments
I also encountered this issue, which appeared out of nowhere, after about 2 hrs I got to #3551 from where I finally found the best thing possible was just to roll back to 3.46.1 |
@BlueDev5 the issue described above is not something that should be worse in 3.48 to 3.46, as SDK sources were not mapped at all in the old SDK DAPs. Could you file a new issue describing the behaviour you're seeing in v3.48 and does not occur in v3.46 so I can take a look? Thanks! |
Filed issue #4147 |
When this is fixed, web should be tested specifically because it may behave differently (since it goes through DWDS). It currently results in this:
|
…source files found by the analyzer Fixes Dart-Code/Dart-Code#4128. Also related: - dart-lang/sdk#49863 - dart-lang/sdk#48435
Fix in progress at flutter/flutter#114369. Unfortunately this doesn't work for Web yet because of dart-lang/webdev#606. Hopefully once that's done this will just start working without any further changes. |
#3551 is fixed with the new SDK DAPs, however in Flutter apps the returned URIs aren't the same as the Dart ones, so the fix is not complete for Flutter.
I've filed dart-lang/sdk#49863 to find out whether this is a bug, and if not, exactly what the rules for the mapping are.
The text was updated successfully, but these errors were encountered: