public class ProgramThread extends ALSBDebuggerObject implements IProgramThread
Constructor and Description |
---|
ProgramThread(ALSBDebugger debugger, ProgramThreadHandle handle)
constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
equals
|
IStackFrame |
frame(int index)
returns the frame at the given index, null if not valid.
|
int |
frameCount()
returns the count of stack frames
|
java.util.List<IStackFrame> |
frames()
returns the list of all frames
|
ProgramThreadHandle |
handle()
returns this thread handle
|
int |
hashCode()
retruns the hashcode
|
java.lang.String |
id()
returns this thread's ID
|
boolean |
isAtBreakPoint()
returns whether this thread is suspended at a breakpoint
|
boolean |
isSuspended()
returns true if suspended
|
void |
resume()
resumes this thread.
|
java.lang.String |
toString()
toString
|
debugger, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
debugger
public ProgramThread(ALSBDebugger debugger, ProgramThreadHandle handle)
public java.lang.String id()
id
in interface IProgramThread
public boolean isSuspended()
isSuspended
in interface IProgramThread
public boolean isAtBreakPoint() throws IncompatibleThreadStateException
isAtBreakPoint
in interface IProgramThread
IncompatibleThreadStateException
- - if the thread is not suspended in the target VMpublic void resume()
resume
in interface IProgramThread
public int frameCount() throws IncompatibleThreadStateException
frameCount
in interface IProgramThread
IncompatibleThreadStateException
- - if the thread is not suspended in the target VMpublic IStackFrame frame(int index) throws IncompatibleThreadStateException
frame
in interface IProgramThread
IncompatibleThreadStateException
- - if the thread is not suspended in the target VMpublic java.util.List<IStackFrame> frames() throws IncompatibleThreadStateException
frames
in interface IProgramThread
IncompatibleThreadStateException
- - if the thread is not suspended in the target VMpublic ProgramThreadHandle handle()
public int hashCode()
hashCode
in class ALSBDebuggerObject
public boolean equals(java.lang.Object obj)
equals
in class ALSBDebuggerObject
public java.lang.String toString()
toString
in interface IALSBDebuggerObject
toString
in class java.lang.Object