Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 83297 invoked by uid 500); 18 Jun 2001 17:28:20 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 83242 invoked from network); 18 Jun 2001 17:28:15 -0000 Message-ID: From: Steve Downey To: tomcat-dev@jakarta.apache.org Subject: RE: Ways of Debugging tomcat itself.. Date: Mon, 18 Jun 2001 13:24:19 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N With netbeans, in particular, an important trick is to disable the inclusion of its embedded tomcat in the executor and debugger. With 3.2, I think that's the {library} keyword. It changed between 3.1 and 3.2, I believe. Otherwise you're debugging the IDE, not the instance of Tomcat you're building. Other than that, it's really straightforward. Add all the different source trees to the filesystem, set up a cross compiler pointing to the build directory, which needs to be mounted also, and the do builds as normal, or by using Ant. Use org.apache.tomcat.startup.Main as the main class. Look at tomcat.sh for the system defines to add also. > -----Original Message----- > From: Martin van den Bemt [mailto:mvdb@mvdb.com] > Sent: Thursday, June 14, 2001 6:40 PM > To: jakarta-tomcat-dev > Subject: Ways of Debugging tomcat itself.. > > > Hi, > > Maby this question has been asked before, but I'm looking for > a good way to > debug tomcat itself (not taling about servlets in specific). > The environment > i'm using now is netbeans 3.2. > Does anyone have tips on how to debug tomcat (except for > logging to the > console, that one I know..). > I would love to have an opinion / your experience with this. > Doesn't matter > which environment you use or how you debug, it may be > interesting to put > this in a document. If there is already some nice info on > this, please also > let me know.. > > Mvgr, > Martin van den Bemt > <><><><><><><><><><><><><><><><><><><><><>This electronic mail transmission may contain confidential information and is intended only for the person(s) named. Any use, copying or disclosure by any other person is strictly prohibited. If you have received this transmission in error, please notify the sender via e-mail. <><><><><><><><><><><><><><><><><><><><><>