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
Test run "hangs" at startup with invalid code #4358
In launch.json I had --enable-experiment=records from some testing, but it's test with "templateFor": "test" and is being passed to test. The launch is then failing with:
Could not find an option named "enable-experiment".
Usage: dart test [files or directories...]
-h, --help Show this usage information.
--version Show the package:test version.
And for some reason we're parsing usage: as a URI we need to convert. When we send this to the VM, the isolate seems to exit.
This may or may not be related, but:
we shouldn't be trying to convert usage:
we perhaps should not see an isolate terminate when we do this was actually exiting because the process didn't start
the error output above should be visible to the user
Activity
DanTup commentedon Jan 24, 2023
In
launch.jsonI had--enable-experiment=recordsfrom some testing, but it's test with"templateFor": "test"and is being passed to test. The launch is then failing with:And for some reason we're parsing
usage:as a URI we need to convert. When we send this to the VM, the isolate seems to exit.This may or may not be related, but:
usage:we perhaps should not see an isolate terminate when we dothis was actually exiting because the process didn't startDanTup commentedon Jan 24, 2023
With fix:
DanTup commentedon Jan 24, 2023
https://dart-review.googlesource.com/c/sdk/+/279513
[dds/dap] Don't try to send invalid URIs to VM Service _lookupResolve…
DanTup commentedon Jan 24, 2023
Fixed by dart-lang/sdk@589876b.