Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
789 Discussions

Missing code coverage option in Visual Studio menu

David_Eberly
New Contributor I
2,319 Views

I have Intel oneAPI 2025.2.0 installed (base toolkit 2025.2.0.591, hpc toolkit 2025.2.0.576) and integrated into Microsoft Visual Studio 17.14.10 (MSVS). I installed all packages.

According to online search (https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2024-2/use-code-coverage-in-microsoft-visual-studio.html), to run the code coverage tool, I select "TOOLS" in the MSVS menu. I select the submenu "Intel Compiler." I am supposed to see the option "Code Coverage...". The only option I see is "Intel(R) Fortran Module Wizard."

The dialog for "Tools | Options | Intel Compiler and Libraries " has an item "Code Coverage" that shows a dialog (see the image at the end of my post), so it appears MSVS is aware there is a code coverage tool. I will appreciate any help in determining how to launch the code coverage tool from within MSVS.

Thank you.

 

DialogInMSVS.png

0 Kudos
1 Reply
David_Eberly
New Contributor I
2,306 Views

I do not remember how many times I have posted questions only to discover the answer soon after the post. I had inadvertently opened a MSVS project that uses the Microsoft compiler. When opening a project that uses the Intel compiler, the menu option appeared. Aargh...

0 Kudos
Reply