Open davidefer opened 4 months ago
C++ is not properly supported. The extension is made for C# and VisualBasic.
I am not sure if this is FCC related. From https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/ide/troubleshooting-code-coverage ( which is not using FCC )
For C++ projects, ensure that the generated .pdb files have full debug information. Open the project properties and verify that Linker > Debugging > Generate Debug Info is set to Generate Debug Information optimized for sharing and publishing (/DEBUG:FULL).
Does this help ?
Hi Tony no it doesn't help for the exception but it was anyway helpful because now I see the proper coverage in my source file (before it was not completely correct). Actually the C++ support is not bad at all, but I've not tested thoroughly. Thank you!
Although not related to this issue I thought that you might want to check thise section https://learn.microsoft.com/en-us/visualstudio/test/customizing-code-coverage-analysis?view=vs-2022#static-and-dynamic-native-instrumentation
Installed product versions
Description
When the extension is enabled, I get several exceptions when i start the test debug session
Steps to recreate
Current behavior
Debugging not possible when the extension is enabled
Expected behavior
One should be able to debug the tests also if the extension is enabled
Side Notes