Unable to debug tests with CMake launchTargetPath setup
We run our unit tests from CMake on Windows, the program we use as debug target comes from the cmake plugin (as recommended in their documentation):
"program": "${command:cmake.launchTargetPath}",
Your (very usefull!) plugin, checks for a debug configuration and on windows it will look for the .exe extension, but this is missing.
This makes it not possible to debug from the Test Explorer view.
https://github.com/bneumann/CppUTest-Test-Adapter/blob/d2ebbd087c52d419b1e2c45f9df51f52752bba5b/src/Infrastructure/VscodeSettingsProvider.ts#L56
Interesting find. Gotta think what I was trying to solve there, maybe it works even without the exe?
Oh my god, how 2 and a half years pass. Sorry for keeping you hanging. I just had a day off and did a lot of fixes. I just pushed the removal. Check the pipeline, there should be an artifact that you can download and use for testing:
https://github.com/bneumann/CppUTest-Test-Adapter/actions/runs/11146141466/artifacts/2006414798