Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 92257 invoked from network); 13 Feb 2008 22:12:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 22:12:52 -0000 Received: (qmail 73140 invoked by uid 500); 13 Feb 2008 22:12:34 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 73115 invoked by uid 500); 13 Feb 2008 22:12:34 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 73104 invoked by uid 99); 13 Feb 2008 22:12:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 14:12:34 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adam.gordon@readytalk.com designates 208.50.222.178 as permitted sender) Received: from [208.50.222.178] (HELO apollo.readytalk.com) (208.50.222.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 22:11:48 +0000 Received: from [192.168.1.45] ([192.168.1.45]) by apollo.readytalk.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 13 Feb 2008 15:11:47 -0700 Message-ID: <47B36B32.3020901@readytalk.com> Date: Wed, 13 Feb 2008 15:12:02 -0700 From: Adam Gordon User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Debugging tomcat with eclipse References: <47B32692.3050705@readytalk.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Feb 2008 22:11:47.0983 (UTC) FILETIME=[6D1891F0:01C86E8D] X-Virus-Checked: Checked by ClamAV on apache.org Actually, if one looks at the catalina.sh script, one woudl see that those are the defaults (unless they were changed) so one shouldn't need to change anything. -adam Luis Rivera wrote: > And don't forget to set > > JPDA_ADDRESS=8000 > > JPDA_TRANSPORT=dt_socket > > as you did before :) > > --Luis R. > > On Feb 13, 2008 9:19 AM, Adam Gordon wrote: > > >> It's actually MUCH easier than that... :-) >> >> If you use Tomcat's start and stop scripts, pass the "jpda" parameter to >> the script, e.g. "/usr/local/tomcat/bin/catalina.sh jpda start" >> >> Then, in Eclipse, select the Debug Perspective and then click the down >> arrow in the little green bug icon in the toolbar and select "Open Debug >> Dialog." >> >> Right-click on "Remote Application Server" in the list on the left and >> select "New." Name it whatever you want and use the Browse button to >> select the project you want to debug. If tomcat is running on the same >> box, leave the host and port alone and click the Debug button in the >> lower right corner. >> >> You should see a ton of threads appear in the Debug frame in the upper >> left. You are now connected. >> >> --adam >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> >> > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org