db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-791) Expose api for printing Abstract Syntax Trees in production (non-debug) servers
Date Tue, 03 Jan 2006 21:34:00 GMT
Expose api for printing Abstract Syntax Trees in production (non-debug) servers
-------------------------------------------------------------------------------

         Key: DERBY-791
         URL: http://issues.apache.org/jira/browse/DERBY-791
     Project: Derby
        Type: Improvement
    Reporter: Rick Hillegas


Currently you can print Abstract Syntax Trees to derby.log by setting the DumpParseTree tracepoint
at server startup. E.g.:

java -cp $CLASSPATH -Dderby.debug.true=DumpParseTree -Dderby.stream.error.logSeverityLevel=0
org.apache.derby.tools.ij  z.sql

This can be a useful debugging tool. However, it only works on debug servers built with the
following flags:

sanity=true
debug=true

We should provide some mechanism for printing these trees in production (non-debug) servers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message