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

How do I configure gcov-view in VCode + WSL? #25

Open
totszwai opened this issue Jan 12, 2024 · 1 comment
Open

How do I configure gcov-view in VCode + WSL? #25

totszwai opened this issue Jan 12, 2024 · 1 comment

Comments

@totszwai
Copy link

Hello, I have my source files in a Ubuntu 22.04 WSL, the source files are in C:\Users\username\source
All the gcno and gcda files are all there, but I don't think there is a way for gcov-viewer to process those files?

image

Is there a way to get it to work with a setup like Ubuntu WSL + VCode in Windows?

$ gcov --version
gcov (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ lcov --version
lcov: LCOV version 1.14
@totszwai
Copy link
Author

I loaded vcode inside the WSL although there are all the gcno and gcda files and the extension seems to be able to load the data... the viewer is not displaying anything.

We could see the gcovr is able to show the data
image

But there are zero color highlighting in the editor.

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

1 participant