Hello,
First, you can try to run OpenCppCoverage without filters (no --sources or --modules).
You can also try to run your program in debug mode to avoid inlining or optimization problems.
OpenCppCoverage creates a report for all the files available inside the pdb (except if you use --sources).
This command shows files available inside a pdb:
Note: If you are not able to put a breakpoint in the missing file when debugging then OpenCppCoverage cannot cover it too.
I hope this will help,
OpenCppCoverage
First, you can try to run OpenCppCoverage without filters (no --sources or --modules).
You can also try to run your program in debug mode to avoid inlining or optimization problems.
OpenCppCoverage creates a report for all the files available inside the pdb (except if you use --sources).
This command shows files available inside a pdb:
"C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\dbh.exe" YOUR_FILE.pdb src
where YOUR_FILE.pdb is the file for which you want to list sources.Note: If you are not able to put a breakpoint in the missing file when debugging then OpenCppCoverage cannot cover it too.
I hope this will help,
OpenCppCoverage









