You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before creating an issue, please make sure the answer is not in the FAQ.
This template is applied for all bug requests. Remove it for other general question or feature request.
Describe your environment
Version of OpenCppCoverage: 0.9.7.0
Architecture (x86/ x64): X64
Windows version: Windows server 2012 r2
Describe your problem
Steps to reproduce:
Register OpencppCoverage tool as debugger for current service srv1
Debugger value used for srv1 key : "C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --export_type=html:"C:\Code_coverage\testcoverage" --cover_children --modules "C:\Program Files\myorg" --sources d:\rel_11_0_0\source\common --
more details for step 1 : https://docs.microsoft.com/en-us/windows/desktop/services/debugging-a-service
This issue is not seen when service is started without the tool. Can you please help.
Could you reproduce the issue on a toy example?
No. I haven't tried
Attached file
Attach the log file LastCoverageResults.log, located in your current folder.
[2018-12-18 18:28:02] [info] Start Program:
Path:"C:\Program Files\myorg\srv1.exe"
Arguments:-arg1
Working directory: not set.
Modules: Selected: C:\Program Files\myorg\ Excluded:
Sources: Selected: d:\rel_11_0_0\myorg\source\common Excluded:
Log Level: Normal
Cover Children: 1
Aggregate by file: 1
Continue after C++ exception: 0
Optimized build support: 0
Export: Html C:\Code_coverage\testcoverage
Input coverage:
Unified diff:
Excluded line regular expressions:
Substitute pdb source paths:
If your application was built with optimization enabled, make sure you use --optimized_build
[2018-12-18 18:28:23] [info] ----------------------------------------------------
[2018-12-18 18:28:23] [info] Coverage generated in Folder C:\Code_coverage\testcoverage
[2018-12-18 18:28:23] [info] ----------------------------------------------------
[2018-12-18 18:28:23] [error] Your program stop with error code: -1073741819
If the report does not contain the expected files, please run OpenCppCoverage with --verbose flag. This will add more information into LastCoverageResults.log.