public class JythonDebuggerEngine extends JythonScriptEngine implements IPythonDebugEngine
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENGINE_ID |
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING
TRACE_SCRIPT_ENGINE
Constructor and Description |
---|
JythonDebuggerEngine() |
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.
|
ScriptObjectType |
getType(java.lang.Object object)
Get type information on a given script object
|
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 |
setDebugger(PythonDebugger debugger)
Sets the PythonDebugger for the debug engine.
|
void |
setupDebugger(ILaunch launch,
boolean suspendOnStartup,
boolean suspendOnScriptLoad,
boolean showDynamicCode) |
registerJar, setErrorStream, setInputStream, setOutputStream, terminateCurrent
getDefinedVariables, getLastExecutionResult, getTerminateOnIdle, isIdle, setTerminateOnIdle, terminate, toString
addExecutionListener, addSecurityCheck, executeAsync, executeSync, extractArguments, getCurrentScriptEngine, getDescription, getErrorStream, getExecutedFile, getInputStream, getLaunch, getMonitor, getOutputStream, getStackTrace, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, join, removeExecutionListener, removeSecurityCheck, setCloseStreamsOnTerminate, setEngineDescription, setExecutionRootFile, setLaunch, setVariable
addJobChangeListener, belongsTo, cancel, create, create, createSystem, 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
getStackTrace
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
getAdapter
public static final java.lang.String ENGINE_ID
public void setDebugger(PythonDebugger debugger)
IPythonDebugEngine
setDebugger
in interface IPythonDebugEngine
debugger
- PythonDebugger
to be used.public void setupDebugger(ILaunch launch, boolean suspendOnStartup, boolean suspendOnScriptLoad, boolean showDynamicCode)
setupDebugger
in interface IDebugEngine
public ScriptStackTrace getExceptionStackTrace()
IDebugEngine
getExceptionStackTrace
in interface IDebugEngine
null
public ScriptStackTrace getExceptionStackTrace(java.lang.Object thread)
IDebugEngine
getExceptionStackTrace
in interface IDebugEngine
thread
- thread to get last exception stacktrace fromnull
public java.lang.Object removeVariable(java.lang.String name)
IDebugEngine
removeVariable
in interface IDebugEngine
name
- variable to be removed.public java.util.Collection<EaseDebugVariable> getVariables(java.lang.Object scope)
IDebugEngine
getVariables
in interface IDebugEngine
scope
- scope or parent objectpublic ScriptObjectType getType(java.lang.Object object)
IReplEngine
getType
in interface IReplEngine
getType
in class AbstractReplScriptEngine
object
- object to inspect