com.aptana.ide.debug.internal.core.model
Class JSDebugThread
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.DebugElement
com.aptana.ide.debug.internal.core.model.JSDebugElement
com.aptana.ide.debug.internal.core.model.JSDebugThread
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IStep, org.eclipse.debug.core.model.ISuspendResume, org.eclipse.debug.core.model.ITerminate, org.eclipse.debug.core.model.IThread
public class JSDebugThread
- extends JSDebugElement
- implements org.eclipse.debug.core.model.IThread
- Author:
- Max Stepanov
|
Constructor Summary |
JSDebugThread(org.eclipse.debug.core.model.IDebugTarget target)
JSDebugThread |
| Methods inherited from class org.eclipse.debug.core.model.DebugElement |
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getDebugTarget, getLaunch, notSupported, requestFailed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
getDebugTarget, getLaunch, getModelIdentifier |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
JSDebugThread
public JSDebugThread(org.eclipse.debug.core.model.IDebugTarget target)
- JSDebugThread
- Parameters:
target -
getStackFrames
public org.eclipse.debug.core.model.IStackFrame[] getStackFrames()
throws org.eclipse.debug.core.DebugException
- Specified by:
getStackFrames in interface org.eclipse.debug.core.model.IThread
- Throws:
org.eclipse.debug.core.DebugException- See Also:
IThread.getStackFrames()
hasStackFrames
public boolean hasStackFrames()
throws org.eclipse.debug.core.DebugException
- Specified by:
hasStackFrames in interface org.eclipse.debug.core.model.IThread
- Throws:
org.eclipse.debug.core.DebugException- See Also:
IThread.hasStackFrames()
getPriority
public int getPriority()
throws org.eclipse.debug.core.DebugException
- Specified by:
getPriority in interface org.eclipse.debug.core.model.IThread
- Throws:
org.eclipse.debug.core.DebugException- See Also:
IThread.getPriority()
getTopStackFrame
public org.eclipse.debug.core.model.IStackFrame getTopStackFrame()
throws org.eclipse.debug.core.DebugException
- Specified by:
getTopStackFrame in interface org.eclipse.debug.core.model.IThread
- Throws:
org.eclipse.debug.core.DebugException- See Also:
IThread.getTopStackFrame()
getName
public java.lang.String getName()
throws org.eclipse.debug.core.DebugException
- Specified by:
getName in interface org.eclipse.debug.core.model.IThread
- Throws:
org.eclipse.debug.core.DebugException- See Also:
IThread.getName()
getBreakpoints
public org.eclipse.debug.core.model.IBreakpoint[] getBreakpoints()
- Specified by:
getBreakpoints in interface org.eclipse.debug.core.model.IThread
- See Also:
IThread.getBreakpoints()
canResume
public boolean canResume()
- Specified by:
canResume in interface org.eclipse.debug.core.model.ISuspendResume
- See Also:
ISuspendResume.canResume()
canSuspend
public boolean canSuspend()
- Specified by:
canSuspend in interface org.eclipse.debug.core.model.ISuspendResume
- See Also:
ISuspendResume.canSuspend()
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended in interface org.eclipse.debug.core.model.ISuspendResume
- See Also:
ISuspendResume.isSuspended()
resume
public void resume()
throws org.eclipse.debug.core.DebugException
- Specified by:
resume in interface org.eclipse.debug.core.model.ISuspendResume
- Throws:
org.eclipse.debug.core.DebugException- See Also:
ISuspendResume.resume()
suspend
public void suspend()
throws org.eclipse.debug.core.DebugException
- Specified by:
suspend in interface org.eclipse.debug.core.model.ISuspendResume
- Throws:
org.eclipse.debug.core.DebugException- See Also:
ISuspendResume.suspend()
canStepInto
public boolean canStepInto()
- Specified by:
canStepInto in interface org.eclipse.debug.core.model.IStep
- See Also:
IStep.canStepInto()
canStepOver
public boolean canStepOver()
- Specified by:
canStepOver in interface org.eclipse.debug.core.model.IStep
- See Also:
IStep.canStepOver()
canStepReturn
public boolean canStepReturn()
- Specified by:
canStepReturn in interface org.eclipse.debug.core.model.IStep
- See Also:
IStep.canStepReturn()
isStepping
public boolean isStepping()
- Specified by:
isStepping in interface org.eclipse.debug.core.model.IStep
- See Also:
IStep.isStepping()
stepInto
public void stepInto()
throws org.eclipse.debug.core.DebugException
- Specified by:
stepInto in interface org.eclipse.debug.core.model.IStep
- Throws:
org.eclipse.debug.core.DebugException- See Also:
IStep.stepInto()
stepOver
public void stepOver()
throws org.eclipse.debug.core.DebugException
- Specified by:
stepOver in interface org.eclipse.debug.core.model.IStep
- Throws:
org.eclipse.debug.core.DebugException- See Also:
IStep.stepOver()
stepReturn
public void stepReturn()
throws org.eclipse.debug.core.DebugException
- Specified by:
stepReturn in interface org.eclipse.debug.core.model.IStep
- Throws:
org.eclipse.debug.core.DebugException- See Also:
IStep.stepReturn()
canTerminate
public boolean canTerminate()
- Specified by:
canTerminate in interface org.eclipse.debug.core.model.ITerminate
- See Also:
ITerminate.canTerminate()
isTerminated
public boolean isTerminated()
- Specified by:
isTerminated in interface org.eclipse.debug.core.model.ITerminate
- See Also:
ITerminate.isTerminated()
terminate
public void terminate()
throws org.eclipse.debug.core.DebugException
- Specified by:
terminate in interface org.eclipse.debug.core.model.ITerminate
- Throws:
org.eclipse.debug.core.DebugException- See Also:
ITerminate.terminate()
handleMessage
protected void handleMessage(java.lang.String[] args)
- handleMessage
- Parameters:
args -
stepToFrame
protected void stepToFrame(org.eclipse.debug.core.model.IStackFrame frame)
throws org.eclipse.debug.core.DebugException
- stepToFrame
- Parameters:
frame -
- Throws:
org.eclipse.debug.core.DebugException