Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 21227 invoked from network); 25 Jan 2005 00:53:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jan 2005 00:53:14 -0000 Received: (qmail 42286 invoked by uid 500); 25 Jan 2005 00:53:13 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 42067 invoked by uid 500); 25 Jan 2005 00:53:13 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 42054 invoked by uid 99); 25 Jan 2005 00:53:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from anchor-post-32.mail.demon.net (HELO anchor-post-32.mail.demon.net) (194.217.242.90) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 24 Jan 2005 16:53:11 -0800 Received: from mazumdar.demon.co.uk ([80.177.27.104] helo=pavilion) by anchor-post-32.mail.demon.net with smtp (Exim 4.42) id 1CtExA-000EIp-8T for derby-dev@db.apache.org; Tue, 25 Jan 2005 00:53:09 +0000 Message-ID: <001601c50278$4e913f40$0200000a@lan> From: "Dibyendu Majumdar" To: "Derby Development" References: <3dee901305011721231508061c@mail.gmail.com> <41ED5411.7070302@bristowhill.com> <001201c4fd9b$2eb50530$1401a8c0@rpws002> <41EEAD7C.7020108@debrunners.com> <001801c4fe68$e5118100$0200000a@lan> <41EF09F1.10501@sbcglobal.net> <003a01c4ff3c$8bae67c0$0200000a@lan> <41F159EF.90008@sbcglobal.net> <000801c5001f$a415b780$0200000a@lan> <41F44687.1000002@sbcglobal.net> <000401c5026a$cbe07140$0200000a@lan> <001701c50271$a505fc00$1401a8c0@rpws002> Subject: Re: Derby architecture/design documents Date: Tue, 25 Jan 2005 00:53:38 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > Is there any way I can setup a debug version of Derby that I can step > > through? I tried doing this with the default jar file, but the debugger > > complains > > that there is no line number information. I tried to find out how to > > build Derby with debug enabled, but cannot find the relevant information. > > RPost wrote: > > I got it working in JBuilder6 by adding all of the jars in the jars\insane > directory to the project properties. JBuilder then lets me add the path to > the source as derby\engine. Then I can step into all of the Derby source, > set breakpoints in it, etc. > > Don't know how to do it in Eclipse. I'm trying to follow the discourse > between the two of you and keep winding up in the bowels myself. But unless > you think I can help I was planning on staying out of you guys way since you > are making pretty progress in spite of the difficulties. I managed to build Derby with debug on. Added the following line to to tools/ant/properties/defaultcompiler.properties: debug=on I used Sun's JDK to build Derby. I am now able to set breakpoints in Derby when I use Eclipse. All I had to do was add derby.jar to the classpath, and let Eclipse know where to find the source. Regards Dibyendu