-
Notifications
You must be signed in to change notification settings - Fork 645
Clicking 'debug test' twice runs two instances of the debugger simultaneously #1383
Comments
Thanks for reporting @willfaught The apis available to track a debug session can be found at https://github.com/Microsoft/vscode/blob/1.18.1/src/vs/vscode.d.ts#L6112-L6134 which can be used to disable the debug code lens when a debug session is already active. The codelens for the tests are created in https://github.com/Microsoft/vscode-go/blob/0.6.69/src/goRunTestCodelens.ts PRs to fix this issue are welcome. |
I can no loger reproduce this since version 0.6.76+, vs code 1.20.1 commit f88bbf9137d24d36d968ea6b2911786bfe103002 PS: I did not test it yet on bigger projects, only with github.com/go-training/helloworld, but it looks promising since I recall having this issue before Could someone else try to reproduce it? |
On Windows I get an error when trying to debug the second time go install testmain: open c:\GoCode\src\github.com\golang\example\stringutil\debug.test: The process cannot access the file because it is being used by another process. But I do see it on my Mac I used the https://github.com/golang/example/stringutil project |
Hello all, We are in the midst of a repo move, see We are moving section in our readme for more details. Please subscribe to golang/vscode-go#109 for further updates on this issue. Thanks for all the support & Happy Coding! |
Reproduce:
The text was updated successfully, but these errors were encountered: