public class RhinoDebuggerEngine extends RhinoScriptEngine implements IDebugEngine
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ENGINE_ID |
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITINGTRACE_SCRIPT_ENGINE| Constructor and Description |
|---|
RhinoDebuggerEngine()
Creates a new Rhino Debugger interpreter.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptStackTrace |
getExceptionStackTrace()
Get the stack trace of the last thrown exception.
|
ScriptStackTrace |
getStackTrace()
Get the current stack trace.
|
java.util.Collection<EaseDebugVariable> |
getVariables(java.lang.Object scope)
Get variables within a specific scope or child elements for a given object
|
static boolean |
isSimpleType(java.lang.Object value) |
java.lang.Object |
removeVariable(java.lang.String name)
Remove a variable from the scope.
|
void |
setOptimizationLevel(int level) |
void |
setupDebugger(ILaunch launch,
boolean suspendOnStartup,
boolean suspendOnScriptLoad,
boolean showDynamicCode) |
void |
setVariable(java.lang.String name,
java.lang.Object content,
org.mozilla.javascript.Scriptable scope) |
getContext, getScope, getType, getVariables, registerJar, terminateCurrent, toStringgetDefinedVariables, getLastExecutionResult, getTerminateOnIdle, isIdle, setTerminateOnIdle, terminateaddExecutionListener, addSecurityCheck, executeAsync, executeSync, extractArguments, getCurrentScriptEngine, getDescription, getErrorStream, getExecutedFile, getInputStream, getOutputStream, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, join, removeExecutionListener, removeSecurityCheck, setCloseStreamsOnTerminate, setEngineDescription, setErrorStream, setExecutionRootFile, setInputStream, setOutputStream, setVariableaddJobChangeListener, belongsTo, cancel, create, create, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRulegetAdapterequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddExecutionListener, addSecurityCheck, executeAsync, executeSync, getDescription, getErrorStream, getExecutedFile, getInputStream, getName, getOutputStream, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, join, registerJar, removeExecutionListener, removeSecurityCheck, schedule, setCloseStreamsOnTerminate, setErrorStream, setInputStream, setOutputStream, setVariable, terminate, terminateCurrentgetAdapterpublic static final java.lang.String ENGINE_ID
public RhinoDebuggerEngine()
public static boolean isSimpleType(java.lang.Object value)
public java.util.Collection<EaseDebugVariable> getVariables(java.lang.Object scope)
IDebugEnginegetVariables in interface IDebugEnginescope - scope or parent objectpublic java.lang.Object removeVariable(java.lang.String name)
IDebugEngineremoveVariable in interface IDebugEnginename - variable to be removed.public void setVariable(java.lang.String name,
java.lang.Object content,
org.mozilla.javascript.Scriptable scope)
public void setOptimizationLevel(int level)
setOptimizationLevel in class RhinoScriptEnginepublic void setupDebugger(ILaunch launch, boolean suspendOnStartup, boolean suspendOnScriptLoad, boolean showDynamicCode)
setupDebugger in interface IDebugEnginepublic ScriptStackTrace getStackTrace()
IDebugEnginegetStackTrace in interface IDebugEnginegetStackTrace in class AbstractScriptEnginepublic ScriptStackTrace getExceptionStackTrace()
IDebugEnginegetExceptionStackTrace in interface IDebugEnginegetExceptionStackTrace in class RhinoScriptEnginenull