|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPDIThread
A thread in a debug target. A thread contains stack frames. Stack frames are only available when the thread is suspended, and are returned in top-down order.
| Field Summary | |
|---|---|
static int |
STACKFRAME_DEFAULT_DEPTH
|
| Method Summary | |
|---|---|
IPDIThreadStorage |
createThreadStorage(IPDIThreadStorageDescriptor varDesc)
Create a variable from the descriptor for evaluation. |
boolean |
equals(IPDIThread thead)
Determines whether both threads are the same. |
IPDIStackFrame |
getCurrentStackFrame()
Get current stack frame |
int |
getId()
Get thread ID |
int |
getStackFrameCount()
Returns the depth of the stack frames. |
IPDIStackFrame[] |
getStackFrames()
Returns the stack frames contained in this thread. |
IPDIStackFrame[] |
getStackFrames(int fromIndex,
int len)
Returns the stack frames contained in this thread between the specified fromIndex, inclusive, and toIndex, exclusive. |
IPDITarget |
getTarget()
Returns pdi target in this thread |
IPDIThreadStorageDescriptor[] |
getThreadStorageDescriptors()
Return thread local storage variables descriptor. |
void |
setCurrentStackFrame(IPDIStackFrame stackframe)
|
void |
setCurrentStackFrame(IPDIStackFrame stackframe,
boolean doUpdate)
|
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject |
|---|
getSession |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet |
|---|
getTasks |
| Field Detail |
|---|
static final int STACKFRAME_DEFAULT_DEPTH
| Method Detail |
|---|
IPDIThreadStorage createThreadStorage(IPDIThreadStorageDescriptor varDesc)
throws PDIException
varDesc - IPDThreadStorageDesc
PDIException - on failureboolean equals(IPDIThread thead)
thead -
IPDIStackFrame getCurrentStackFrame()
throws PDIException
PDIExceptionint getId()
int getStackFrameCount()
throws PDIException
PDIException - on failure
IPDIStackFrame[] getStackFrames()
throws PDIException
PDIException - on failure
IPDIStackFrame[] getStackFrames(int fromIndex,
int len)
throws PDIException
PDIException - on failure
IndexOutOfBoundsException - for an illegal endpoint index value
(fromIndex < 0 || toIndex > size || fromIndex > toIndex).IPDITarget getTarget()
IPDIThreadStorageDescriptor[] getThreadStorageDescriptors()
throws PDIException
PDIException - on failure
void setCurrentStackFrame(IPDIStackFrame stackframe)
throws PDIException
stackframe -
PDIException
void setCurrentStackFrame(IPDIStackFrame stackframe,
boolean doUpdate)
throws PDIException
stackframe - doUpdate -
PDIException
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||