You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Vahid S Hashemian <va...@us.ibm.com> on 2015/12/09 21:25:17 UTC

Setup for debugging Kafka in eclipse

Hi all,

I'm new to both Kafka and Scala and would like to setup my eclipse IDE to 
run Kafka in debug mode so I can better trace the execution of various 
commands to better understand how they are implemented.
I set up my dev environment using the instructions at 
https://cwiki.apache.org/confluence/display/KAFKA/Eclipse-Scala-Gradle-Git+Developement+Environment+Setup
.
I now have several projects in my workspace (api, client, connect, core, 
...) and they seem to be loaded fine - I don't see any error reported by 
eclipse.

I appreciate any pointer that helps me set this up.

Thanks.
--Vahid



Re: Setup for debugging Kafka in eclipse

Posted by Vahid S Hashemian <va...@us.ibm.com>.
Never mind.
I was able to config my IDE so I can run/debug commands in there.

Thanks.
--Vahid





From:   Vahid S Hashemian/Silicon Valley/IBM@IBMUS
To:     dev@kafka.apache.org
Date:   12/14/2015 01:12 PM
Subject:        Re: Setup for debugging Kafka in eclipse



Thanks Gwen.

Would you mind sharing how you configure your "Run Configuration" in 
Intellij to run/debug the code?
I also looked at this page but couldn't figure out the missing details: 
http://markmail.org/message/6fgdqfu6k7upswoz

Thanks.
--Vahid







Re: Setup for debugging Kafka in eclipse

Posted by Vahid S Hashemian <va...@us.ibm.com>.
Thanks Gwen.

Would you mind sharing how you configure your "Run Configuration" in 
Intellij to run/debug the code?
I also looked at this page but couldn't figure out the missing details: 
http://markmail.org/message/6fgdqfu6k7upswoz

Thanks.
--Vahid



Re: Setup for debugging Kafka in eclipse

Posted by Gwen Shapira <gw...@confluent.io>.
I'm using IntelliJ.

Basically used the Gradle plugin to import the project and it worked ever
since :)

On Fri, Dec 11, 2015 at 4:41 PM, Vahid S Hashemian <
vahidhashemian@us.ibm.com> wrote:

> OK. I assume not a lot of people debug the code using eclipse.
> In any case could you please share what you think is a convenient way of
> debugging the code?
>
> Thanks.
> --Vahid
>
>
>
>
> From:   Vahid S Hashemian/Silicon Valley/IBM@IBMUS
> To:     dev@kafka.apache.org
> Date:   12/09/2015 12:25 PM
> Subject:        Setup for debugging Kafka in eclipse
>
>
>
> Hi all,
>
> I'm new to both Kafka and Scala and would like to setup my eclipse IDE to
> run Kafka in debug mode so I can better trace the execution of various
> commands to better understand how they are implemented.
> I set up my dev environment using the instructions at
>
> https://cwiki.apache.org/confluence/display/KAFKA/Eclipse-Scala-Gradle-Git+Developement+Environment+Setup
>
> .
> I now have several projects in my workspace (api, client, connect, core,
> ...) and they seem to be loaded fine - I don't see any error reported by
> eclipse.
>
> I appreciate any pointer that helps me set this up.
>
> Thanks.
> --Vahid
>
>
>
>
>
>
>

Re: Setup for debugging Kafka in eclipse

Posted by Vahid S Hashemian <va...@us.ibm.com>.
OK. I assume not a lot of people debug the code using eclipse.
In any case could you please share what you think is a convenient way of 
debugging the code?

Thanks.
--Vahid




From:   Vahid S Hashemian/Silicon Valley/IBM@IBMUS
To:     dev@kafka.apache.org
Date:   12/09/2015 12:25 PM
Subject:        Setup for debugging Kafka in eclipse



Hi all,

I'm new to both Kafka and Scala and would like to setup my eclipse IDE to 
run Kafka in debug mode so I can better trace the execution of various 
commands to better understand how they are implemented.
I set up my dev environment using the instructions at 
https://cwiki.apache.org/confluence/display/KAFKA/Eclipse-Scala-Gradle-Git+Developement+Environment+Setup

.
I now have several projects in my workspace (api, client, connect, core, 
...) and they seem to be loaded fine - I don't see any error reported by 
eclipse.

I appreciate any pointer that helps me set this up.

Thanks.
--Vahid