Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 85556 invoked from network); 22 Jun 2005 16:25:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2005 16:25:32 -0000 Received: (qmail 75496 invoked by uid 500); 22 Jun 2005 16:25:25 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 75454 invoked by uid 500); 22 Jun 2005 16:25:25 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 75432 invoked by uid 99); 22 Jun 2005 16:25:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2005 09:25:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hernan@gmail.com designates 64.233.170.194 as permitted sender) Received: from [64.233.170.194] (HELO rproxy.gmail.com) (64.233.170.194) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2005 09:25:25 -0700 Received: by rproxy.gmail.com with SMTP id r35so134577rna for ; Wed, 22 Jun 2005 09:25:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tiNqK6j4KI82ZIKQfHLOMhcd6p2PgvP8kHDdXmhcv3DeqdpHMG7hwfE22gzFkCwD/P78o51cmZ0kKQiQgNAdGP9Q/hYlKU4CBpBMgElp1MMYyGjYkkWRrntUYjc3meTEVVVZYb79yYyR0kypUpErOskeU6dJ/MqA/6ZOVsYOsWM= Received: by 10.38.12.30 with SMTP id 30mr415167rnl; Wed, 22 Jun 2005 09:25:23 -0700 (PDT) Received: by 10.38.10.44 with HTTP; Wed, 22 Jun 2005 09:25:23 -0700 (PDT) Message-ID: Date: Wed, 22 Jun 2005 13:25:23 -0300 From: Hernan Ochoa Reply-To: Hernan Ochoa To: tomcat-dev@jakarta.apache.org Subject: debugging tomcat itself Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I'm trying to debug tomcat itself v5.5.9 using netbeans 4.1 without much lu= ck. I'm able to attach to a running instance of tomcat using JPDA, but then my breakpoints are activated erraticaly, and when they actually break the execution of the program, if I trace to trace the code, it usually ends up in the debugged application continuing its execution, I cannot actually debug this way.... Did someone try this before? These are the things I did: -compiled tomcat 5.5.9 with a build.properties file containing: compile.debug=3Don compile.deprecation=3Doff compile.optimize=3Doff debuglevel=3D"lines,vars,source" (I added the build.properties file in the root directory of the source distribution, and also inside jakarta-tomcat-5) -I added all .java files into a new netbeans project (I created a new project with the option "new project with existing java source files" or sthg like that) -I run tomcat using the command /bin/catalina.sh jpda start -I attach to the instance of tomcat running with netbeans -I set the breakpoints by toggling them into the .java source files I added on netbeans. Sometimes I do this from the Files window, and sometimes from the Projects windows. Here I'm not sure what's the right way to go. Any help with this would be much appreciated. If anyone has sucessfully debugged tomcat with another debugger, please let me know also. Thanks in advance. bye! --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org