public interface IDebugEngine extends IScriptEngine
TRACE_SCRIPT_ENGINE
Modifier and Type | Method and Description |
---|---|
ScriptStackTrace |
getExceptionStackTrace()
Get the stack trace of the last thrown exception of the current thread.
|
ScriptStackTrace |
getExceptionStackTrace(java.lang.Object thread)
Get the stack trace of the last thrown exception of the given thread.
|
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
|
java.lang.Object |
removeVariable(java.lang.String name)
Remove a variable from the scope.
|
void |
setupDebugger(ILaunch launch,
boolean suspendOnStartup,
boolean suspendOnScriptLoad,
boolean showDynamicCode) |
addExecutionListener, addSecurityCheck, executeAsync, executeSync, getDescription, getErrorStream, getExecutedFile, getInputStream, getLaunch, getMonitor, getName, getOutputStream, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, join, registerJar, removeExecutionListener, removeSecurityCheck, schedule, setCloseStreamsOnTerminate, setErrorStream, setInputStream, setOutputStream, setVariable, terminate, terminateCurrent
ScriptStackTrace getStackTrace()
ScriptStackTrace getExceptionStackTrace()
null
ScriptStackTrace getExceptionStackTrace(java.lang.Object thread)
thread
- thread to get last exception stacktrace fromnull
void setupDebugger(ILaunch launch, boolean suspendOnStartup, boolean suspendOnScriptLoad, boolean showDynamicCode)
java.lang.Object removeVariable(java.lang.String name)
name
- variable to be removed.java.util.Collection<EaseDebugVariable> getVariables(java.lang.Object scope)
scope
- scope or parent object