Beispiel #1
0
 public JavaWatchpointWatchable(
     Field field,
     Value currentValue,
     Value newValue,
     String classFqName,
     ThreadReference threadReference) {
   super(classFqName, threadReference);
   JavaValue current = ValueUtil.getInstance().fromJDI(currentValue, classFqName, threadReference);
   JavaValue neww = ValueUtil.getInstance().fromJDI(newValue, classFqName, threadReference);
   myValue = new FieldWatchpointValue(field, false, current, neww, classFqName, threadReference);
 }
Beispiel #2
0
 public JavaField(
     Field field, ObjectReference parent, String classFqName, ThreadReference threadReference) {
   super(classFqName, threadReference);
   myField = field;
   myParent = parent;
   myCachedValue =
       ValueUtil.getInstance().fromJDI(myParent.getValue(myField), classFqName, threadReference);
 }
Beispiel #3
0
 public JavaArrayItemWatchable(
     ArrayReference arrayReference,
     int index,
     String classFqName,
     ThreadReference threadReference) {
   super(classFqName, threadReference);
   myArray = arrayReference;
   myIndex = index;
   myValue =
       ValueUtil.getInstance()
           .fromJDI(myArray.getValue(myIndex), myClassFQName, myThreadReference);
 }