public class VirtualMachineProxyImpl extends java.lang.Object implements VirtualMachineProxy
Modifier and Type | Field and Description |
---|---|
java.lang.Throwable |
mySuspendLogger |
Constructor and Description |
---|
VirtualMachineProxyImpl(DebugProcessImpl debugProcess,
com.sun.jdi.VirtualMachine virtualMachine) |
Modifier and Type | Method and Description |
---|---|
java.util.List<com.sun.jdi.ReferenceType> |
allClasses() |
java.util.Collection<ThreadReferenceProxyImpl> |
allThreads() |
boolean |
canAddMethod() |
boolean |
canBeModified() |
boolean |
canForceEarlyReturn() |
boolean |
canGetBytecodes() |
boolean |
canGetConstantPool() |
boolean |
canGetCurrentContendedMonitor() |
boolean |
canGetInstanceInfo() |
boolean |
canGetMethodReturnValues() |
boolean |
canGetMonitorFrameInfo() |
boolean |
canGetMonitorInfo() |
boolean |
canGetOwnedMonitorInfo() |
boolean |
canGetSourceDebugExtension() |
boolean |
canGetSyntheticAttribute() |
boolean |
canInvokeMethods() |
boolean |
canPopFrames() |
boolean |
canRedefineClasses() |
boolean |
canRequestVMDeathEvent() |
boolean |
canUnrestrictedlyRedefineClasses() |
boolean |
canUseInstanceFilters() |
boolean |
canWatchFieldAccess() |
boolean |
canWatchFieldModification() |
java.util.List<com.sun.jdi.ReferenceType> |
classesByName(java.lang.String s) |
void |
clearCaches() |
java.lang.String |
description() |
void |
dispose() |
boolean |
equals(java.lang.Object obj) |
com.sun.jdi.event.EventQueue |
eventQueue() |
com.sun.jdi.request.EventRequestManager |
eventRequestManager() |
void |
exit(int i) |
ClassesByNameProvider |
getClassesByNameProvider() |
int |
getCurrentTime() |
DebugProcess |
getDebugProcess() |
java.lang.String |
getDefaultStratum() |
ObjectReferenceProxyImpl |
getObjectReferenceProxy(com.sun.jdi.ObjectReference objectReference) |
java.lang.String |
getResumeStack() |
ThreadGroupReferenceProxyImpl |
getThreadGroupReferenceProxy(com.sun.jdi.ThreadGroupReference group) |
ThreadReferenceProxyImpl |
getThreadReferenceProxy(com.sun.jdi.ThreadReference thread) |
com.sun.jdi.VirtualMachine |
getVirtualMachine() |
int |
hashCode() |
static boolean |
isCollected(com.sun.jdi.ObjectReference reference) |
boolean |
isJ2ME() |
boolean |
isPausePressed() |
boolean |
isSuspended() |
void |
logThreads() |
com.sun.jdi.VoidValue |
mirrorOf()
Deprecated.
use
mirrorOfVoid() instead |
com.sun.jdi.BooleanValue |
mirrorOf(boolean b) |
com.sun.jdi.ByteValue |
mirrorOf(byte b) |
com.sun.jdi.CharValue |
mirrorOf(char c) |
com.sun.jdi.DoubleValue |
mirrorOf(double v) |
com.sun.jdi.FloatValue |
mirrorOf(float v) |
com.sun.jdi.IntegerValue |
mirrorOf(int i) |
com.sun.jdi.LongValue |
mirrorOf(long l) |
com.sun.jdi.ShortValue |
mirrorOf(short i) |
com.sun.jdi.StringReference |
mirrorOf(java.lang.String s) |
com.sun.jdi.StringReference |
mirrorOfStringLiteral(java.lang.String s,
ThrowableComputable<com.sun.jdi.StringReference,EvaluateException> generator) |
com.sun.jdi.VoidValue |
mirrorOfVoid() |
java.lang.String |
name() |
java.util.List<com.sun.jdi.ReferenceType> |
nestedTypes(com.sun.jdi.ReferenceType refType) |
java.lang.Process |
process() |
void |
redefineClasses(java.util.Map<com.sun.jdi.ReferenceType,byte[]> map) |
void |
resume() |
void |
setDebugTraceMode(int i) |
void |
suspend() |
void |
threadGroupCreated(com.sun.jdi.ThreadGroupReference threadGroupReference) |
void |
threadGroupRemoved(com.sun.jdi.ThreadGroupReference threadGroupReference) |
void |
threadStarted(com.sun.jdi.ThreadReference thread) |
void |
threadStopped(com.sun.jdi.ThreadReference thread) |
java.util.List<ThreadGroupReferenceProxyImpl> |
topLevelThreadGroups() |
java.lang.String |
toString() |
java.lang.String |
version() |
boolean |
versionHigher(java.lang.String version) |
public VirtualMachineProxyImpl(DebugProcessImpl debugProcess, com.sun.jdi.VirtualMachine virtualMachine)
public com.sun.jdi.VirtualMachine getVirtualMachine()
public ClassesByNameProvider getClassesByNameProvider()
public java.util.List<com.sun.jdi.ReferenceType> classesByName(java.lang.String s)
classesByName
in interface VirtualMachineProxy
public java.util.List<com.sun.jdi.ReferenceType> nestedTypes(com.sun.jdi.ReferenceType refType)
nestedTypes
in interface VirtualMachineProxy
public java.util.List<com.sun.jdi.ReferenceType> allClasses()
allClasses
in interface VirtualMachineProxy
public java.lang.String toString()
toString
in class java.lang.Object
public void redefineClasses(java.util.Map<com.sun.jdi.ReferenceType,byte[]> map)
public java.util.Collection<ThreadReferenceProxyImpl> allThreads()
public void threadStarted(com.sun.jdi.ThreadReference thread)
public void threadStopped(com.sun.jdi.ThreadReference thread)
public void suspend()
public void resume()
public java.util.List<ThreadGroupReferenceProxyImpl> topLevelThreadGroups()
public void threadGroupCreated(com.sun.jdi.ThreadGroupReference threadGroupReference)
public boolean isJ2ME()
public void threadGroupRemoved(com.sun.jdi.ThreadGroupReference threadGroupReference)
public com.sun.jdi.event.EventQueue eventQueue()
public com.sun.jdi.request.EventRequestManager eventRequestManager()
@Deprecated public com.sun.jdi.VoidValue mirrorOf() throws EvaluateException
mirrorOfVoid()
insteadEvaluateException
public com.sun.jdi.VoidValue mirrorOfVoid()
public com.sun.jdi.BooleanValue mirrorOf(boolean b)
public com.sun.jdi.ByteValue mirrorOf(byte b)
public com.sun.jdi.CharValue mirrorOf(char c)
public com.sun.jdi.ShortValue mirrorOf(short i)
public com.sun.jdi.IntegerValue mirrorOf(int i)
public com.sun.jdi.LongValue mirrorOf(long l)
public com.sun.jdi.FloatValue mirrorOf(float v)
public com.sun.jdi.DoubleValue mirrorOf(double v)
public com.sun.jdi.StringReference mirrorOf(java.lang.String s)
public com.sun.jdi.StringReference mirrorOfStringLiteral(java.lang.String s, ThrowableComputable<com.sun.jdi.StringReference,EvaluateException> generator) throws EvaluateException
EvaluateException
public java.lang.Process process()
public void dispose()
public void exit(int i)
public boolean canWatchFieldModification()
canWatchFieldModification
in interface VirtualMachineProxy
public boolean canWatchFieldAccess()
canWatchFieldAccess
in interface VirtualMachineProxy
public boolean canInvokeMethods()
canInvokeMethods
in interface VirtualMachineProxy
public boolean canGetBytecodes()
canGetBytecodes
in interface VirtualMachineProxy
public boolean canGetConstantPool()
public boolean canGetSyntheticAttribute()
public boolean canGetOwnedMonitorInfo()
public boolean canGetMonitorFrameInfo()
public boolean canGetCurrentContendedMonitor()
public boolean canGetMonitorInfo()
public boolean canUseInstanceFilters()
public boolean canRedefineClasses()
public boolean canAddMethod()
public boolean canUnrestrictedlyRedefineClasses()
public boolean canPopFrames()
public boolean canForceEarlyReturn()
public boolean canGetInstanceInfo()
public boolean canBeModified()
public final boolean versionHigher(java.lang.String version)
versionHigher
in interface VirtualMachineProxy
public boolean canGetSourceDebugExtension()
public boolean canRequestVMDeathEvent()
public boolean canGetMethodReturnValues()
public java.lang.String getDefaultStratum()
public java.lang.String description()
public java.lang.String version()
public java.lang.String name()
public void setDebugTraceMode(int i)
public ThreadReferenceProxyImpl getThreadReferenceProxy(com.sun.jdi.ThreadReference thread)
public ThreadGroupReferenceProxyImpl getThreadGroupReferenceProxy(com.sun.jdi.ThreadGroupReference group)
public ObjectReferenceProxyImpl getObjectReferenceProxy(com.sun.jdi.ObjectReference objectReference)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void clearCaches()
public int getCurrentTime()
public DebugProcess getDebugProcess()
getDebugProcess
in interface VirtualMachineProxy
public static boolean isCollected(com.sun.jdi.ObjectReference reference)
public java.lang.String getResumeStack()
public boolean isPausePressed()
public boolean isSuspended()
public void logThreads()