Re: [java code coverage] Can Eclipse CodeCover be started later during execution, not from very stard of app?

2018-03-13 Thread lufimtse
On Monday, March 12, 2018 at 10:45:11 PM UTC-4, Evgeny Mandrikov wrote:
 
> Just in case, as addition, here is a link on recording from EclipseCon France 
> 2017 where this demonstrated in action - 
> https://youtu.be/BoiVrdlxB_M?list=PLZRu6Rvmk66uNscSsWjx9W6LiBSYFghW3=899
> 
> And blog entry, randomly picked from Google, about this: 
> https://www.tasktop.com/blog/incremental-code-coverage-debugging-tool/
> 
> Regards,
> Evgeny

Ah, interesting, thanks for the links!

-- 
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/787c3c33-05b1-435d-8dcb-e2e2dd75965e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [java code coverage] Can Eclipse CodeCover be started later during execution, not from very stard of app?

2018-03-12 Thread Evgeny Mandrikov


On Monday, March 12, 2018 at 9:37:59 PM UTC+1, lufim...@redhat.com wrote:
>
> Thank you, this is exactly what I was looking for!


Salut, Leo!

This time Marc was faster than me with answer :D

Just in case, as addition, here is a link on recording from EclipseCon 
France 2017 where this demonstrated in action - 
https://youtu.be/BoiVrdlxB_M?list=PLZRu6Rvmk66uNscSsWjx9W6LiBSYFghW3=899

And blog entry, randomly picked from Google, about this: 
https://www.tasktop.com/blog/incremental-code-coverage-debugging-tool/

BTW all our presentations and videos about JaCoCo and EclEmma are listed on 
http://www.jacoco.org/research/index.html

Regards,
Evgeny

-- 
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/1cb5d036-2964-4942-b26d-884dcc23f3c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [java code coverage] Can Eclipse CodeCover be started later during execution, not from very stard of app?

2018-03-12 Thread lufimtse
On Friday, March 9, 2018 at 5:08:10 PM UTC-5, Marc R. Hoffmann wrote:
> Привет,
> 
> > I've tried to sleep code and dump state, but it dumps everything up to
> > problem code(A). When dumping again the "Init code" is included. (i.e
> > we have A+B, but I need only B).
> 
> In the coverage view check the "Reset on dump" option of the "Dump 
> Execution Data" drop down menu.
> 
> Then request a dump after boring A) -- you can probably ignore that.
> 
> If you create a dump after B) you will only see the executed code after 
> the previous dump.
> 
> Hope this helps.
> 
> Cheers,
> -marc
> 
> 
> On 2018-03-09 17:10, leo wrote:
> > Hello (Привет!),
> > 
> > I'm an SWT/Eclipse developer, trying to fix a difficult Tree-editor
> > drawing issue.
> > 
> > I have a situation like this:
> > A) 
> > B) 
> > 
> > I need to figure how what lines are covered by the *problem* code, but
> > not by Init.
> > 
> > I would like to do something like:
> > 
> > A) 
> >  - Turn on Cove Coverage
> > B) 
> > 
> > Is this possible?
> > 
> > 
> > I've tried to sleep code and dump state, but it dumps everything up to
> > problem code(A). When dumping again the "Init code" is included. (i.e
> > we have A+B, but I need only B).
> > 
> > I've tried to do two runs (A+B) and only A and export via html. But
> > the html have different time stamps so it's hard to tell the actual
> > difference :-/. (I'm considering writing bash scripts to change
> > that...)
> > 
> > Please advise.

Thank you, this is exactly what I was looking for!

-- 
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/cc2e9d21-37ab-4e2a-82ef-dfc7434630b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [java code coverage] Can Eclipse CodeCover be started later during execution, not from very stard of app?

2018-03-09 Thread Marc Hoffmann

Привет,


I've tried to sleep code and dump state, but it dumps everything up to
problem code(A). When dumping again the "Init code" is included. (i.e
we have A+B, but I need only B).


In the coverage view check the "Reset on dump" option of the "Dump 
Execution Data" drop down menu.


Then request a dump after boring A) -- you can probably ignore that.

If you create a dump after B) you will only see the executed code after 
the previous dump.


Hope this helps.

Cheers,
-marc


On 2018-03-09 17:10, lufim...@redhat.com wrote:

Hello (Привет!),

I'm an SWT/Eclipse developer, trying to fix a difficult Tree-editor
drawing issue.

I have a situation like this:
A) 
B) 

I need to figure how what lines are covered by the *problem* code, but
not by Init.

I would like to do something like:

A) 
 - Turn on Cove Coverage
B) 

Is this possible?


I've tried to sleep code and dump state, but it dumps everything up to
problem code(A). When dumping again the "Init code" is included. (i.e
we have A+B, but I need only B).

I've tried to do two runs (A+B) and only A and export via html. But
the html have different time stamps so it's hard to tell the actual
difference :-/. (I'm considering writing bash scripts to change
that...)

Please advise.


--
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/83b6d8f68e6c42e48efd57b57463b70a%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.