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, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitdebuggerpublic ProgramThread(ALSBDebugger debugger, ProgramThreadHandle handle)
public java.lang.String id()
id in interface IProgramThreadpublic boolean isSuspended()
isSuspended in interface IProgramThreadpublic boolean isAtBreakPoint()
throws IncompatibleThreadStateException
isAtBreakPoint in interface IProgramThreadIncompatibleThreadStateException - - if the thread is not suspended in the target VMpublic void resume()
resume in interface IProgramThreadpublic int frameCount()
throws IncompatibleThreadStateException
frameCount in interface IProgramThreadIncompatibleThreadStateException - - if the thread is not suspended in the target VMpublic IStackFrame frame(int index) throws IncompatibleThreadStateException
frame in interface IProgramThreadIncompatibleThreadStateException - - if the thread is not suspended in the target VMpublic java.util.List<IStackFrame> frames() throws IncompatibleThreadStateException
frames in interface IProgramThreadIncompatibleThreadStateException - - if the thread is not suspended in the target VMpublic ProgramThreadHandle handle()
public int hashCode()
hashCode in class ALSBDebuggerObjectpublic boolean equals(java.lang.Object obj)
equals in class ALSBDebuggerObjectpublic java.lang.String toString()
toString in interface IALSBDebuggerObjecttoString in class java.lang.Object