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, waitingThreads
checkValid, isValid
public 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 ThreadReferenceProxy
public VirtualMachineProxyImpl getVirtualMachine()
getVirtualMachine
in interface ThreadReferenceProxy
public java.lang.String name()
public int getSuspendCount()
public void suspend()
public java.lang.String toString()
toString
in class ObjectReferenceProxyImpl
public void resume()
protected void clearCaches()
ObjectReferenceProxyImpl
clearCaches
in class ObjectReferenceProxyImpl
public int status()
public ThreadGroupReferenceProxyImpl threadGroupProxy()
public int frameCount() throws EvaluateException
frameCount
in interface ThreadReferenceProxy
EvaluateException
public java.util.List<StackFrameProxyImpl> forceFrames() throws EvaluateException
EvaluateException
public java.util.List<StackFrameProxyImpl> frames() throws EvaluateException
EvaluateException
public StackFrameProxyImpl frame(int i) throws EvaluateException
frame
in interface ThreadReferenceProxy
EvaluateException
public void popFrames(StackFrameProxyImpl stackFrame) throws EvaluateException
EvaluateException
public void forceEarlyReturn(com.sun.jdi.Value value) throws com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException, com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
com.sun.jdi.IncompatibleThreadStateException
com.sun.jdi.InvalidTypeException
public void stop(com.sun.jdi.ObjectReference exception) throws com.sun.jdi.InvalidTypeException
com.sun.jdi.InvalidTypeException
public boolean isSuspended() throws com.sun.jdi.ObjectCollectedException
com.sun.jdi.ObjectCollectedException
public boolean isAtBreakpoint()
public boolean isResumeOnHotSwap()