JdwpCommands

public class JdwpCommands
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.server.jdwp.JdwpCommands


JDWP 命令常量,如此处所述

摘要

常量

int CMD_ARRAYREF_GETVALUES

int CMD_ARRAYREF_LENGTH

int CMD_ARRAYREF_SETVALUES

int CMD_ARRAYTYPE_NEWINSTANCE

int CMD_CLASSLOADERREF_VISIBLECLASSES

int CMD_CLASSOBJECTREF_REFLECTEDTYPE

int CMD_CLASSTYPE_INVOKEMETHOD

int CMD_CLASSTYPE_NEWINSTANCE

int CMD_CLASSTYPE_SETVALUES

int CMD_CLASSTYPE_SUPERCLASS

int CMD_EVENTREQUEST_CLEAR

int CMD_EVENTREQUEST_CLEARALLBREAKPOINTS

int CMD_EVENTREQUEST_SET

int CMD_EVENT_COMPOSITE

int CMD_METHOD_BYTECODES

int CMD_METHOD_ISOBSOLETE

int CMD_METHOD_LINETABLE

int CMD_METHOD_VARIABLETABLE

int CMD_METHOD_VARIABLETABLEWITHGENERIC

int CMD_OBJREF_DISABLECOLLECTION

int CMD_OBJREF_ENABLECOLLECTION

int CMD_OBJREF_GETVALUES

int CMD_OBJREF_INVOKEMETHOD

int CMD_OBJREF_ISCOLLECTED

int CMD_OBJREF_MONITORINFO

int CMD_OBJREF_REFERENCETYPE

int CMD_OBJREF_SETVALUES

int CMD_REFTYPE_CLASSLOADER

int CMD_REFTYPE_CLASSOBJECT

int CMD_REFTYPE_FIELDS

int CMD_REFTYPE_FIELDSWITHGENERIC

int CMD_REFTYPE_GETVALUES

int CMD_REFTYPE_INTERFACES

int CMD_REFTYPE_METHODS

int CMD_REFTYPE_METHODSWITHGENERIC

int CMD_REFTYPE_MODIFIERS

int CMD_REFTYPE_NESTEDTYPES

int CMD_REFTYPE_SIGNATURE

int CMD_REFTYPE_SIGNATUREWITHGENERIC

int CMD_REFTYPE_SOURCEDEBUGEXTENSION

int CMD_REFTYPE_SOURCEFILE

int CMD_REFTYPE_STATUS

int CMD_STACKFRAME_GETVALUES

int CMD_STACKFRAME_POPFRAMES

int CMD_STACKFRAME_SETVALUES

int CMD_STACKFRAME_THISOBJECT

int CMD_STRINGREF_VALUE

int CMD_THREADGROUPREF_CHILDREN

int CMD_THREADGROUPREF_NAME

int CMD_THREADGROUPREF_PARENT

int CMD_THREADREF_CURRENTCONTENDEDMONITOR

int CMD_THREADREF_FRAMECOUNT

int CMD_THREADREF_FRAMES

int CMD_THREADREF_INTERRUPT

int CMD_THREADREF_NAME

int CMD_THREADREF_OWNEDMONITORS

int CMD_THREADREF_RESUME

int CMD_THREADREF_STATUS

int CMD_THREADREF_STOP

int CMD_THREADREF_SUSPEND

int CMD_THREADREF_SUSPENDCOUNT

int CMD_THREADREF_THREADGROUP

int CMD_VM_ALLCLASSES

int CMD_VM_ALLCLASSESWITHGENERIC

int CMD_VM_ALLTHREADS

int CMD_VM_CAPABILITIES

int CMD_VM_CAPABILITIESNEW

int CMD_VM_CLASSESBYSIGNATURE

int CMD_VM_CLASSPATHS

int CMD_VM_CREATESTRING

int CMD_VM_DISPOSE

int CMD_VM_DISPOSEOBJECTS

int CMD_VM_EXIT

int CMD_VM_HOLDEVENTS

int CMD_VM_IDSIZES

int CMD_VM_REDEFINECLASSES

int CMD_VM_RELEASEEVENTS

int CMD_VM_RESUME

int CMD_VM_SETDEFAULTSTRATUM

int CMD_VM_SUSPEND

int CMD_VM_TOPLEVELTHREADGROUPS

int CMD_VM_VERSION

int SET_ARRAYREF

int SET_ARRAYTYPE

int SET_CLASSLOADERREF

int SET_CLASSOBJECTREF

int SET_CLASSTYPE

int SET_EVENT

int SET_EVENTREQUEST

int SET_FIELD

int SET_INTERFACETYPE

int SET_METHOD

int SET_OBJREF

int SET_REFTYPE

int SET_STACKFRAME

