You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by MyList <my...@gmail.com> on 2015/01/08 17:42:23 UTC
How to debug tomcat code in eclipse
Hello All,
I am new to web development with tomcat. Have many years experience in C and C++ on Unix.
I am newbie to tomcat too. Pardon me if my questions seem simple, just guide me to the source or links.
I am interested in debugging the tomcat server source code through Eclipse.I would like to see how/where/what of the tomcat source code and it's internals to get a grip on the way it handles things.
I have the following installed -
1)Eclipse Java For EE - Luna
2)Have the RC7_0_57 of the tomcat code.
3) I have tomcat 6,7,8 installed and tested. Running concurrently on three different port setups etc.
My intention is to write a few Servlet based projects and step into the tomcat source code while debugging from eclipse. I haven't found any good link to achieve the same.I will have to compile the tomcat source code too, don't know how to do that either.
I would be obliged if you could help me or point me to the sources to achieve this goal.
Thanks in Advance,
Harmeet
Re: How to debug tomcat code in eclipse
Posted by Mark Thomas <ma...@apache.org>.
On 08/01/2015 16:42, MyList wrote:
> Hello All,
>
> I am new to web development with tomcat. Have many years experience in C and C++ on Unix.
>
> I am newbie to tomcat too. Pardon me if my questions seem simple, just guide me to the source or links.
>
> I am interested in debugging the tomcat server source code through Eclipse.I would like to see how/where/what of the tomcat source code and it's internals to get a grip on the way it handles things.
>
>
> I have the following installed -
> 1)Eclipse Java For EE - Luna
> 2)Have the RC7_0_57 of the tomcat code.
> 3) I have tomcat 6,7,8 installed and tested. Running concurrently on three different port setups etc.
>
> My intention is to write a few Servlet based projects and step into the tomcat source code while debugging from eclipse. I haven't found any good link to achieve the same.I will have to compile the tomcat source code too, don't know how to do that either.
>
> I would be obliged if you could help me or point me to the sources to achieve this goal.
>
> Thanks in Advance,
> Harmeet
>
1. Please do not cross-post questions to the users list and the
developers list.
2. Please read the reply you received several days ago when you first
asked this question on the dev list.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: How to debug tomcat code in eclipse
Posted by Jim Anderson <ji...@centurylink.net>.
Hi Harmeet,
I have a setup similar to yours and I had to go through the same process
you are right now. The good news is that with some help, I got it going
and it works well. The bad news is that I am very busy at the moment and
cannot help immediately, but I will try to get back to you over the
weekend if you have not been able to get set up in Eclipse.
Please let me know if you have resolved your problem. Otherwise, I will
get back to you over the weekend.
Jim
On 01/08/2015 11:42 AM, MyList wrote:
> Hello All,
>
> I am new to web development with tomcat. Have many years experience in C and C++ on Unix.
>
> I am newbie to tomcat too. Pardon me if my questions seem simple, just guide me to the source or links.
>
> I am interested in debugging the tomcat server source code through Eclipse.I would like to see how/where/what of the tomcat source code and it's internals to get a grip on the way it handles things.
>
>
> I have the following installed -
> 1)Eclipse Java For EE - Luna
> 2)Have the RC7_0_57 of the tomcat code.
> 3) I have tomcat 6,7,8 installed and tested. Running concurrently on three different port setups etc.
>
> My intention is to write a few Servlet based projects and step into the tomcat source code while debugging from eclipse. I haven't found any good link to achieve the same.I will have to compile the tomcat source code too, don't know how to do that either.
>
> I would be obliged if you could help me or point me to the sources to achieve this goal.
>
> Thanks in Advance,
> Harmeet
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org