class ValueMap extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
ValueMap.CallTree |
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<com.sun.jdi.ArrayReference,java.lang.Object[]> |
arrays |
private ValueMap.CallTree |
callTree |
private java.util.HashMap<com.sun.jdi.ThreadReference,Stack<java.util.HashMap<com.sun.jdi.LocalVariable,com.sun.jdi.Value>>> |
stacks |
private java.util.HashMap<com.sun.jdi.ArrayReference,java.lang.String> |
staticArrayNames |
private java.util.HashMap<com.sun.jdi.ArrayReference,java.lang.Object[]> |
staticArrays |
Constructor and Description |
---|
ValueMap() |
Modifier and Type | Method and Description |
---|---|
private boolean |
arrayFieldHasChanged(java.lang.Boolean show,
com.sun.jdi.ThreadReference thr,
com.sun.jdi.ObjectReference objRef,
IndentPrinter printer) |
private boolean |
arrayStaticFieldHasChanged(java.lang.Boolean show,
com.sun.jdi.ThreadReference thr,
IndentPrinter printer) |
private boolean |
arrayValueHasChanged(com.sun.jdi.ArrayReference oldArray,
com.sun.jdi.ArrayReference newArray) |
private boolean |
arrayValueHasChangedHelper(java.lang.Object[] oldObjArray,
com.sun.jdi.ArrayReference newArray) |
void |
clearCallTree() |
private static java.lang.Object[] |
copyArray(com.sun.jdi.ArrayReference oldArrayReference) |
boolean |
maybeAdjustAfterException(com.sun.jdi.ThreadReference thr) |
int |
numFrames(com.sun.jdi.ThreadReference thr) |
int |
numThreads() |
void |
printCallTree() |
void |
registerArray(com.sun.jdi.ArrayReference val) |
boolean |
registerStaticArray(com.sun.jdi.ArrayReference val,
java.lang.String name) |
void |
stackCreate(com.sun.jdi.ThreadReference thr) |
void |
stackDestroy(com.sun.jdi.ThreadReference thr) |
void |
stackPopFrame(com.sun.jdi.ThreadReference thr) |
void |
stackPushFrame(com.sun.jdi.StackFrame currFrame,
com.sun.jdi.ThreadReference thr) |
void |
stackUpdateFrame(com.sun.jdi.Method meth,
com.sun.jdi.ThreadReference thr,
IndentPrinter printer) |
private boolean |
valueHasChanged(com.sun.jdi.Value oldValue,
com.sun.jdi.Value newValue) |
private java.util.HashMap<com.sun.jdi.ThreadReference,Stack<java.util.HashMap<com.sun.jdi.LocalVariable,com.sun.jdi.Value>>> stacks
private java.util.HashMap<com.sun.jdi.ArrayReference,java.lang.Object[]> arrays
private java.util.HashMap<com.sun.jdi.ArrayReference,java.lang.Object[]> staticArrays
private java.util.HashMap<com.sun.jdi.ArrayReference,java.lang.String> staticArrayNames
private ValueMap.CallTree callTree
ValueMap()
public int numThreads()
public void clearCallTree()
public void printCallTree()
public boolean maybeAdjustAfterException(com.sun.jdi.ThreadReference thr)
public int numFrames(com.sun.jdi.ThreadReference thr)
public void stackCreate(com.sun.jdi.ThreadReference thr)
public void stackDestroy(com.sun.jdi.ThreadReference thr)
public void stackPushFrame(com.sun.jdi.StackFrame currFrame, com.sun.jdi.ThreadReference thr)
public void stackPopFrame(com.sun.jdi.ThreadReference thr)
public void stackUpdateFrame(com.sun.jdi.Method meth, com.sun.jdi.ThreadReference thr, IndentPrinter printer)
public void registerArray(com.sun.jdi.ArrayReference val)
public boolean registerStaticArray(com.sun.jdi.ArrayReference val, java.lang.String name)
private static java.lang.Object[] copyArray(com.sun.jdi.ArrayReference oldArrayReference)
private boolean valueHasChanged(com.sun.jdi.Value oldValue, com.sun.jdi.Value newValue)
private boolean arrayStaticFieldHasChanged(java.lang.Boolean show, com.sun.jdi.ThreadReference thr, IndentPrinter printer)
private boolean arrayFieldHasChanged(java.lang.Boolean show, com.sun.jdi.ThreadReference thr, com.sun.jdi.ObjectReference objRef, IndentPrinter printer)
private boolean arrayValueHasChanged(com.sun.jdi.ArrayReference oldArray, com.sun.jdi.ArrayReference newArray)
private boolean arrayValueHasChangedHelper(java.lang.Object[] oldObjArray, com.sun.jdi.ArrayReference newArray)