public class RhinoDebuggerEngine extends RhinoScriptEngine implements IDebugEngine
Modifier and Type | Field and Description |
---|---|
static String |
ENGINE_ID |
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING
TRACE_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.
|
void |
setOptimizationLevel(int level) |
void |
setupDebugger(ILaunch launch,
boolean suspendOnStartup,
boolean suspendOnScriptLoad,
boolean showDynamicCode) |
getContext, getSaveVariableName, getScope, getVariable, getVariables, registerJar, terminateCurrent
addExecutionListener, addSecurityCheck, executeAsync, executeSync, extractArguments, getCurrentScriptEngine, getDescription, getErrorStream, getExecutedFile, getInputStream, getOutputStream, getTerminateOnIdle, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, isIdle, join, removeExecutionListener, removeSecurityCheck, removeVariable, setCloseStreamsOnTerminate, setEngineDescription, setErrorStream, setInputStream, setOutputStream, setTerminateOnIdle, setVariable, terminate
addJobChangeListener, 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, yieldRule
getAdapter
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addExecutionListener, addSecurityCheck, executeAsync, executeSync, getDescription, getErrorStream, getExecutedFile, getInputStream, getName, getOutputStream, getSaveVariableName, getTerminateOnIdle, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, isIdle, join, registerJar, removeExecutionListener, removeSecurityCheck, removeVariable, schedule, setCloseStreamsOnTerminate, setEngineDescription, setErrorStream, setInputStream, setOutputStream, setTerminateOnIdle, setVariable, terminate, terminateCurrent
getAdapter
public static final String ENGINE_ID
public RhinoDebuggerEngine()
public void setOptimizationLevel(int level)
setOptimizationLevel
in class RhinoScriptEngine
public void setupDebugger(ILaunch launch, boolean suspendOnStartup, boolean suspendOnScriptLoad, boolean showDynamicCode)
setupDebugger
in interface IDebugEngine
public ScriptStackTrace getStackTrace()
IDebugEngine
getStackTrace
in interface IDebugEngine
getStackTrace
in class AbstractScriptEngine
public ScriptStackTrace getExceptionStackTrace()
IDebugEngine
getExceptionStackTrace
in interface IDebugEngine
getExceptionStackTrace
in class RhinoScriptEngine
null