1 Debug

Class Ax.debug


Debug is a singleton object to allow control of a global debug flag during script execution. Debug state depends on each run and therefore is stored in the script runner instance obtained from thread local.

Method Summary

Modifier and TypeMethodDescription
static boolean isOn()Returns the state of the debugger.
static void off()Disables the debugger.
static void on()Activates the debugger.

Method Detail

isOn

static boolean isOn()
Info:
Returns the state of the debugger.
Returns:
true if the debugger is on, false otherwise

off

static void off()
Info:
Disables the debugger.

on

static void on()
Info:
Activates the debugger.