public interface IPDIThread extends IPDISessionObject
| Modifier and Type | Field and Description |
|---|---|
static int |
STACKFRAME_DEFAULT_DEPTH |
| Modifier and Type | Method and Description |
|---|---|
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) |
getSessionstatic final int STACKFRAME_DEFAULT_DEPTH
IPDIThreadStorage createThreadStorage(IPDIThreadStorageDescriptor varDesc) throws PDIException
varDesc - IPDThreadStorageDescPDIException - on failureboolean equals(IPDIThread thead)
thead - IPDIStackFrame getCurrentStackFrame() throws PDIException
PDIExceptionint getId()
int getStackFrameCount()
throws PDIException
PDIException - on failureIPDIStackFrame[] getStackFrames() throws PDIException
PDIException - on failureIPDIStackFrame[] getStackFrames(int fromIndex, int len) throws PDIException
fromIndex, inclusive, and toIndex,
exclusive.
An empty collection is returned if this thread contains
no stack frames, or is not currently suspended. Stack frames are returned in top down order.PDIException - on failurejava.lang.IndexOutOfBoundsException - for an illegal endpoint index value
(fromIndex < 0 || toIndex > size || fromIndex > toIndex).IPDITarget getTarget()
IPDIThreadStorageDescriptor[] getThreadStorageDescriptors() throws PDIException
PDIException - on failurevoid setCurrentStackFrame(IPDIStackFrame stackframe) throws PDIException
stackframe - PDIExceptionvoid setCurrentStackFrame(IPDIStackFrame stackframe, boolean doUpdate) throws PDIException
stackframe - doUpdate - PDIExceptionCopyright (c) 2011 IBM Corporation and others. All Rights Reserved.