Exemplo n.º 1
0
 public ClassPrepare(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
     typeId    = ReferenceTypeId.Read(reader);
     signature = reader.GetString();
     status    = (DebuggerLib.Jdwp.ClassStatus)reader.GetInt();
 }
Exemplo n.º 2
0
        /// <summary>
        /// Default ctor
        /// </summary>
        protected BaseFieldEvent(JdwpPacket.DataReaderWriter reader)
            : base(reader)
        {
            refTypeTag = (DebuggerLib.Jdwp.TypeTag)reader.GetByte();
            switch (refTypeTag)
            {
            case DebuggerLib.Jdwp.TypeTag.Class:
                typeId = new ClassId(reader);
                break;

            case DebuggerLib.Jdwp.TypeTag.Interface:
                typeId = new InterfaceId(reader);
                break;

            case DebuggerLib.Jdwp.TypeTag.Array:
                typeId = new ArrayTypeId(reader);
                break;

            default:
                throw new ArgumentException("Unknown type tag " + (int)refTypeTag);
            }
            fieldId  = new FieldId(reader);
            objectId = new TaggedObjectId(reader);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Notification of step completion in the target VM. The step event is generated before the code at its location is executed.
 /// </summary>
 public SingleStep(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
 }
Exemplo n.º 4
0
 public VmStart(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
 }
Exemplo n.º 5
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public MethodEntry(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
 }
Exemplo n.º 6
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public FieldModification(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
     value = new Value(reader);
 }
Exemplo n.º 7
0
 public VmDeath(JdwpPacket.DataReaderWriter reader)
 {
     requestId = reader.GetInt();
 }
Exemplo n.º 8
0
 public ThreadDeath(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
 }
Exemplo n.º 9
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public Exception(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
     exception     = new TaggedObjectId(reader);
     catchLocation = new Location(reader);
 }
Exemplo n.º 10
0
 /// <summary>
 /// Notification of a breakpoint in the target VM. The breakpoint event is generated before the code at its location is executed.
 /// </summary>
 public Breakpoint(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
 }
Exemplo n.º 11
0
 public ClassUnload(JdwpPacket.DataReaderWriter reader)
 {
     requestId = reader.GetInt();
     signature = reader.GetString();
 }
Exemplo n.º 12
0
 /// <summary>
 /// Default ctor.
 /// </summary>
 protected BaseLocationEvent(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
     location = new Location(reader);
 }
Exemplo n.º 13
0
 /// <summary>
 /// Default ctor
 /// </summary>
 protected BaseEvent(JdwpPacket.DataReaderWriter reader)
 {
     requestId = reader.GetInt();
     threadId  = new ThreadId(reader);
 }
Exemplo n.º 14
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public FieldAccess(JdwpPacket.DataReaderWriter reader)
     : base(reader)
 {
 }