Issafalcon / neotest-dotnet

Neotest adapter for dotnet
MIT License
71 stars 26 forks source link

Debug doesnt starting when trying to debug dotnet test using neovim and neotest #109

Open Vladipz opened 3 months ago

Vladipz commented 3 months ago

When I set a breakpoint on the test and try to run it in the debugger, nothing happens, the indicator just blinks as if it is running, and after 450 seconds an error appears that the file could not be copied because it is already busy. Add screanshoot to understanding what i see enter image description here

I tried creating other projects and running the test there but still got the same result. I also tried to remove unnecessary sdk, reinstalled netcoredbg, tried to set breakpoints in different places. How it happens: I set a breakpoint, then go to the test window and press "d" to start debugging. From what I have seen, I can see that the testhost.net process still starts, but for some reason the interface does not start debugging

that is error fynally "vstest.console process failed to connect to testhost process after 450 seconds"

Issafalcon commented 3 months ago

Hi @Vladipz - I will need some more detail here please.

  1. Version of Neovim are you using
  2. Version of neotest-dotnet plugin, and neotest plugin
  3. Version of .NET SDK you are using, and target version of the project
  4. A parred-down project that causes the issue to reproduce
  5. Any relevant screenshots to be pasted directly in the issue description (the link you provided is not accessible)

Also, please provide details of how you are installing netcoredbg, and your DAP config, as well as the version of the dap plugin you are using. I suspect the issue lies with how you have set up and configured netcoredbg, as myself and others have no issue with debugging tests using neotest-dotnet