Examples of VMFrame


Examples of gnu.classpath.jdwp.VMFrame

    ArrayList frames = VMVirtualMachine.getFrames(thread, startFrame, length);
    os.writeInt(frames.size());
    for (int i = 0; i < frames.size(); i++)
      {
        VMFrame frame = (VMFrame) frames.get(i);
        os.writeLong(frame.getId());
        Location loc = frame.getLocation();
        loc.write(os);
      }
  }
View Full Code Here

Examples of gnu.classpath.jdwp.VMFrame

    // ObjectIds since they don't exist in the users code. Storing them as an
    // ObjectId would mean they could be garbage collected since no one else
    // has a reference to them. Furthermore they are not ReferenceTypeIds since
    // these are held permanently and we want these to be held only as long as
    // the Thread is suspended.
    VMFrame frame = VMVirtualMachine.getFrame(thread, bb);
    int slots = bb.getInt();
    os.writeInt(slots); // Looks pointless but this is the protocol
    for (int i = 0; i < slots; i++)
      {
        int slot = bb.getInt();
        byte sig = bb.get();
        Object val = frame.getValue(slot);
        Value.writeTaggedValue(os, val);
      }
  }
View Full Code Here

Examples of gnu.classpath.jdwp.VMFrame

      throws JdwpException, IOException
  {
    ObjectId tId = idMan.readObjectId(bb);
    Thread thread = (Thread) tId.getObject();

    VMFrame frame = VMVirtualMachine.getFrame(thread, bb);

    int slots = bb.getInt();
    for (int i = 0; i < slots; i++)
      {
        int slot = bb.getInt();
        Object value = Value.getObj(bb);
        frame.setValue(slot, value);
      }
  }
View Full Code Here

Examples of gnu.classpath.jdwp.VMFrame

      throws JdwpException, IOException
  {
    ObjectId tId = idMan.readObjectId(bb);
    Thread thread = (Thread) tId.getObject();

    VMFrame frame = VMVirtualMachine.getFrame(thread, bb);

    Object thisObject = frame.getObject();
    Value.writeTaggedValue(os, thisObject);
  }
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.