New Post: Move project to GitHub
Hello, My plan is to be focused on the tasks in the roadmap. I will probably move this project to GitHub after (in several months :)). Moving the whole code to Github requires also writing new...
View ArticleNew Post: My program crashes when start with OpenCPPCoverage
Hi, You are right, OpenCppCoverage uses the same API as a debugger. First, please check your program is not compiled in release. OpenCppCoverage not yet supports optimized code. When an application...
View ArticleNew Post: My program crashes when start with OpenCPPCoverage
Thanks for the reply. Yes I always use your tools to get code coverage result for my program compiled in release... Actually after turn off the compile optimization (use "/od" instead of "/oi"), and...
View ArticleNew Post: My program crashes when start with OpenCPPCoverage
Hi, I doubled checked this problem using debug build. What shocked me is... the program will crash directly on debug even without the use of OpenCppCoverage. I had never run into such kind of cases...
View ArticleNew Post: Move project to GitHub
If you could post the link to the GitHub account when you moved the plugin it would be great
View ArticleNew Post: My program crashes when start with OpenCPPCoverage
Hi, There is a known issue in release with switch / case. See https://opencppcoverage.codeplex.com/workitem/13 for more information. Let me know if you have any issue when running OpenCppCoverage with...
View ArticleNew Post: Move project to GitHub
Hello, I am going to post the link to this discussion or sent you an email. Considering the current time I am spending on this project and the remaining tasks in the roadmap, the migration will not...
View ArticleNew Post: Coverage missing for "middle dll" using VSTest.
Hi, We have tow solutions in visual studio. Both of them are unit-tested using VSTest. The first solution builds a Agent.dll and a TEST_Agent_Lib.dll (test dll -> agent dll) and we can successfully...
View ArticleNew Post: Coverage missing for "middle dll" using VSTest.
Hi, I do not see anything obvious. Perhaps the filters are wrong. Can you try to run without --sources and --excluded_sources? You can also replace --quiet by --verbose and check if you can find the...
View ArticleNew Post: Possible performance improvement for children process?
Hi, I just wonder whether there is some room for performance improvement when enable "cover_children" option. For some special reason, my software will create a child process for some special operation...
View ArticleNew Post: OpenCPPCover with native C++ test
Hi, I'm attempting to get OpenCPPCover to work with a native C++ test using Visual Studio Community 2015. Layout of the application:Engine.lib (static library project) UnitTests.dll (native C++ unit...
View ArticleNew Post: OpenCPPCover with native C++ test
More information: I just tested an independent EXE file to be sure. It appears like the problem is with the vstest.console.exe application; normal exe files do give coverage results.
View ArticleNew Post: OpenCPPCover with native C++ test
Hi, I already tested if vstest.console.exe works with OpenCppCoverage here. I have just tested again with OpenCppCoverage 0.9.5.2 with and without Platfrom:x64 and have the correct coverage in both...
View ArticleNew Post: OpenCPPCover with native C++ test
Hi, I can confirm that my project is a native, unmanaged, non-clr DLL library. Yesterday I've also modified my unit tests a bit, so that I can call them from my own C++ test/EXE application (without...
View ArticleNew Post: Possible performance improvement for children process?
Hi, You did a very good analyze of the problem. When I optimized the memory usage for "cover_children", I noticed that SymLoadModuleEx takes a lot of time and not really setting the breakpoints. As you...
View ArticleNew Post: OpenCPPCover with native C++ test
Hi, I do not spot anything special in the log file. It is possible to post the log file with --verbose flag? I suggest simplifying your code while you can reproduce your problem. I think it is easier...
View ArticleNew Post: OpenCPPCover with native C++ test
Hi there, Simplifying code is easier said then done if you have a piece of production code with hundreds of thousands of lines of code at your hands... If I could have made a minimum test case, I...
View ArticleNew Post: OpenCPPCover with native C++ test
Hi, I read carefully the verbose log but do not see anything special. I also tried to perform several additional tests but was unable to reproduce your issue. By reading the log, I can tell that...
View ArticleNew Post: Possible performance improvement for children process?
Hi, Thank you very much to pay attention to this problem. Actually I have tried changing some code in my local computer to optimize the child process. So far it works well. My rough thoughts are: If...
View ArticleNew Post: Possible performance improvement for children process?
Hi, You can find the code in the branch SymLoadModuleCacheTest. This is hack code for testing the solution and so your code is probably cleaner :). A correct implementation would require much more...
View Article