ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 1011] - <javac debug="false"> does not disable debug info generation
Date Tue, 23 Oct 2001 16:24:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1011>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1011

<javac debug="false"> does not disable debug info generation





------- Additional Comments From cspeter@rmki.kfki.hu  2001-10-23 09:24 -------
If a program contains so huge methods that line number debug info is needed to
locate bugs even in its released, "stable" versions, then it is a really badly
written code.
Turning off debug info generation is useful for applets because their size have
to be as small as possible. So there must be a way to turn it off completely.
If debug=false is not a good default in some cases, then debug should not be a
boolean property. What about this solution:
   debug="none"         - to turn off debug info
   debug="false"        - same (for compatibility)
   debug="lines,source" - default
   debug="all"          - even more debug info
   debug="true"         - same (for compatibility)

Mime
View raw message