Package rife.continuations.instrument
Class ContinuationDebug
java.lang.Object
rife.continuations.instrument.ContinuationDebug
Configures the debug output of the continuations engine.
Note that this has little use besides for developing on the continuations instrumentation itself.
- Since:
- 1.0
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOGGER
The logger instance that is used for the debugging.- Since:
- 1.0
-
OPCODES
An array with textual representations of the bytecode opcodes. This is mainly used during tracing.
-
-
Constructor Details
-
ContinuationDebug
public ContinuationDebug()
-
-
Method Details
-
setTrace
public static void setTrace(boolean trace) Configures the tracing of the continuations instrumentation while it's executing.- Parameters:
trace
-true
if tracing should be enabled; orfalse
otherwise- Since:
- 1.0
-
setDebug
public static void setDebug(boolean debug) Enables or disables debugging.- Parameters:
debug
-true
if debugging should be enabled; orfalse
otherwise- Since:
- 1.0
-