api / org.gradle.api.tasks.compile / DebugOptions

DebugOptions

open class DebugOptions : AbstractOptions

Debug options for Java compilation. Only take effect if CompileOptions#debug is set to true.

Constructors

<init>

DebugOptions()

Debug options for Java compilation. Only take effect if CompileOptions#debug is set to true.

Functions

getDebugLevel

open fun getDebugLevel(): String

Tells which debugging information is to be generated. The value is a comma-separated list of any of the following keywords (without spaces in between): source Source file debugging information lines Line number debugging information vars Local variable debugging information By default, only source and line debugging information will be generated.

setDebugLevel

open fun setDebugLevel(debugLevel: String): Unit

Sets which debug information is to be generated.

Inherited Functions

define

open fun define(args: MutableMap<String, Any>): Unit

optionMap

open fun optionMap(): MutableMap<String, Any>