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) |
getSession
static final int STACKFRAME_DEFAULT_DEPTH
IPDIThreadStorage createThreadStorage(IPDIThreadStorageDescriptor varDesc) throws PDIException
varDesc
- IPDThreadStorageDescPDIException
- on failureboolean equals(IPDIThread thead)
thead
- IPDIStackFrame getCurrentStackFrame() throws PDIException
PDIException
int getId()
int getStackFrameCount() throws PDIException
PDIException
- on failureIPDIStackFrame[] getStackFrames() throws PDIException
PDIException
- on failureIPDIStackFrame[] getStackFrames(int fromIndex, int len) throws PDIException
PDIException
- on failureIndexOutOfBoundsException
- 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
- PDIException
void setCurrentStackFrame(IPDIStackFrame stackframe, boolean doUpdate) throws PDIException
stackframe
- doUpdate
- PDIException
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.