New Post: Possible performance improvement for children process?
Hi, Thanks for the reply. I am a git newbie and I think I need more time to understand how to sync code from a branch... Your finding about console output is valuable. I tried it today, although the...
View ArticleNew Post: Possible performance improvement for children process?
Hi, To merge the code, start Git Bash and execute git pull origin/SymLoadModuleCacheTest. If you have a conflict, run git mergetool (you probably need to configure your merge tool too). I do not have a...
View ArticleNew Post: OpenCPPCover with native C++ test
Hi there, Sorry for the late reply, I've been a bit sick. Today I compiled the code and put some breakpoints in there as you suggested on the points outlined here (on #1 and #2) auto it =...
View ArticleNew Post: Coverage count of unused functions
Hello, OpenCppCoverage uses pdb files to track functions coverage. If you are able to put a breakpoint in your function, OpenCppCoverage should be able to list the executable lines. Note:In release...
View ArticleNew Post: Coverage count of unused functions
Hi, I'm not in one of the two cases you listed. BUT: I'm not able to put a breakpoint to the functions I'm missing. Message while debugging is: "The breakpoint will not currently be hit. No executable...
View ArticleNew Post: OpenCPPCover with native C++ test
Hello, From your analysis, OpenCppCoverage seems to be able to register correctly the lines (addressLineMap_ contains a lot of items) but there is no (or wrong) even when a line is executed. This is...
View ArticleNew Post: OpenCPPCover with native C++ test
Hello, You can also try the following things:Make a copy of your projectAdd a new test with one line #1 Check if OpenCppCoveage produces coverage for test #1 (You probably need to update --sources and...
View ArticleNew Post: Coverage count of unused functions
Hello, I noticed "if (!time(0))" and "can't get optimized by the compiler.". It is not needed in a debug build. Can you check you have /Od in C++ settings (no optimization) and /OPT:NOREF in linker...
View ArticleNew Post: OpenCPPCover with native C++ test
I finally found the time to do some more tests. I first tried the last post that you had:Made a copy of the project to another locationRemoved tests until I had only 1 left Coverage is generated. 3.1....
View ArticleNew Post: Thanks
Dear developer :) Wanted to tell you that we have integrated your tool into our automatical weekly tests. Now we will not only track bugs, but the coverage as well. Planned to have this for a long...
View ArticleNew Post: Thanks
Hello, I really appreciate your message and the time you took to write it. It is not so common and it boots my motivation to continue improving OpenCppCoverage. I am happy OpenCppCoverage is useful for...
View ArticleNew Post: OpenCPPCover with native C++ test
Hello, You did a very depth analysis of the problem. The exception 0xE06D7363 is the SHE code for C++ exception and can explain your problem. I tested the code you post but did not find something. I...
View ArticleNew Post: OpenCPPCover with native C++ test
I tried to create a more complex using vstest.console.exe. I am able to reproduce the same issue (No coverage). Ah that's good news! Now we're getting somewhere. I tested your VS plugin. You made an...
View ArticleNew Post: Can run opencppcoverage without source code?
Hi, OpenCppCoverage is a great tool for windows program code coverage, I have a problem: I'd like to deploy program and *.pdb on test machine only, and don't copy source code to target machine since it...
View ArticleNew Post: Can run opencppcoverage without source code?
Have you tried it? You can output a cobertura xml file, which would be what I would try. Since it works with breakpoints, I see no reason why it shouldn't work, even though I don't know all the...
View ArticleNew Post: Can run opencppcoverage without source code?
atlaste wrote: Have you tried it? You can output a cobertura xml file, which would be what I would try. Since it works with breakpoints, I see no reason why it shouldn't work, even though I don't know...
View ArticleNew Post: Can run opencppcoverage without source code?
stingyu wrote: I already tried this way, but looks it does not work. Works fine here. Just tested it (without source code):"c:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --export_type...
View ArticleNew Post: Can run opencppcoverage without source code?
Thank you very much, it can reach my requirement, C:\tools>opencppcoverage --export_type=cobertura:a1.xml -- mytest.exe<class name="MyTest" filename="c:\workspace\src\sink.cpp"...
View ArticleNew Post: OpenCPPCover with native C++ test
Hello, I have just found the issue:vstest.console.exe loads XXX.dllOpenCppCoverage adds some breakpoints and fills addressLineMap_ in ExecutedAddressManager::RegisterAddressvstest.console.exe unloads...
View Article