From scm-return-6919-apmail-geronimo-scm-archive=geronimo.apache.org@geronimo.apache.org Sat Jul 02 06:42:43 2005 Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 20930 invoked from network); 2 Jul 2005 06:42:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jul 2005 06:42:43 -0000 Received: (qmail 61403 invoked by uid 500); 2 Jul 2005 06:42:42 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 61378 invoked by uid 500); 2 Jul 2005 06:42:42 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 61365 invoked by uid 99); 2 Jul 2005 06:42:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2005 23:42:42 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 2567612 for ; Sat, 2 Jul 2005 08:42:39 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: scm@geronimo.apache.org Date: Sat, 02 Jul 2005 06:42:39 -0000 Message-ID: <20050702064239.14320.39174@ajax.apache.org> Subject: [Geronimo Wiki] Update of "EclipseDeployment" by Stefan Schmidt X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification. The following page has been changed by Stefan Schmidt: http://wiki.apache.org/geronimo/EclipseDeployment ------------------------------------------------------------------------------ + ---- - (More to come...to be done on a plane tomorrow :) + == Start Geronimo == + In a next step you need to start Geronimo for debugging in Eclipse: + + {{{ + java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar %GERONIMO_HOME%/bin/server.jar %1 + }}} + + In Eclipse set the breakpoint in the class you are debugging and then select Run -> Debug right click on Remote Java Application and select 'New'. Select the module which you would like to debug. Change the port number from 8000 to 5005. + + http://www.stsmedia.net/geronimo/eclipse-debug/1.png + + Select the 'Source' tab and Add -> Java Project. Select all previously imported Geronimo Projects. This way Eclipse can find the source codes of all classes you come across during debugging. + + http://www.stsmedia.net/geronimo/eclipse-debug/2.png + + Then, press 'Debug' and change to the Debugging perspective within Eclipse. On the upper-left side you should be able to see the threads and stack traces, in the upper-right side you can see all class variables, and on the lower-left side you can see the source code. + + http://www.stsmedia.net/geronimo/eclipse-debug/3.png + + Changes you make during the debug session will be reflected in that session. However, if you cycle the server and restart it the changes will be lost and your source tree will be out of sync with the running server. + + How to solve this issue will be posted here soon :) +