Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 5793 invoked from network); 11 Jun 2007 21:09:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2007 21:09:00 -0000 Received: (qmail 18300 invoked by uid 500); 11 Jun 2007 21:09:03 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 18268 invoked by uid 500); 11 Jun 2007 21:09:03 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 18252 invoked by uid 99); 11 Jun 2007 21:09:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 14:09:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [129.241.107.93] (HELO pil.idi.ntnu.no) (129.241.107.93) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 14:08:59 -0700 Received: from knutms (74.80-202-26.nextgentel.com [80.202.26.74]) (authenticated bits=0) by pil.idi.ntnu.no (8.13.6/8.13.5) with ESMTP id l5BL8a2E021250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 11 Jun 2007 23:08:37 +0200 (MEST) Date: Mon, 11 Jun 2007 23:10:02 +0200 To: derby-dev@db.apache.org Subject: Re: Derby developing, how to do debug. From: "Knut Magne Solem" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <466DACAB.5050302@mail.telepac.pt> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.20 (Win32) X-Virus-Scanned-By: mimedefang.idi.ntnu.no, using CLAMD X-SMTP-From: Sender=, Relay/Client=74.80-202-26.nextgentel.com [80.202.26.74], EHLO=knutms X-Scanned-By: MIMEDefang 2.48 on 129.241.107.38 X-Scanned-By: mimedefang.idi.ntnu.no, using MIMEDefang 2.48 with local filter 16.42-idi X-Filter-Time: 0 seconds X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 11 Jun 2007 22:51:41 +0200, Knut Magne Solem wrote: > On Mon, 11 Jun 2007 22:12:27 +0200, Paulo Jesus > wrote: > >> [...] >> I´m here looking on how can i make debug on the execution. Or there is a >> way of making a step by step execution of the server? > [...] > -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" on the > remote computer and debug it via breakpoints and "stepping" in Eclipse > on my desktop computer. To get Eclipse to start debugging a JVM on a > remote computer you can follow this tutorial (essentially page 6 and 7): > http://www.onjava.com/pub/a/onjava/2005/08/31/eclipse-jboss-remote-debug.html I forgot one thing.. I had some trouble to get debugging to work properly in Eclipse with the 10.2.2.0 distribution on http://db.apache.org/derby/derby_downloads.html. After some troubleshooting i solved it by compiling Derby after enabling debugging in ant.properties and adding debuglevel="lines,vars,source" in all the build.xml in the source tree. Is it supposed to be that hard or could I do it differently? kms