Hi, 

the agent can be debugged as any other Java program. The only catch is
that the classes in jacocoagent.jar are relocated during the build. But
you can create a custom build without relocation, just delete the
relocation configuration here: 

https://github.com/jacoco/jacoco/blob/master/org.jacoco.agent.rt/pom.xml#L57


Regards,
-marc 

On 2018-04-22 14:13, Tool Ply wrote:

> Just as title shows, I want to develop org.jacoco.agent.rt witch is added to 
> Classpath and called by instrumented code in runtime. How can I debug it step 
> by step? 
> 
> -- 
> 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/b5c77914-72de-4e80-aa13-2141dada06a0%40googlegroups.com
>  [1].
> For more options, visit https://groups.google.com/d/optout.

  

Links:
------
[1]
https://groups.google.com/d/msgid/jacoco/b5c77914-72de-4e80-aa13-2141dada06a0%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
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/1dc95a4571c80e3f65c93a0a7dd0d311%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to