public abstract class ScriptDebugTarget extends ScriptDebugElement implements IDebugTarget, IEventProcessor
Constructor and Description |
---|
ScriptDebugTarget(ILaunch launch,
boolean suspendOnStartup,
boolean suspendOnScriptLoad,
boolean showDynamicCode) |
Modifier and Type | Method and Description |
---|---|
void |
breakpointAdded(IBreakpoint breakpoint) |
void |
breakpointChanged(IBreakpoint breakpoint,
IMarkerDelta delta) |
void |
breakpointRemoved(IBreakpoint breakpoint,
IMarkerDelta delta) |
void |
disconnect() |
ScriptDebugTarget |
getDebugTarget() |
ILaunch |
getLaunch() |
IMemoryBlock |
getMemoryBlock(long startAddress,
long length) |
String |
getName() |
IProcess |
getProcess() |
ScriptDebugThread[] |
getThreads() |
void |
handleEvent(IDebugEvent event) |
boolean |
hasThreads() |
boolean |
isStepping() |
boolean |
isSuspended() |
boolean |
isTerminated() |
void |
resume() |
void |
setDispatcher(EventDispatchJob dispatcher) |
boolean |
supportsBreakpoint(IBreakpoint breakpoint) |
boolean |
supportsStorageRetrieval() |
void |
terminate() |
canDisconnect, canResume, canStepInto, canStepOver, canStepReturn, canSuspend, canTerminate, getModelIdentifier, isDisconnected, stepInto, stepOver, stepReturn, suspend
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModelIdentifier
getAdapter
canTerminate
canResume, canSuspend, suspend
canDisconnect, isDisconnected
public ScriptDebugTarget(ILaunch launch, boolean suspendOnStartup, boolean suspendOnScriptLoad, boolean showDynamicCode)
public String getName() throws DebugException
getName
in interface IDebugTarget
DebugException
public ScriptDebugTarget getDebugTarget()
getDebugTarget
in interface IDebugElement
getDebugTarget
in class ScriptDebugElement
public ILaunch getLaunch()
getLaunch
in interface IDebugElement
getLaunch
in class DebugElement
public IProcess getProcess()
getProcess
in interface IDebugTarget
public ScriptDebugThread[] getThreads()
getThreads
in interface IDebugTarget
public boolean hasThreads() throws DebugException
hasThreads
in interface IDebugTarget
DebugException
public boolean supportsBreakpoint(IBreakpoint breakpoint)
supportsBreakpoint
in interface IDebugTarget
public void setDispatcher(EventDispatchJob dispatcher)
public void handleEvent(IDebugEvent event)
handleEvent
in interface IEventProcessor
public void breakpointAdded(IBreakpoint breakpoint)
breakpointAdded
in interface IBreakpointListener
public void breakpointRemoved(IBreakpoint breakpoint, IMarkerDelta delta)
breakpointRemoved
in interface IBreakpointListener
public void breakpointChanged(IBreakpoint breakpoint, IMarkerDelta delta)
breakpointChanged
in interface IBreakpointListener
public boolean supportsStorageRetrieval()
supportsStorageRetrieval
in interface IMemoryBlockRetrieval
public IMemoryBlock getMemoryBlock(long startAddress, long length) throws DebugException
getMemoryBlock
in interface IMemoryBlockRetrieval
DebugException
public void terminate() throws DebugException
terminate
in interface ITerminate
terminate
in class ScriptDebugElement
DebugException
public boolean isTerminated()
isTerminated
in interface ITerminate
public boolean isSuspended()
isSuspended
in interface ISuspendResume
public void resume() throws DebugException
resume
in interface ISuspendResume
resume
in class ScriptDebugElement
DebugException
public void disconnect() throws DebugException
disconnect
in interface IDisconnect
disconnect
in class ScriptDebugElement
DebugException
public boolean isStepping()
isStepping
in interface IStep