Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 53224 invoked from network); 26 Aug 2005 23:34:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Aug 2005 23:34:46 -0000 Received: (qmail 52862 invoked by uid 500); 26 Aug 2005 23:34:35 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 52848 invoked by uid 500); 26 Aug 2005 23:34:35 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 52835 invoked by uid 99); 26 Aug 2005 23:34:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2005 16:34:35 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FORGED_RCVD_HELO,FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [213.51.128.196] (HELO smtpq1.home.nl) (213.51.128.196) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2005 16:34:51 -0700 Received: from [213.51.128.133] (port=33895 helo=smtp2.home.nl) by smtpq1.home.nl with esmtp (Exim 4.30) id 1E8niR-00010S-4I for user@struts.apache.org; Sat, 27 Aug 2005 01:34:31 +0200 Received: from cc28688-a.groni1.gr.home.nl ([82.73.118.101]:33023 helo=www.gangkast.com) by smtp2.home.nl with esmtp (Exim 4.30) id 1E8niP-0005km-EZ for user@struts.apache.org; Sat, 27 Aug 2005 01:34:29 +0200 Received: from localhost (localhost [127.0.0.1]) by www.gangkast.com (Postfix) with ESMTP id 85A517B26E for ; Sat, 27 Aug 2005 01:34:27 +0200 (CEST) Received: from www.gangkast.com ([127.0.0.1]) by localhost (mail.gangkast.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03791-05 for ; Sat, 27 Aug 2005 01:34:26 +0200 (CEST) Received: from [127.0.0.1] (unknown [192.168.101.41]) by www.gangkast.com (Postfix) with ESMTP id 669BB7B26D for ; Sat, 27 Aug 2005 01:34:26 +0200 (CEST) Message-ID: <430FA700.1000909@Gangkast.com> Date: Sat, 27 Aug 2005 01:34:24 +0200 From: Martijn Smit User-Agent: Mozilla Thunderbird 1.0.5 (Windows/20050711) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: debugging tomcat with eclipse References: <8626a2a005082616207c5fd257@mail.gmail.com> In-Reply-To: <8626a2a005082616207c5fd257@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.gangkast.com X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm running Tomcat within Eclipse with the Sysdeo plugin since the dawn of time. As long as you handle your own context definitions (keep a close watch on the occasional xml sysdeo generates) and define the source directories within the Sysdeo general option, you can debug and trace your source perfectly per thread and look at your variables. Martijn Jay Sheth wrote: >HI, > >It would be great if you could give some hints on how to debug tomcat >with eclipse. > >I have tried the following: > >* Running tomcat with option jpda start and then running a remote java >application to debug but doesn't work. >* Running the tomcat application with start option. When I run the >webapp, the break point is caught in the code, however it doesn't let >me evaluate expression/ see the details of variable, saying "The >selected stack frame must be associated with a java project in the >workspace to perform an evaluation". > > >The project is already in eclipse. We are copying the jar file to the >tomcat lib folder and then running the tomcat app. > >Any help / pointers would be useful. > >Thanks, >Jay > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >For additional commands, e-mail: user-help@struts.apache.org > > > -- 31.69 nHz = once a year --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org