OpenCppCoverage icon indicating copy to clipboard operation
OpenCppCoverage copied to clipboard

WIP: Rewrite Debugger to use dbgeng.dll

Open centlakestefan opened this issue 2 years ago • 6 comments

Here is some work in progress code for the Debugger part using the dbgeng.dll module from Microsoft.

Using this code I can run OpenCppCovarage in a docker container.

dbgeng.dll is not redistributable from Micorosoft but it is already installed in mcr.microsoft.com/windows/servercore:ltsc2019

I have only tested using the x64 build.

centlakestefan avatar Oct 06 '23 10:10 centlakestefan

Hi! I am really interested in such a feature. Do you know if they expect to include it in the "master" branch? Otherwise, would it be possible for you to share the executable?

pontzio avatar Dec 19 '23 15:12 pontzio

I have now added workflows to unit-test and build a release version to my fork. I also added a very simple MSI package to distribute all the files. Binaries are available under Actions/Release build/Artifacts/MSI.

centlakestefan avatar Dec 20 '23 22:12 centlakestefan

Thank you very much! I have tried it and works perfectly! :)

pontzio avatar Dec 21 '23 14:12 pontzio

Hi @centlakestefan I cannot see artifacts in release build. https://github.com/centlakestefan/OpenCppCoverage/actions/runs/7281327966 or from https://github.com/centlakestefan/OpenCppCoverage/releases Where can I download from?

smithadg avatar Feb 21 '24 11:02 smithadg

@smithadg

Hi @centlakestefan I cannot see artifacts in release build.

I can see the MSI artifact on the actions page (your first link). I do not know why you can't download it. Since the workflow artifacts will be removed after some time I have created a wip release. It should be available using your second link.

centlakestefan avatar Feb 21 '24 13:02 centlakestefan

@smithadg

Hi @centlakestefan I cannot see artifacts in release build.

I can see the MSI artifact on the actions page (your first link). I do not know why you can't download it. Since the workflow artifacts will be removed after some time I have created a wip release. It should be available using your second link.

Thanks a lot. I am able to download.

smithadg avatar Feb 22 '24 06:02 smithadg