gcov-viewer
gcov-viewer copied to clipboard
How do I configure gcov-view in VCode + WSL?
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?
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
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
But there are zero color highlighting in the editor.