vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Testing Debug Restart Fails C# - (Correlate debug sessions and test runs related)

Open chrisdel101 opened this issue 4 months ago • 1 comments

This is report similar to #228916 but related to C# not Python. Just reporting it here based on a this tip https://github.com/microsoft/vscode/issues/228916#issuecomment-2420082153, and since #214486 is now closed.

I am using the latest VScode and C# Microsoft extension, C# dev kit being the most relevant here.

Using the testing explorer, the "restart button" fails.

  • When clicked, the tests just exit with message "No process with the specified id is currently running."
  • The testing side panel also closes and returns to the file structure (default) view. I have to re-click back into the testing panel and click the tests I want to re-run.
  • Yes I am aware there are keyboard run shortcuts, but when using the mouse, having to flip back takes alot of time.
  • Having this restart feature actually work would be a HUGE time saver. It's already so awesome to have test debugging support. Having this restart support too would be epic.

Note:

  • There seems to be an issue with Omin-sharp on my system. I can't access it at all.
  • I'm new to C# and barely know what Omni-sharp is. Just reporting this in case it is somehow linked with the testing features of C# & C# Dev kit, and might be causing this bug.

Does this issue occur when all extensions are disabled?: Yes/No

  • Don't know - didn't try, but seems unlikely to make diff
  • VS Code Version: Latest
  • OS Version: Windows 10

Steps to Reproduce:

  1. Using C# Dev kit and N-unit - run tests in test explorer
  2. Push the restart button shown clearly here. Test process exits with message "No process with the specified id is currently running."

chrisdel101 avatar Oct 19 '24 17:10 chrisdel101