public final class ThreadReferenceProxyImpl extends ObjectReferenceProxyImpl implements ThreadReferenceProxy
| Modifier and Type | Field and Description | 
|---|---|
static java.util.Comparator<ThreadReferenceProxyImpl> | 
ourComparator  | 
| Constructor and Description | 
|---|
ThreadReferenceProxyImpl(VirtualMachineProxyImpl virtualMachineProxy,
                        com.sun.jdi.ThreadReference threadReference)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
clearCaches()
The advice to the proxy to clear cached data. 
 | 
void | 
forceEarlyReturn(com.sun.jdi.Value value)  | 
java.util.List<StackFrameProxyImpl> | 
forceFrames()
Same as frames(), but always force full frames refresh if not cached,
 this is useful when you need all frames but do not plan to invoke anything
 as only one request is sent 
 | 
StackFrameProxyImpl | 
frame(int i)  | 
int | 
frameCount()  | 
java.util.List<StackFrameProxyImpl> | 
frames()  | 
int | 
getSuspendCount()  | 
com.sun.jdi.ThreadReference | 
getThreadReference()  | 
VirtualMachineProxyImpl | 
getVirtualMachine()  | 
boolean | 
isAtBreakpoint()  | 
boolean | 
isResumeOnHotSwap()  | 
boolean | 
isSuspended()  | 
java.lang.String | 
name()  | 
void | 
popFrames(StackFrameProxyImpl stackFrame)  | 
void | 
resume()  | 
int | 
status()  | 
void | 
stop(com.sun.jdi.ObjectReference exception)  | 
void | 
suspend()  | 
ThreadGroupReferenceProxyImpl | 
threadGroupProxy()  | 
java.lang.String | 
toString()  | 
entryCount, equals, getObjectReference, getValues, getVirtualMachineProxy, hashCode, isCollected, owningThread, referenceType, setValue, type, uniqueID, waitingThreadscheckValid, isValidpublic static final java.util.Comparator<ThreadReferenceProxyImpl> ourComparator
public ThreadReferenceProxyImpl(VirtualMachineProxyImpl virtualMachineProxy, com.sun.jdi.ThreadReference threadReference)
public com.sun.jdi.ThreadReference getThreadReference()
getThreadReference in interface ThreadReferenceProxypublic VirtualMachineProxyImpl getVirtualMachine()
getVirtualMachine in interface ThreadReferenceProxypublic java.lang.String name()
public int getSuspendCount()
public void suspend()
public java.lang.String toString()
toString in class ObjectReferenceProxyImplpublic void resume()
protected void clearCaches()
ObjectReferenceProxyImplclearCaches in class ObjectReferenceProxyImplpublic int status()
public ThreadGroupReferenceProxyImpl threadGroupProxy()
public int frameCount()
               throws EvaluateException
frameCount in interface ThreadReferenceProxyEvaluateExceptionpublic java.util.List<StackFrameProxyImpl> forceFrames() throws EvaluateException
EvaluateExceptionpublic java.util.List<StackFrameProxyImpl> frames() throws EvaluateException
EvaluateExceptionpublic StackFrameProxyImpl frame(int i) throws EvaluateException
frame in interface ThreadReferenceProxyEvaluateExceptionpublic void popFrames(StackFrameProxyImpl stackFrame) throws EvaluateException
EvaluateExceptionpublic void forceEarlyReturn(com.sun.jdi.Value value)
                      throws com.sun.jdi.ClassNotLoadedException,
                             com.sun.jdi.IncompatibleThreadStateException,
                             com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedExceptioncom.sun.jdi.IncompatibleThreadStateExceptioncom.sun.jdi.InvalidTypeExceptionpublic void stop(com.sun.jdi.ObjectReference exception)
          throws com.sun.jdi.InvalidTypeException
com.sun.jdi.InvalidTypeExceptionpublic boolean isSuspended()
                    throws com.sun.jdi.ObjectCollectedException
com.sun.jdi.ObjectCollectedExceptionpublic boolean isAtBreakpoint()
public boolean isResumeOnHotSwap()