Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to populate OpenCppCoverage Settings dialog #38

Open
claremacrae opened this issue Jun 18, 2020 · 1 comment
Open

Unable to populate OpenCppCoverage Settings dialog #38

claremacrae opened this issue Jun 18, 2020 · 1 comment

Comments

@claremacrae
Copy link

Background

The info from About Visual Studio dialog is below...

I have a small program open - a tiny Catch2 test - and OpenCppCoveragePlugin installed...

The build config is x64-Debug
I can run and debug the program.

Problem

When I select Tools -> OpenCppCoverage Settings the dialog looks like this - and none of the widgets respond to clicks...

image

The Command Line tab says:

--config_file "C:\Users\clare\AppData\Local\Temp\n3moeomh.gc3"
--

Question

How do I get my project's properties to be loaded in to this dialog please?

I used OpenCppCoveragePlugin a year ago, and have dim memories have to create a settings.json-type file, but cannot find any references to that in the docs now.

Any advice gratefully received... Thank you.

Configuration

Microsoft Visual Studio Community 2019
Version 16.6.2
VisualStudio.16.Release/16.6.2+30204.135
Microsoft .NET Framework
Version 4.8.03752

Installed Version: Community

Visual C++ 2019   00435-60000-00000-AA268
Microsoft Visual C++ 2019

ASP.NET and Web Tools 2019   16.6.948.25768
ASP.NET and Web Tools 2019

C# Tools   3.6.0-4.20251.5+910223b64f108fcf039012e0849befb46ace6e66
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

NuGet Package Manager   5.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

OpenCppCoverage   1.0
See https://opencppcoverage.codeplex.com/ for more details

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.

Visual Basic Tools   3.6.0-4.20251.5+910223b64f108fcf039012e0849befb46ace6e66
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake

VSColorOutput   2.71
Color output for build and debug windows - https://mike-ward.net/vscoloroutput
@BengtGustafsson
Copy link

Check if it works better to use the context menu of the exe you want to test. The tools menu entry is for the currently selected startup project, it seems. Each project has its own setup which is stored somewhere and is not destroyed when cmake recreates the vcxproj files luckily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants