| |
|
| java.lang.Object org.drools.base.mvel.MVELDebugHandler
MVELDebugHandler | final public class MVELDebugHandler (Code) | | Debug Handler for MVEL dialect.
Takes care of registering breakpoints and calling required methods
to trigger eclipse debugger to keep breakpoints in sync etc.
author: Ahti Kitsik |
DEBUG_LAUNCH_KEY | final public static String DEBUG_LAUNCH_KEY(Code) | | |
clearAllBreakpoints | final protected static void clearAllBreakpoints()(Code) | | |
isDebugMode | public static boolean isDebugMode()(Code) | | Returns current debug mode.
Holds lazy initialized internal reference to improve performance.
Therefore you can't change System property "mvel.debugger" after isDebugMode is called at least once.
To update debug mode at runtime use
MVELDebugHandler.setDebugMode(boolean)
true if debug mode is enabled. |
prepare | public static void prepare()(Code) | | Do nothing for now. ensures that class is loaded prior debug handler
|
receiveBreakpoints | public static void receiveBreakpoints()(Code) | | Notify remote debugger that runtime is ready to get latest breakpoint
information
|
registerBreakpoint | final protected static void registerBreakpoint(String sourceName, int lineNumber)(Code) | | |
removeBreakpoint | final protected static void removeBreakpoint(String sourceName, int lineNumber)(Code) | | |
setDebugMode | public static void setDebugMode(boolean b)(Code) | | Sets debug mode on/off.
Updates local MVELDebugHandler property and System property "mvel.debugger"
There's no need to ever call this method unless you write junit tests!
Parameters: b - is Debug enabled? |
setOnBreakReturn | final protected static void setOnBreakReturn(int value)(Code) | | |
|
|
|