int SET_STRINGREF

int SET_THREADGROUPREF

int SET_THREADREF

int SET_VM

公共构造函数

JdwpCommands()

公共方法

static String commandSetToString(int cmdSet)
static String commandToString(int cmdSet, int cmd)

常量

CMD_ARRAYREF_GETVALUES

public static final int CMD_ARRAYREF_GETVALUES

常量值: 2 (0x00000002)

CMD_ARRAYREF_LENGTH

public static final int CMD_ARRAYREF_LENGTH

常量值: 1 (0x00000001)

CMD_ARRAYREF_SETVALUES

public static final int CMD_ARRAYREF_SETVALUES

常量值: 3 (0x00000003)

CMD_ARRAYTYPE_NEWINSTANCE

public static final int CMD_ARRAYTYPE_NEWINSTANCE

常量值: 1 (0x00000001)

CMD_CLASSLOADERREF_VISIBLECLASSES

public static final int CMD_CLASSLOADERREF_VISIBLECLASSES

常量值: 1 (0x00000001)

CMD_CLASSOBJECTREF_REFLECTEDTYPE

public static final int CMD_CLASSOBJECTREF_REFLECTEDTYPE

常量值: 1 (0x00000001)

CMD_CLASSTYPE_INVOKEMETHOD

public static final int CMD_CLASSTYPE_INVOKEMETHOD

常量值: 3 (0x00000003)

CMD_CLASSTYPE_NEWINSTANCE

public static final int CMD_CLASSTYPE_NEWINSTANCE

常量值: 4 (0x00000004)

CMD_CLASSTYPE_SETVALUES

public static final int CMD_CLASSTYPE_SETVALUES

常量值: 2 (0x00000002)

CMD_CLASSTYPE_SUPERCLASS

public static final int CMD_CLASSTYPE_SUPERCLASS

常量值: 1 (0x00000001)

CMD_EVENTREQUEST_CLEAR

public static final int CMD_EVENTREQUEST_CLEAR

常量值: 2 (0x00000002)

CMD_EVENTREQUEST_CLEARALLBREAKPOINTS

public static final int CMD_EVENTREQUEST_CLEARALLBREAKPOINTS

常量值: 3 (0x00000003)

CMD_EVENTREQUEST_SET

public static final int CMD_EVENTREQUEST_SET

常量值: 1 (0x00000001)

CMD_EVENT_COMPOSITE

public static final int CMD_EVENT_COMPOSITE

常量值: 100 (0x00000064)

CMD_METHOD_BYTECODES

public static final int CMD_METHOD_BYTECODES

常量值: 3 (0x00000003)

CMD_METHOD_ISOBSOLETE

public static final int CMD_METHOD_ISOBSOLETE

常量值: 4 (0x00000004)

CMD_METHOD_LINETABLE

public static final int CMD_METHOD_LINETABLE

常量值: 1 (0x00000001)

CMD_METHOD_VARIABLETABLE

public static final int CMD_METHOD_VARIABLETABLE

常量值: 2 (0x00000002)

CMD_METHOD_VARIABLETABLEWITHGENERIC

public static final int CMD_METHOD_VARIABLETABLEWITHGENERIC

常量值: 5 (0x00000005)

CMD_OBJREF_DISABLECOLLECTION

public static final int CMD_OBJREF_DISABLECOLLECTION

常量值: 7 (0x00000007)

CMD_OBJREF_ENABLECOLLECTION

public static final int CMD_OBJREF_ENABLECOLLECTION

常量值: 8 (0x00000008)

CMD_OBJREF_GETVALUES

public static final int CMD_OBJREF_GETVALUES

常量值: 2 (0x00000002)

CMD_OBJREF_INVOKEMETHOD

public static final int CMD_OBJREF_INVOKEMETHOD

常量值: 6 (0x00000006)

CMD_OBJREF_ISCOLLECTED

public static final int CMD_OBJREF_ISCOLLECTED

常量值: 9 (0x00000009)

CMD_OBJREF_MONITORINFO

public static final int CMD_OBJREF_MONITORINFO

常量值: 5 (0x00000005)

CMD_OBJREF_REFERENCETYPE

public static final int CMD_OBJREF_REFERENCETYPE

常量值: 1 (0x00000001)

CMD_OBJREF_SETVALUES

public static final int CMD_OBJREF_SETVALUES

常量值: 3 (0x00000003)

CMD_REFTYPE_CLASSLOADER

public static final int CMD_REFTYPE_CLASSLOADER

常量值: 2 (0x00000002)

CMD_REFTYPE_CLASSOBJECT

public static final int CMD_REFTYPE_CLASSOBJECT

常量值: 11 (0x0000000b)

CMD_REFTYPE_FIELDS

