Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-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 0E4CA7963 for ; Thu, 15 Dec 2011 23:38:02 +0000 (UTC) Received: (qmail 79035 invoked by uid 500); 15 Dec 2011 23:38:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 79015 invoked by uid 500); 15 Dec 2011 23:38:01 -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 79008 invoked by uid 99); 15 Dec 2011 23:38:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2011 23:38:01 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2011 23:37:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 92EFF115D65 for ; Thu, 15 Dec 2011 23:37:30 +0000 (UTC) Date: Thu, 15 Dec 2011 23:37:30 +0000 (UTC) From: "Sean Bridges (Commented) (JIRA)" To: derby-dev@db.apache.org Message-ID: <833897612.17536.1323992250603.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1893631552.16203.1323969390590.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5543) include debug info in derby builds uploaded to maven MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170583#comment-13170583 ] Sean Bridges commented on DERBY-5543: ------------------------------------- can the insane version have line numbers compiled into it? > include debug info in derby builds uploaded to maven > ---------------------------------------------------- > > Key: DERBY-5543 > URL: https://issues.apache.org/jira/browse/DERBY-5543 > Project: Derby > Issue Type: Improvement > Components: Build tools > Affects Versions: 10.8.2.2 > Reporter: Sean Bridges > Priority: Minor > > Looking at a strack trace from derby retrieved through maven, I see that derby is compiled without debug information, this means line numbers are not available in stack traces, > Caused by: java.lang.NullPointerException > at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(Unknown Source) > at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openDroppedContainer(Unknown Source) > at org.apache.derby.impl.store.raw.xact.Xact.openDroppedContainer(Unknown Source) > at org.apache.derby.impl.store.raw.data.PageBasicOperation.findpage(Unknown Source) > at org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown Source) > and it is harder to debug code by setting breakpoints within derby. Derby deployed to maven should have debug information included. > I'm not sure how this is controlled, but looking at pom.xml I see, > > insane > The default should be sane. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira