Hi Frederic,
> Right-click on Coverage View only gives me "Import session".
everything else is grayed.
This means there is no coverage session at all. Probably you run into
the following issue from the FAQ:
http://www.eclemma.org/faq.html#trouble06
The /Coverage/ view stays empty and there is no source
highlighting. Why?
In Eclipse preferences there is an option /Launch in debug mode when
workspace contains breakpoints/ under /Run/Debug/ → /Launching/. If
this option is enabled and there are breakpoints in your workspace
/coverage/ mode will not work, because it is automatically replaced
with /debug/ mode. Set this option to /Never/ if you want to run
code coverage analysis.
Regards,
-marc
On 25.10.16 16:37, Frederic Filiatrault wrote:
Hi,
For an unknown reason, the Coverage View in Eclipse stopped showing
results. Was working fine yesterday, but today, nope. I googled a bit
but found nothing which makes me think it's a simple thing I can't
figure it out. I tried several things
* Uninstall and re-install EclEmma plugin (I also manually delete
the com.mountainminds.* folders)
* Verified the exclusion list (nothing there)
* Recreated the coverage configuration (which always worked fine)
* Only my src folder is selected in the coverage folder (as it
always have been)
* There's a VM argument passed : "-ea". That was always there
* In preferences,
o everything is checked on the 1st 4;
o Default scope is "source folder only"
o Coverage runtime:
+ Includes : *
+ Excludes : [nothing]
+ Exclude classloaders: sun.reflect.DelegatingClassLoader
* I restored default values in preferences -> Java -> Code Coverage,
no good
* Of course, All unit test (259) are green
* I also tried to select some options for the view menu of the
Coverage View, no good
* Right-click on Coverage View only gives me "Import session".
everything else is grayed.
Again, all these are default values. Using Neon.1 on Macbook Pro
(Sierra). Using JUnit 4, gradle.
Meanwhile, I'm using Jacoco in terminal but I really missed having the
coverage in Eclipse.
Only thing I did not do was a complete reinstall of Eclipse (which is
not an option).
Any suggestions would be appreciated. Thx in advance!
F.
--
You received this message because you are subscribed to the Google
Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/2b5fb172-2059-4391-a66c-13a704e20377%40googlegroups.com
<https://groups.google.com/d/msgid/jacoco/2b5fb172-2059-4391-a66c-13a704e20377%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JaCoCo
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/1efd1df0-4940-a4e9-0662-d321aac82de2%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.