public abstract class AbstractEaseDebugger extends java.lang.Object implements IEventProcessor, IExecutionListener
Modifier and Type | Class and Description |
---|---|
class |
AbstractEaseDebugger.ThreadState |
ENGINE_END, ENGINE_START, SCRIPT_END, SCRIPT_INJECTION_END, SCRIPT_INJECTION_START, SCRIPT_START
Constructor and Description |
---|
AbstractEaseDebugger(IDebugEngine engine,
boolean showDynamicCode) |
Modifier and Type | Method and Description |
---|---|
void |
fireDispatchEvent(IDebuggerEvent event)
Helper method to raise event via dispatcher.
|
ScriptStackTrace |
getExceptionStacktrace() |
ScriptStackTrace |
getExceptionStacktrace(java.lang.Object thread) |
ScriptStackTrace |
getStacktrace()
Get current stack trace.
|
void |
handleEvent(IDebugEvent event) |
boolean |
isTrackedScript(Script script)
Checks if the given script is tracked by debugger.
|
void |
notify(IScriptEngine engine,
Script script,
int status)
Notify function called by Eclipse EASE framework.
|
void |
setDispatcher(EventDispatchJob dispatcher)
Setter method for dispatcher.
|
void |
setScriptRegistry(IScriptRegistry registry)
Setter method for script registry for lookups between different types of file identifications.
|
public AbstractEaseDebugger(IDebugEngine engine, boolean showDynamicCode)
public void setDispatcher(EventDispatchJob dispatcher)
setDispatcher
in interface IEventProcessor
dispatcher
- dispatcher for communication between debugger and debug target.public void setScriptRegistry(IScriptRegistry registry)
registry
- Script registry to be used.public void fireDispatchEvent(IDebuggerEvent event)
event
- Debug event to be raised.public void handleEvent(IDebugEvent event)
handleEvent
in interface IEventProcessor
public void notify(IScriptEngine engine, Script script, int status)
notify
in interface IExecutionListener
engine
- Script Enginescript
- Script or null
status
- Event Statuspublic boolean isTrackedScript(Script script)
script
- Script to be checked.true
if script is being tracked by debugger.public ScriptStackTrace getStacktrace()
public ScriptStackTrace getExceptionStacktrace()
public ScriptStackTrace getExceptionStacktrace(java.lang.Object thread)