Hello all,

We are working on a custom java protoc plugin.

We are invoking this via a gradle task that runs the generated binary with 
protoc.
One of the issues that we are currently struggling with is what is the best 
way to go about developing and debugging our plugin?  Since we are invoking 
this via a gradle task that calls protoc, the only way we have thought to 
do this is via trying to hook into the java process once protoc spins it up.

One of the hacks we have done is sleeping the code long enough that allows 
us to hook in but doing this, as well as lazy print statements is not 
scaling.

Wondering if there are any tips that can be shared here that anyone who has 
worked on a custom java plugin before could share on development flows.

Thanks all

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/f04cefb5-4714-4a49-b9f8-8fd3a9f09cd4n%40googlegroups.com.

Reply via email to