Tim Ellison wrote:
Alexey Petrenko wrote:
2006/12/8, Tim Ellison <[EMAIL PROTECTED]>:
Alexey Petrenko wrote:
The only difference is that my version is switching debug option for
javac as well. And I think that I'll commit this modification.
Is it worth it? The javac compiler doesn't generate different code with
the -g option, it simply adds the debug attributes to the .class file.
It will result in larger .class files, but provide meaningful debug &
stracktrace info for JDK users.
I think that we can provide release and debug versions of HDK. If
someone want to debug he will take debug one. If user want to run
application he will take smaller and faster one :)

By definition, the HDK is a development environment -- which should
always include debug info.

+1

I think Java should be compiled with -g in all cases. We want line numbers in stack trace. This should include kernel classes in drlvm as well (even in debug mode they are compiled without -g).

--
Gregory

Reply via email to