public static final int CMD_REFTYPE_FIELDS

常量值: 4 (0x00000004)

CMD_REFTYPE_FIELDSWITHGENERIC

public static final int CMD_REFTYPE_FIELDSWITHGENERIC

常量值: 14 (0x0000000e)

CMD_REFTYPE_GETVALUES

public static final int CMD_REFTYPE_GETVALUES

常量值: 6 (0x00000006)

CMD_REFTYPE_INTERFACES

public static final int CMD_REFTYPE_INTERFACES

常量值: 10 (0x0000000a)

CMD_REFTYPE_METHODS

public static final int CMD_REFTYPE_METHODS

常量值: 5 (0x00000005)

CMD_REFTYPE_METHODSWITHGENERIC

public static final int CMD_REFTYPE_METHODSWITHGENERIC

常量值: 15 (0x0000000f)

CMD_REFTYPE_MODIFIERS

public static final int CMD_REFTYPE_MODIFIERS

常量值: 3 (0x00000003)

CMD_REFTYPE_NESTEDTYPES

public static final int CMD_REFTYPE_NESTEDTYPES

常量值: 8 (0x00000008)

CMD_REFTYPE_SIGNATURE

public static final int CMD_REFTYPE_SIGNATURE

常量值: 1 (0x00000001)

CMD_REFTYPE_SIGNATUREWITHGENERIC

public static final int CMD_REFTYPE_SIGNATUREWITHGENERIC

常量值: 13 (0x0000000d)

CMD_REFTYPE_SOURCEDEBUGEXTENSION

public static final int CMD_REFTYPE_SOURCEDEBUGEXTENSION

常量值: 12 (0x0000000c)

CMD_REFTYPE_SOURCEFILE

public static final int CMD_REFTYPE_SOURCEFILE

常量值: 7 (0x00000007)

CMD_REFTYPE_STATUS

public static final int CMD_REFTYPE_STATUS

常量值: 9 (0x00000009)

CMD_STACKFRAME_GETVALUES

public static final int CMD_STACKFRAME_GETVALUES

常量值: 1 (0x00000001)

CMD_STACKFRAME_POPFRAMES

public static final int CMD_STACKFRAME_POPFRAMES

常量值: 4 (0x00000004)

CMD_STACKFRAME_SETVALUES

public static final int CMD_STACKFRAME_SETVALUES

常量值: 2 (0x00000002)

CMD_STACKFRAME_THISOBJECT

public static final int CMD_STACKFRAME_THISOBJECT

常量值: 3 (0x00000003)

CMD_STRINGREF_VALUE

public static final int CMD_STRINGREF_VALUE

常量值: 1 (0x00000001)

CMD_THREADGROUPREF_CHILDREN

public static final int CMD_THREADGROUPREF_CHILDREN

常量值: 3 (0x00000003)

CMD_THREADGROUPREF_NAME

public static final int CMD_THREADGROUPREF_NAME

常量值: 1 (0x00000001)

CMD_THREADGROUPREF_PARENT

public static final int CMD_THREADGROUPREF_PARENT

常量值: 2 (0x00000002)

CMD_THREADREF_CURRENTCONTENDEDMONITOR

public static final int CMD_THREADREF_CURRENTCONTENDEDMONITOR

常量值: 9 (0x00000009)

CMD_THREADREF_FRAMECOUNT

public static final int CMD_THREADREF_FRAMECOUNT

常量值: 7 (0x00000007)

CMD_THREADREF_FRAMES

public static final int CMD_THREADREF_FRAMES

常量值: 6 (0x00000006)

CMD_THREADREF_INTERRUPT

public static final int CMD_THREADREF_INTERRUPT

常量值: 11 (0x0000000b)

CMD_THREADREF_NAME

public static final int CMD_THREADREF_NAME

常量值: 1 (0x00000001)

CMD_THREADREF_OWNEDMONITORS

public static final int CMD_THREADREF_OWNEDMONITORS

常量值: 8 (0x00000008)

CMD_THREADREF_RESUME

public static final int CMD_THREADREF_RESUME

常量值: 3 (0x00000003)

CMD_THREADREF_STATUS

public static final int CMD_THREADREF_STATUS

常量值: 4 (0x00000004)

CMD_THREADREF_STOP

public static final int CMD_THREADREF_STOP

常量值: 10 (0x0000000a)

CMD_THREADREF_SUSPEND

public static final int CMD_THREADREF_SUSPEND

常量值: 2 (0x00000002)

CMD_THREADREF_SUSPENDCOUNT

public static final int CMD_THREADREF_SUSPENDCOUNT

常量值: 12 (0x0000000c)

CMD_THREADREF_THREADGROUP

public static final int CMD_THREADREF_THREADGROUP

常量值: 5 (0x00000005)

