You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dart SDK files are not correctly mapped to local sources when debugging a Flutter app #4128
#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.
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!
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.
Activity
BlueDev5 commentedon Sep 5, 2022
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
DanTup commentedon Sep 5, 2022
@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!
BlueDev5 commentedon Sep 6, 2022
Filed issue #4147
DanTup commentedon Sep 7, 2022
When this is fixed, web should be tested specifically because it may behave differently (since it goes through DWDS). It currently results in this:
[flutter_tools/dap] Map org-dartlang-sdk URIs to the location of the …
DanTup commentedon Oct 31, 2022
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.