Examples of writeTagged()


Examples of gnu.classpath.jdwp.id.ClassReferenceTypeId.writeTagged()

    VMIdManager idm = VMIdManager.getDefault();
        ClassReferenceTypeId crti =
          (ClassReferenceTypeId)
      idm.getReferenceTypeId(method.getDeclaringClass());

    crti.writeTagged(os);
    method.writeId(os);
    os.writeLong(index);
  }
    else
      {
View Full Code Here

Examples of gnu.classpath.jdwp.id.ObjectId.writeTagged()

    ObjectId oid = idMan.getObjectId(newArray);

    // Since this array isn't referenced anywhere we'll disable garbage
    // collection on it so it's still around when the debugger gets back to it.
    oid.disableCollection();
    oid.writeTagged(os);
  }
}
View Full Code Here

Examples of gnu.classpath.jdwp.id.ObjectId.writeTagged()

    Object value = mr.getReturnedValue();
    Exception exception = mr.getThrownException();
    ObjectId eId = idMan.getObjectId(exception);

    Value.writeTaggedValue(os, value);
    eId.writeTagged(os);
  }

  private void executeNewInstance(ByteBuffer bb, DataOutputStream os)
      throws JdwpException, IOException
  {
View Full Code Here

Examples of gnu.classpath.jdwp.id.ObjectId.writeTagged()

    ObjectId oId = idMan.getObjectId(obj);
    Exception exception = mr.getThrownException();
    ObjectId eId = idMan.getObjectId(exception);

    oId.writeTagged(os);
    eId.writeTagged(os);
  }

  /**
   * Execute the static method and return the resulting MethodResult.
   */
 
View Full Code Here

Examples of gnu.classpath.jdwp.id.ObjectId.writeTagged()

    Object value = mr.getReturnedValue();
    Exception exception = mr.getThrownException();

    ObjectId eId = idMan.getObjectId(exception);
    Value.writeTaggedValue(os, value);
    eId.writeTagged(os);
  }

  private void executeDisableCollection(ByteBuffer bb, DataOutputStream os)
    throws JdwpException, IOException
  {
View Full Code Here

Examples of gnu.classpath.jdwp.id.ObjectId.writeTagged()

    ThreadId tid = (ThreadId) idm.getObjectId(_thread);
    ObjectId oid = idm.getObjectId(_exception);

    tid.write(outStream);
    _location.write(outStream);
    oid.writeTagged(outStream);
    _catchLocation.write(outStream);

  }
}
View Full Code Here

Examples of gnu.classpath.jdwp.id.ReferenceTypeId.writeTagged()

    os.writeInt(declaredClazzes.length);
    for (int i = 0; i < declaredClazzes.length; i++)
      {
        Class decClazz = declaredClazzes[i];
        ReferenceTypeId clazzId = idMan.getReferenceTypeId(decClazz);
        clazzId.writeTagged(os);
      }
  }

  private void executeStatus(ByteBuffer bb, DataOutputStream os)
    throws JdwpException, IOException
View Full Code Here

Examples of gnu.classpath.jdwp.id.ReferenceTypeId.writeTagged()

  {
    ObjectId oid = idMan.readObjectId(bb);
    Object obj = oid.getObject();
    Class clazz = obj.getClass();
    ReferenceTypeId refId = idMan.getReferenceTypeId(clazz);
    refId.writeTagged(os);
  }

  private void executeGetValues(ByteBuffer bb, DataOutputStream os)
    throws JdwpException, IOException
  {
View Full Code Here

Examples of gnu.classpath.jdwp.id.ReferenceTypeId.writeTagged()

    os.writeInt(allMatchingClasses.size());
    for (int i = 0; i < allMatchingClasses.size(); i++)
      {
        Class clazz = (Class) allMatchingClasses.get(i);
        ReferenceTypeId id = idMan.getReferenceTypeId(clazz);
        id.writeTagged(os);
        int status = VMVirtualMachine.getClassStatus(clazz);
        os.writeInt(status);
      }
  }
View Full Code Here

Examples of gnu.classpath.jdwp.id.ReferenceTypeId.writeTagged()

    // sure we don't write more classes than we told the debugger
    while (iter.hasNext() && count++ < classCount)
      {
        Class clazz = (Class) iter.next();
        ReferenceTypeId id = idMan.getReferenceTypeId(clazz);
        id.writeTagged(os);
        String sig = Signature.computeClassSignature(clazz);
        JdwpString.writeString(os, sig);
        int status = VMVirtualMachine.getClassStatus(clazz);
        os.writeInt(status);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.