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