I assume you were already doing something like:
tasks.withType(Compile) { options.debugOptions.debugLevel =
"source,lines,vars" }
(Without that, you should get debug information for source and lines, but
not for local variables.)
The new Java compiler integration in m9 doesn't honor
options.debugOptions.debugLevel yet. This is a bug. The workaround is:
tasks.withType(Compile) { options.compilerArgs = ["-g:source,lines,vars"] }
Without that, you should still get debug information for source and lines,
but not for local variables.
--
Peter Niederwieser
Principal Engineer, Gradleware
http://gradleware.com
Creator, Spock Framework
http://spockframework.org
Twitter: @pniederw
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Java-debug-information-tp5547368p5548944.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email