CMD_VM_ALLCLASSES

public static final int CMD_VM_ALLCLASSES

常量值: 3 (0x00000003)

CMD_VM_ALLCLASSESWITHGENERIC

public static final int CMD_VM_ALLCLASSESWITHGENERIC

常量值: 20 (0x00000014)

CMD_VM_ALLTHREADS

public static final int CMD_VM_ALLTHREADS

常量值: 4 (0x00000004)

CMD_VM_CAPABILITIES

public static final int CMD_VM_CAPABILITIES

常量值: 12 (0x0000000c)

CMD_VM_CAPABILITIESNEW

public static final int CMD_VM_CAPABILITIESNEW

常量值: 17 (0x00000011)

CMD_VM_CLASSESBYSIGNATURE

public static final int CMD_VM_CLASSESBYSIGNATURE

常量值: 2 (0x00000002)

CMD_VM_CLASSPATHS

public static final int CMD_VM_CLASSPATHS

常量值: 13 (0x0000000d)

CMD_VM_CREATESTRING

public static final int CMD_VM_CREATESTRING

常量值: 11 (0x0000000b)

CMD_VM_DISPOSE

public static final int CMD_VM_DISPOSE

常量值: 6 (0x00000006)

CMD_VM_DISPOSEOBJECTS

public static final int CMD_VM_DISPOSEOBJECTS

常量值: 14 (0x0000000e)

CMD_VM_EXIT

public static final int CMD_VM_EXIT

常量值: 10 (0x0000000a)

CMD_VM_HOLDEVENTS

public static final int CMD_VM_HOLDEVENTS

常量值: 15 (0x0000000f)

CMD_VM_IDSIZES

public static final int CMD_VM_IDSIZES

常量值: 7 (0x00000007)

CMD_VM_REDEFINECLASSES

public static final int CMD_VM_REDEFINECLASSES

常量值: 18 (0x00000012)

CMD_VM_RELEASEEVENTS

public static final int CMD_VM_RELEASEEVENTS

常量值: 16 (0x00000010)

CMD_VM_RESUME

public static final int CMD_VM_RESUME

常量值: 9 (0x00000009)

CMD_VM_SETDEFAULTSTRATUM

public static final int CMD_VM_SETDEFAULTSTRATUM

常量值: 19 (0x00000013)

CMD_VM_SUSPEND

public static final int CMD_VM_SUSPEND

常量值: 8 (0x00000008)

CMD_VM_TOPLEVELTHREADGROUPS

public static final int CMD_VM_TOPLEVELTHREADGROUPS

常量值: 5 (0x00000005)

CMD_VM_VERSION

public static final int CMD_VM_VERSION

常量值: 1 (0x00000001)

SET_ARRAYREF

public static final int SET_ARRAYREF

常量值: 13 (0x0000000d)

SET_ARRAYTYPE

public static final int SET_ARRAYTYPE

常量值: 4 (0x00000004)

SET_CLASSLOADERREF

public static final int SET_CLASSLOADERREF

常量值: 14 (0x0000000e)

SET_CLASSOBJECTREF

public static final int SET_CLASSOBJECTREF

常量值: 17 (0x00000011)

SET_CLASSTYPE

public static final int SET_CLASSTYPE

常量值: 3 (0x00000003)

SET_EVENT

public static final int SET_EVENT

常量值: 64 (0x00000040)

SET_EVENTREQUEST

public static final int SET_EVENTREQUEST

常量值: 15 (0x0000000f)

SET_FIELD

public static final int SET_FIELD

常量值: 8 (0x00000008)

SET_INTERFACETYPE

public static final int SET_INTERFACETYPE

常量值: 5 (0x00000005)

SET_METHOD

public static final int SET_METHOD

常量值: 6 (0x00000006)

SET_OBJREF

public static final int SET_OBJREF

常量值: 9 (0x00000009)

SET_REFTYPE

public static final int SET_REFTYPE

常量值: 2 (0x00000002)

SET_STACKFRAME

public static final int SET_STACKFRAME

常量值: 16 (0x00000010)

SET_STRINGREF

public static final int SET_STRINGREF

常量值: 10 (0x0000000a)

SET_THREADGROUPREF

public static final int SET_THREADGROUPREF

常量值: 12 (0x0000000c)

SET_THREADREF

public static final int SET_THREADREF

常量值: 11 (0x0000000b)

SET_VM

public static final int SET_VM

常量值: 1 (0x00000001)

公共构造函数

JdwpCommands

public JdwpCommands ()

公共方法

commandSetToString

public static String commandSetToString (int cmdSet)

参数
cmdSet int

返回
String

commandToString

public static String commandToString (int cmdSet, 
                int cmd)

参数
cmdSet int

cmd int

返回
String