trace

Synopsis

boolean trace()
boolean trace(boolean state)
boolean trace(String option)
boolean trace(String option, boolean state)

Description

Without parameters returns the current value of the global trace flag. With a state sets this global trace flag. With an option reports on the state of this trace option. With an option and state sets the value of this trace option.

As a special case if the option is the empty string, either reports on the state of all named trace options, if no state is specified, or if the state is true sets all existing trace options true, else removes all existing trace options.

Example

>> trace(true)
true

See Also