Skip to content
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

Restart button not working #1561

Open
dsyer opened this issue Apr 18, 2023 · 6 comments
Open

Restart button not working #1561

dsyer opened this issue Apr 18, 2023 · 6 comments
Labels

Comments

@dsyer
Copy link

dsyer commented Apr 18, 2023

I tried a pre-release and a release version (v0.38.2) with VSCode 1.77.3. Running a test from code (little green icons) or the test view works, but if you pause and then press "restart" (Ctrl-Shift-F5) in the little floating window it stops running the current test but doesn't restart. I see threads in the debug view but they are just hanging and eventually time out and exit. The test is not restarted.

@jdneo jdneo added the bug label Apr 18, 2023
@jdneo
Copy link
Member

jdneo commented Apr 18, 2023

Looks like the extension does not act properly (or not listen to it at all) when a debug session restarts.

@dsyer
Copy link
Author

dsyer commented Apr 18, 2023

FWIW it used to work fine. I just upgraded to VSCode 1.77 so maybe that’s related?

@jdneo
Copy link
Member

jdneo commented Apr 18, 2023

FWIW it used to work fine. I just upgraded to VSCode 1.77 so maybe that’s related?

Interesting, will take a look!

@jdneo
Copy link
Member

jdneo commented Apr 19, 2023

There is an Error: read ECONNRESET at

when click restart button.

When running a test, the extension will start a local socket server communicate with the runner to get the test results. It makes sense to me that, when restart the runner, the socket connection will be killed, and this error appears.

Do you still remember which version of VS Code was used last time when this restart function work?

@dsyer
Copy link
Author

dsyer commented Apr 19, 2023

I upgraded this week from 1.75.1, but I’m not sure I remember the last time it worked for sure.

@NatashaTroth
Copy link

Hello, I have had this same problem since around April (also after a VS-Code update). Is there a fix for this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants