Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8525B10030 for ; Tue, 4 Jun 2013 10:53:30 +0000 (UTC) Received: (qmail 4393 invoked by uid 500); 4 Jun 2013 10:53:29 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 4260 invoked by uid 500); 4 Jun 2013 10:53:29 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 4251 invoked by uid 99); 4 Jun 2013 10:53:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 10:53:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 10:53:22 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 96138874 for ; Tue, 4 Jun 2013 10:53:01 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Tue, 04 Jun 2013 10:53:01 -0000 Message-ID: <20130604105301.28904.9613@eos.apache.org> Subject: =?utf-8?q?=5BTomcat_Wiki=5D_Update_of_=22FAQ/Developing=22_by_BrianBurch?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for ch= ange notification. The "FAQ/Developing" page has been changed by BrianBurch: https://wiki.apache.org/tomcat/FAQ/Developing?action=3Ddiff&rev1=3D17&rev2= =3D18 <> =3D=3D=3D=3D How do I remotely debug Tomcat using NetBeans? =3D=3D=3D=3D = - This answer assumes that you have correctly set up a [[http://netbeans.or= g/|NetBeans]] project and that you know how to use the !NetBeans debugger. = If not, please go to http://www.netbeans.org/kb/using-netbeans/40/debug.htm= l and read up on how to use !NetBeans and its debugger. + This answer assumes that you know how to work with a !NetBeans Project, a= nd also how to use the !NetBeans debugger. If not, please go to http://www.= netbeans.org/kb/using-netbeans/40/debug.html and read up on how to use !Net= Beans and its debugger. + = + Starting with Tomcat trunk revision 1484409, the Tomcat source includes A= nt tasks to configure your source directory as a !NetBeans Free-Form Projec= t. After you have successfully run Ant with the default build target (''dep= loy''), you can then run the ''ide-netbeans'' target. This task will config= ure your sandbox copy of Tomcat so the source can be inspected, maintained = and debugged under the !NetBeans IDE. You should follow the detailed instru= ctions in the README.txt file that will have been installed in your new nbp= roject directory. = Make sure that Tomcat is started in debug mode as described above, that y= our application is deployed, and that the sources are all defined as resour= ces in your application. If you have a servlet or JSP file, set a breakpoin= t where you think a problem might be occurring. Go to "Run->Attach Debugger= ". A dialog pops up to let you specify the following options: = @@ -111, +113 @@ = Note that !NetBeans has a second option -- you can debug JSP files and se= rvlets locally using a Tomcat server that is bundled with the IDE. When you= debug a JSP file or servlet in the IDE, the bundled Tomcat server automati= cally starts in debug mode, and the debugger connects to it. = - = + The Tomcat !NetBeans targets have not yet been back-ported to Tomcat 7. Y= ou can copy the files from your copy of the trunk and they should only requ= ire minimal editing of paths to work with older versions of Tomcat. + = =3D=3D=3D Other =3D=3D=3D = <> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org