com.uwyn.rife.continuations.instrument
Class ContinuationDebug

java.lang.Object
  extended by com.uwyn.rife.continuations.instrument.ContinuationDebug

public class ContinuationDebug
extends Object

Configures the debug output of the continuations engine.

Note that this has little use besides for developing on the continuations instrumentation itself.

Since:
1.6
Version:
$Revision: 3811 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)

Field Summary
static Logger LOGGER
          The logger instance that is used for the debugging.
static String[] OPCODES
          An array with textual representations of the bytecode opcodes.
 
Constructor Summary
ContinuationDebug()
           
 
Method Summary
static void setDebug(boolean debug)
          Enables or disables debugging.
static void setTrace(boolean trace)
          Configures the tracing of the continuations instrumentation while it's executing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static final Logger LOGGER
The logger instance that is used for the debugging.

Since:
1.6

OPCODES

public static final String[] OPCODES
An array with textual representations of the bytecode opcodes. This is mainly used during tracing.

Constructor Detail

ContinuationDebug

public ContinuationDebug()
Method Detail

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; or

false otherwise

Since:
1.6

setDebug

public static void setDebug(boolean debug)
Enables or disables debugging.

Parameters:
debug - true if debugging should be enabled; or

false otherwise

Since:
1.6


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.