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
#60221 describes an issue where the VM Service fails to start. While debugging this, I noticed that the VM does not terminate in that case, which results in tests timing out instead of failing.
The reason for this seems to be that when the VM Service fails to start, if --pause-isolates-on-exit was set, the VM will remain paused at the end. However since the VM Service failed to start, it would never be possible to unpause this.
I don't know if it's feasible, but it would be nice if in this case the VM is able to terminate one way or another.
To repro:
Create a script void main() {} and save it somewhere
Run the script in a way that the VM service fails to start (here I'm using port 135 on Windows which we cannot bind to) & "D:\Tools\Dart\Latest (Bleeding Edge)\bin\dart.exe" --enable-vm-service=135 .\test\dap\integration\foo.dart
Note the VM terminates after printing the error
Re-run the script with --pause_isolates_on_exist:
& "D:\Tools\Dart\Latest (Bleeding Edge)\bin\dart.exe" --pause_isolates_on_exit --enable-vm-service=135 .\test\dap\integration\foo.dart
Notice that the process does not terminate
The text was updated successfully, but these errors were encountered:
#60221 describes an issue where the VM Service fails to start. While debugging this, I noticed that the VM does not terminate in that case, which results in tests timing out instead of failing.
The reason for this seems to be that when the VM Service fails to start, if
--pause-isolates-on-exit
was set, the VM will remain paused at the end. However since the VM Service failed to start, it would never be possible to unpause this.I don't know if it's feasible, but it would be nice if in this case the VM is able to terminate one way or another.
To repro:
void main() {}
and save it somewhere& "D:\Tools\Dart\Latest (Bleeding Edge)\bin\dart.exe" --enable-vm-service=135 .\test\dap\integration\foo.dart
--pause_isolates_on_exist
:& "D:\Tools\Dart\Latest (Bleeding Edge)\bin\dart.exe" --pause_isolates_on_exit --enable-vm-service=135 .\test\dap\integration\foo.dart
The text was updated successfully, but these errors were encountered: