📄 jdwp.spec
字号:
(Error INVALID_METHODID "methodID is not the ID of a method.") (Error INVALID_OBJECT) (Error INVALID_THREAD) (Error THREAD_NOT_SUSPENDED) (Error VM_DEAD) ) ))(CommandSet ArrayType=4 (Command NewInstance=1 "Creates a new array object of this type with a given length." (Out (arrayType arrType "The array type of the new instance.") (int length "The length of the array.") ) (Reply (tagged-object newArray "The newly created array object. ") ) (ErrorSet (Error INVALID_ARRAY) (Error INVALID_OBJECT) (Error VM_DEAD) ) ))(CommandSet InterfaceType=5)(CommandSet Method=6 (Command LineTable=1 "Returns line number information for the method, if present. " "The line table maps source line numbers to the initial code index " "of the line. The line table " "is ordered by code index (from lowest to highest). The line number " "information is constant unless a new class definition is installed " "using <a href=\"#JDWP_VirtualMachine_RedefineClasses\">RedefineClasses</a>." (Out (referenceType refType "The class.") (method methodID "The method.") ) (Reply (long start "Lowest valid code index for the method, >=0, or -1 if the method is native ") (long end "Highest valid code index for the method, >=0, or -1 if the method is native") (Repeat lines "The number of entries in the line table for this method." (Group LineInfo (long lineCodeIndex "Initial code index of the line, " "start <= lineCodeIndex < end") (int lineNumber "Line number.") ) ) ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error INVALID_METHODID "methodID is not the ID of a method.") (Error VM_DEAD) ) ) (Command VariableTable=2 "Returns variable information for the method. The variable table " "includes arguments and locals declared within the method. For " "instance methods, the \"this\" reference is included in the " "table. Also, synthetic variables may be present. " (Out (referenceType refType "The class.") (method methodID "The method.") ) (Reply (int argCnt "The number of words in the frame used by arguments. " "Eight-byte arguments use two words; all others use one. ") (Repeat slots "The number of variables." (Group SlotInfo "Information about the variable." (long codeIndex "First code index at which the variable is visible (unsigned). " "Used in conjunction with <code>length</code>. " "The variable can be get or set only when the current " "<code>codeIndex</code> <= current frame code index < <code>codeIndex + length</code> ") (string name "The variable's name.") (string signature "The variable type's JNI signature.") (int length "Unsigned value used in conjunction with <code>codeIndex</code>. " "The variable can be get or set only when the current " "<code>codeIndex</code> <= current frame code index < <code>code index + length</code> ") (int slot "The local variable's index in its frame") ) ) ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error INVALID_METHODID "methodID is not the ID of a method.") (Error ABSENT_INFORMATION "there is no variable information for the method.") (Error VM_DEAD) ) ) (Command Bytecodes=3 "Retrieve the method's bytecodes as defined in the JVM Specification." "Requires canGetBytecodes capability - see " "<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>." (Out (referenceType refType "The class.") (method methodID "The method.") ) (Reply (Repeat bytes (byte bytecode "A Java bytecode.") ) ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error INVALID_METHODID "methodID is not the ID of a method.") (Error NOT_IMPLEMENTED "If the target virtual machine does not " "support the retrieval of bytecodes.") (Error VM_DEAD) ) ) (Command IsObsolete=4 "Determine if this method is obsolete. A method is obsolete if it has been replaced " "by a non-equivalent method using the " "<a href=\"#JDWP_VirtualMachine_RedefineClasses\">RedefineClasses</a> command. " "The original and redefined methods are considered equivalent if their bytecodes are " "the same except for indices into the constant pool and the referenced constants are " "equal." (Out (referenceType refType "The class.") (method methodID "The method.") ) (Reply (boolean isObsolete "true if this method has been replaced" "by a non-equivalent method using" "the RedefineClasses command.") ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error INVALID_METHODID "methodID is not the ID of a method.") (Error NOT_IMPLEMENTED "If the target virtual machine does " "not support this query.") (Error VM_DEAD) ) ) (Command VariableTableWithGeneric=5 "Returns variable information for the method, including " "generic signatures for the variables. The variable table " "includes arguments and locals declared within the method. For " "instance methods, the \"this\" reference is included in the " "table. Also, synthetic variables may be present. " "Generic signatures are described in the signature attribute " "section in the " "<a href=\"http://java.sun.com/docs/books/vmspec\"> "Java Virtual Machine Specification, 3rd Edition.</a> " "Since JDWP version 1.5." (Out (referenceType refType "The class.") (method methodID "The method.") ) (Reply (int argCnt "The number of words in the frame used by arguments. " "Eight-byte arguments use two words; all others use one. ") (Repeat slots "The number of variables." (Group SlotInfo "Information about the variable." (long codeIndex "First code index at which the variable is visible (unsigned). " "Used in conjunction with <code>length</code>. " "The variable can be get or set only when the current " "<code>codeIndex</code> <= current frame code index < <code>codeIndex + length</code> ") (string name "The variable's name.") (string signature "The variable type's JNI signature.") (string genericSignature "The variable type's generic " "signature or an empty string if there is none.") (int length "Unsigned value used in conjunction with <code>codeIndex</code>. " "The variable can be get or set only when the current " "<code>codeIndex</code> <= current frame code index < <code>code index + length</code> ") (int slot "The local variable's index in its frame") ) ) ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error INVALID_METHODID "methodID is not the ID of a method.") (Error ABSENT_INFORMATION "there is no variable information for the method.") (Error VM_DEAD) ) )) (CommandSet Field=8)(CommandSet ObjectReference=9 (Command ReferenceType=1 "Returns the runtime type of the object. " "The runtime type will be a class or an array. " (Out (object object "The object ID") ) (Reply (byte refTypeTag "<a href=\"#JDWP_TypeTag\">Kind</a> " "of following reference type. ") (referenceTypeID typeID "The runtime reference type.") ) (ErrorSet (Error INVALID_OBJECT) (Error VM_DEAD) ) ) (Command GetValues=2 "Returns the value of one or more instance fields. " "Each field must be member of the object's type " "or one of its superclasses, superinterfaces, or implemented interfaces. " "Access control is not enforced; for example, the values of private " "fields can be obtained." (Out (object object "The object ID") (Repeat fields "The number of values to get" (Group Field (field fieldID "Field to get.") ) ) ) (Reply (Repeat values "The number of values returned, always equal to 'fields', " "the number of values to get. Field values are ordered " "in the reply in the same order as corresponding fieldIDs " "in the command." (value value "The field value") ) ) (ErrorSet (Error INVALID_OBJECT) (Error INVALID_FIELDID) (Error VM_DEAD) ) ) (Command SetValues=3 "Sets the value of one or more instance fields. " "Each field must be member of the object's type " "or one of its superclasses, superinterfaces, or implemented interfaces. " "Access control is not enforced; for example, the values of private " "fields can be set. " "For primitive values, the value's type must match the " "field's type exactly. For object values, there must be a " "widening reference conversion from the value's type to the "field's type and the field's type must be loaded. " (Out (object object "The object ID") (Repeat values "The number of fields to set." (Group FieldValue "A Field/Value pair." (field fieldID "Field to set.") (untagged-value value "Value to put in the field.") ) ) ) (Reply "none" ) (ErrorSet (Error INVALID_OBJECT) (Error INVALID_FIELDID) (Error VM_DEAD) ) ) (Command MonitorInfo=5 "Returns monitor information for an object. All threads int the VM must " "be suspended." "Requires canGetMonitorInfo capability - see " "<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>." (Out (object object "The object ID") ) (Reply (threadObject owner "The monitor owner, or null if it is not currently owned.") (int entryCount "The number of times the monitor has been entered.") (Repeat waiters "The number of threads that are waiting for the monitor " "0 if there is no current owner" (threadObject thread "A thread waiting for this monitor.") ) ) (ErrorSet (Error INVALID_OBJECT) (Error NOT_IMPLEMENTED) (Error VM_DEAD) ) ) (Command InvokeMethod=6 "Invokes a instance method. " "The method must be member of the object's type " "or one of its superclasses, superinterfaces, or implemented interfaces. " "Access control is not enforced; for example, private " "methods can be invoked." "<p>" "The method invocation will occur in the specified thread. " "Method invocation can occur only if the specified thread " "has been suspended by an event. " "Method invocation is not supported " "when the target VM has been suspended by the front-end. " "<p>" "The specified method is invoked with the arguments in the specified " "argument list. " "The method invocation is synchronous; the reply packet is n
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -