"Coverage View" has button "Dump Execution Data" to request coverage of a 
running application and dropdown list next to this button has option "Reset 
on Dump" ( http://www.eclemma.org/userdoc/coverageview.html ) :

   1. start application
   2. request dump with reset
   3. "do a task"
   4. request dump again and coverage view will show what was executed 
   after reset i.e. by "task"

Recording from EclipseCon France 2017 where this demonstrated in action: 
https://youtu.be/BoiVrdlxB_M?list=PLZRu6Rvmk66uNscSsWjx9W6LiBSYFghW3&t=899

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


Regards,
Evgeny

On Tuesday, December 12, 2017 at 4:41:22 PM UTC+1, [email protected] 
wrote:
>
> Is it possible to 'activate' code coverage, do a task and then 
> 'finish/dump' to see only the code that was run during a timespan?
>
> The reason is that in our code base (SWT Eclipse), there is a lot of code 
> that is ran at start up, so it's sometimes hard to tell which code was ran 
> by a specific event (e.g mouse click).
>

-- 
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/3cee2690-5446-4d29-81e8-ce4d697c5d7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to