| 1 | #define JDWP_VirtualMachine 1 |
| 2 | #define JDWP_VirtualMachine_Version 1 |
| 3 | #define JDWP_VirtualMachine_ClassesBySignature 2 |
| 4 | #define JDWP_VirtualMachine_AllClasses 3 |
| 5 | #define JDWP_VirtualMachine_AllThreads 4 |
| 6 | #define JDWP_VirtualMachine_TopLevelThreadGroups 5 |
| 7 | #define JDWP_VirtualMachine_Dispose 6 |
| 8 | #define JDWP_VirtualMachine_IDSizes 7 |
| 9 | #define JDWP_VirtualMachine_Suspend 8 |
| 10 | #define JDWP_VirtualMachine_Resume 9 |
| 11 | #define JDWP_VirtualMachine_Exit 10 |
| 12 | #define JDWP_VirtualMachine_CreateString 11 |
| 13 | #define JDWP_VirtualMachine_Capabilities 12 |
| 14 | #define JDWP_VirtualMachine_ClassPaths 13 |
| 15 | #define JDWP_VirtualMachine_DisposeObjects 14 |
| 16 | #define JDWP_VirtualMachine_HoldEvents 15 |
| 17 | #define JDWP_VirtualMachine_ReleaseEvents 16 |
| 18 | #define JDWP_VirtualMachine_CapabilitiesNew 17 |
| 19 | #define JDWP_VirtualMachine_RedefineClasses 18 |
| 20 | #define JDWP_VirtualMachine_SetDefaultStratum 19 |
| 21 | #define JDWP_VirtualMachine_AllClassesWithGeneric 20 |
| 22 | #define JDWP_VirtualMachine_InstanceCounts 21 |
| 23 | #define JDWP_VirtualMachine_AllModules 22 |
| 24 | #define JDWP_ReferenceType 2 |
| 25 | #define JDWP_ReferenceType_Signature 1 |
| 26 | #define JDWP_ReferenceType_ClassLoader 2 |
| 27 | #define JDWP_ReferenceType_Modifiers 3 |
| 28 | #define JDWP_ReferenceType_Fields 4 |
| 29 | #define JDWP_ReferenceType_Methods 5 |
| 30 | #define JDWP_ReferenceType_GetValues 6 |
| 31 | #define JDWP_ReferenceType_SourceFile 7 |
| 32 | #define JDWP_ReferenceType_NestedTypes 8 |
| 33 | #define JDWP_ReferenceType_Status 9 |
| 34 | #define JDWP_ReferenceType_Interfaces 10 |
| 35 | #define JDWP_ReferenceType_ClassObject 11 |
| 36 | #define JDWP_ReferenceType_SourceDebugExtension 12 |
| 37 | #define JDWP_ReferenceType_SignatureWithGeneric 13 |
| 38 | #define JDWP_ReferenceType_FieldsWithGeneric 14 |
| 39 | #define JDWP_ReferenceType_MethodsWithGeneric 15 |
| 40 | #define JDWP_ReferenceType_Instances 16 |
| 41 | #define JDWP_ReferenceType_ClassFileVersion 17 |
| 42 | #define JDWP_ReferenceType_ConstantPool 18 |
| 43 | #define JDWP_ReferenceType_Module 19 |
| 44 | #define JDWP_ClassType 3 |
| 45 | #define JDWP_ClassType_Superclass 1 |
| 46 | #define JDWP_ClassType_SetValues 2 |
| 47 | #define JDWP_ClassType_InvokeMethod 3 |
| 48 | #define JDWP_ClassType_NewInstance 4 |
| 49 | #define JDWP_ArrayType 4 |
| 50 | #define JDWP_ArrayType_NewInstance 1 |
| 51 | #define JDWP_InterfaceType 5 |
| 52 | #define JDWP_InterfaceType_InvokeMethod 1 |
| 53 | #define JDWP_Method 6 |
| 54 | #define JDWP_Method_LineTable 1 |
| 55 | #define JDWP_Method_VariableTable 2 |
| 56 | #define JDWP_Method_Bytecodes 3 |
| 57 | #define JDWP_Method_IsObsolete 4 |
| 58 | #define JDWP_Method_VariableTableWithGeneric 5 |
| 59 | #define JDWP_Field 8 |
| 60 | #define JDWP_ObjectReference 9 |
| 61 | #define JDWP_ObjectReference_ReferenceType 1 |
| 62 | #define JDWP_ObjectReference_GetValues 2 |
| 63 | #define JDWP_ObjectReference_SetValues 3 |
| 64 | #define JDWP_ObjectReference_MonitorInfo 5 |
| 65 | #define JDWP_ObjectReference_InvokeMethod 6 |
| 66 | #define JDWP_ObjectReference_DisableCollection 7 |
| 67 | #define JDWP_ObjectReference_EnableCollection 8 |
| 68 | #define JDWP_ObjectReference_IsCollected 9 |
| 69 | #define JDWP_ObjectReference_ReferringObjects 10 |
| 70 | #define JDWP_StringReference 10 |
| 71 | #define JDWP_StringReference_Value 1 |
| 72 | #define JDWP_ThreadReference 11 |
| 73 | #define JDWP_ThreadReference_Name 1 |
| 74 | #define JDWP_ThreadReference_Suspend 2 |
| 75 | #define JDWP_ThreadReference_Resume 3 |
| 76 | #define JDWP_ThreadReference_Status 4 |
| 77 | #define JDWP_ThreadReference_ThreadGroup 5 |
| 78 | #define JDWP_ThreadReference_Frames 6 |
| 79 | #define JDWP_ThreadReference_FrameCount 7 |
| 80 | #define JDWP_ThreadReference_OwnedMonitors 8 |
| 81 | #define JDWP_ThreadReference_CurrentContendedMonitor 9 |
| 82 | #define JDWP_ThreadReference_Stop 10 |
| 83 | #define JDWP_ThreadReference_Interrupt 11 |
| 84 | #define JDWP_ThreadReference_SuspendCount 12 |
| 85 | #define 13 |
| 86 | #define JDWP_ThreadReference_ForceEarlyReturn 14 |
| 87 | #define JDWP_ThreadGroupReference 12 |
| 88 | #define JDWP_ThreadGroupReference_Name 1 |
| 89 | #define JDWP_ThreadGroupReference_Parent 2 |
| 90 | #define JDWP_ThreadGroupReference_Children 3 |
| 91 | #define JDWP_ArrayReference 13 |
| 92 | #define JDWP_ArrayReference_Length 1 |
| 93 | #define JDWP_ArrayReference_GetValues 2 |
| 94 | #define JDWP_ArrayReference_SetValues 3 |
| 95 | #define JDWP_ClassLoaderReference 14 |
| 96 | #define JDWP_ClassLoaderReference_VisibleClasses 1 |
| 97 | #define JDWP_EventRequest 15 |
| 98 | #define JDWP_EventRequest_Set 1 |
| 99 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_Count 1 |
| 100 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_Conditional 2 |
| 101 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_ThreadOnly 3 |
| 102 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_ClassOnly 4 |
| 103 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_ClassMatch 5 |
| 104 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_ClassExclude 6 |
| 105 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_LocationOnly 7 |
| 106 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_ExceptionOnly 8 |
| 107 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_FieldOnly 9 |
| 108 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_Step 10 |
| 109 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_InstanceOnly 11 |
| 110 | #define JDWP_EventRequest_Set_Out_modifiers_Modifier_SourceNameMatch 12 |
| 111 | #define JDWP_EventRequest_Clear 2 |
| 112 | #define JDWP_EventRequest_ClearAllBreakpoints 3 |
| 113 | #define JDWP_StackFrame 16 |
| 114 | #define JDWP_StackFrame_GetValues 1 |
| 115 | #define JDWP_StackFrame_SetValues 2 |
| 116 | #define JDWP_StackFrame_ThisObject 3 |
| 117 | #define JDWP_StackFrame_PopFrames 4 |
| 118 | #define JDWP_ClassObjectReference 17 |
| 119 | #define JDWP_ClassObjectReference_ReflectedType 1 |
| 120 | #define JDWP_ModuleReference 18 |
| 121 | #define JDWP_ModuleReference_Name 1 |
| 122 | #define JDWP_ModuleReference_ClassLoader 2 |
| 123 | #define JDWP_Event 64 |
| 124 | #define JDWP_Event_Composite 100 |
| 125 | #define JDWP_Event_Composite_Event_events_Events_VMStart JDWP.EventKind.VM_START |
| 126 | #define JDWP_Event_Composite_Event_events_Events_SingleStep JDWP.EventKind.SINGLE_STEP |
| 127 | #define JDWP_Event_Composite_Event_events_Events_Breakpoint JDWP.EventKind.BREAKPOINT |
| 128 | #define JDWP_Event_Composite_Event_events_Events_MethodEntry JDWP.EventKind.METHOD_ENTRY |
| 129 | #define JDWP_Event_Composite_Event_events_Events_MethodExit JDWP.EventKind.METHOD_EXIT |
| 130 | #define JDWP_Event_Composite_Event_events_Events_MethodExitWithReturnValue JDWP.EventKind.METHOD_EXIT_WITH_RETURN_VALUE |
| 131 | #define JDWP_Event_Composite_Event_events_Events_MonitorContendedEnter JDWP.EventKind.MONITOR_CONTENDED_ENTER |
| 132 | #define JDWP_Event_Composite_Event_events_Events_MonitorContendedEntered JDWP.EventKind.MONITOR_CONTENDED_ENTERED |
| 133 | #define JDWP_Event_Composite_Event_events_Events_MonitorWait JDWP.EventKind.MONITOR_WAIT |
| 134 | #define JDWP_Event_Composite_Event_events_Events_MonitorWaited JDWP.EventKind.MONITOR_WAITED |
| 135 | #define JDWP_Event_Composite_Event_events_Events_Exception JDWP.EventKind.EXCEPTION |
| 136 | #define JDWP_Event_Composite_Event_events_Events_ThreadStart JDWP.EventKind.THREAD_START |
| 137 | #define JDWP_Event_Composite_Event_events_Events_ThreadDeath JDWP.EventKind.THREAD_DEATH |
| 138 | #define JDWP_Event_Composite_Event_events_Events_ClassPrepare JDWP.EventKind.CLASS_PREPARE |
| 139 | #define JDWP_Event_Composite_Event_events_Events_ClassUnload JDWP.EventKind.CLASS_UNLOAD |
| 140 | #define JDWP_Event_Composite_Event_events_Events_FieldAccess JDWP.EventKind.FIELD_ACCESS |
| 141 | #define JDWP_Event_Composite_Event_events_Events_FieldModification JDWP.EventKind.FIELD_MODIFICATION |
| 142 | #define JDWP_Event_Composite_Event_events_Events_VMDeath JDWP.EventKind.VM_DEATH |
| 143 | #define JDWP_Error_NONE 0 |
| 144 | #define JDWP_Error_INVALID_THREAD 10 |
| 145 | #define JDWP_Error_INVALID_THREAD_GROUP 11 |
| 146 | #define JDWP_Error_INVALID_PRIORITY 12 |
| 147 | #define JDWP_Error_THREAD_NOT_SUSPENDED 13 |
| 148 | #define JDWP_Error_THREAD_SUSPENDED 14 |
| 149 | #define JDWP_Error_THREAD_NOT_ALIVE 15 |
| 150 | #define JDWP_Error_INVALID_OBJECT 20 |
| 151 | #define JDWP_Error_INVALID_CLASS 21 |
| 152 | #define JDWP_Error_CLASS_NOT_PREPARED 22 |
| 153 | #define JDWP_Error_INVALID_METHODID 23 |
| 154 | #define JDWP_Error_INVALID_LOCATION 24 |
| 155 | #define JDWP_Error_INVALID_FIELDID 25 |
| 156 | #define JDWP_Error_INVALID_FRAMEID 30 |
| 157 | #define JDWP_Error_NO_MORE_FRAMES 31 |
| 158 | #define JDWP_Error_OPAQUE_FRAME 32 |
| 159 | #define JDWP_Error_NOT_CURRENT_FRAME 33 |
| 160 | #define JDWP_Error_TYPE_MISMATCH 34 |
| 161 | #define JDWP_Error_INVALID_SLOT 35 |
| 162 | #define JDWP_Error_DUPLICATE 40 |
| 163 | #define JDWP_Error_NOT_FOUND 41 |
| 164 | #define JDWP_Error_INVALID_MODULE 42 |
| 165 | #define JDWP_Error_INVALID_MONITOR 50 |
| 166 | #define JDWP_Error_NOT_MONITOR_OWNER 51 |
| 167 | #define JDWP_Error_INTERRUPT 52 |
| 168 | #define JDWP_Error_INVALID_CLASS_FORMAT 60 |
| 169 | #define JDWP_Error_CIRCULAR_CLASS_DEFINITION 61 |
| 170 | #define JDWP_Error_FAILS_VERIFICATION 62 |
| 171 | #define JDWP_Error_ADD_METHOD_NOT_IMPLEMENTED 63 |
| 172 | #define JDWP_Error_SCHEMA_CHANGE_NOT_IMPLEMENTED 64 |
| 173 | #define JDWP_Error_INVALID_TYPESTATE 65 |
| 174 | #define JDWP_Error_HIERARCHY_CHANGE_NOT_IMPLEMENTED 66 |
| 175 | #define JDWP_Error_DELETE_METHOD_NOT_IMPLEMENTED 67 |
| 176 | #define JDWP_Error_UNSUPPORTED_VERSION 68 |
| 177 | #define JDWP_Error_NAMES_DONT_MATCH 69 |
| 178 | #define JDWP_Error_CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED 70 |
| 179 | #define JDWP_Error_METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED 71 |
| 180 | #define JDWP_Error_CLASS_ATTRIBUTE_CHANGE_NOT_IMPLEMENTED 72 |
| 181 | #define JDWP_Error_NOT_IMPLEMENTED 99 |
| 182 | #define JDWP_Error_NULL_POINTER 100 |
| 183 | #define JDWP_Error_ABSENT_INFORMATION 101 |
| 184 | #define JDWP_Error_INVALID_EVENT_TYPE 102 |
| 185 | #define JDWP_Error_ILLEGAL_ARGUMENT 103 |
| 186 | #define JDWP_Error_OUT_OF_MEMORY 110 |
| 187 | #define JDWP_Error_ACCESS_DENIED 111 |
| 188 | #define JDWP_Error_VM_DEAD 112 |
| 189 | #define JDWP_Error_INTERNAL 113 |
| 190 | #define JDWP_Error_UNATTACHED_THREAD 115 |
| 191 | #define JDWP_Error_INVALID_TAG 500 |
| 192 | #define JDWP_Error_ALREADY_INVOKING 502 |
| 193 | #define JDWP_Error_INVALID_INDEX 503 |
| 194 | #define JDWP_Error_INVALID_LENGTH 504 |
| 195 | #define JDWP_Error_INVALID_STRING 506 |
| 196 | #define JDWP_Error_INVALID_CLASS_LOADER 507 |
| 197 | #define JDWP_Error_INVALID_ARRAY 508 |
| 198 | #define JDWP_Error_TRANSPORT_LOAD 509 |
| 199 | #define JDWP_Error_TRANSPORT_INIT 510 |
| 200 | #define JDWP_Error_NATIVE_METHOD 511 |
| 201 | #define JDWP_Error_INVALID_COUNT 512 |
| 202 | #define JDWP_EventKind_SINGLE_STEP 1 |
| 203 | #define JDWP_EventKind_BREAKPOINT 2 |
| 204 | #define JDWP_EventKind_FRAME_POP 3 |
| 205 | #define JDWP_EventKind_EXCEPTION 4 |
| 206 | #define JDWP_EventKind_USER_DEFINED 5 |
| 207 | #define JDWP_EventKind_THREAD_START 6 |
| 208 | #define JDWP_EventKind_THREAD_DEATH 7 |
| 209 | #define JDWP_EventKind_THREAD_END 7 |
| 210 | #define JDWP_EventKind_CLASS_PREPARE 8 |
| 211 | #define JDWP_EventKind_CLASS_UNLOAD 9 |
| 212 | #define JDWP_EventKind_CLASS_LOAD 10 |
| 213 | #define JDWP_EventKind_FIELD_ACCESS 20 |
| 214 | #define JDWP_EventKind_FIELD_MODIFICATION 21 |
| 215 | #define JDWP_EventKind_EXCEPTION_CATCH 30 |
| 216 | #define JDWP_EventKind_METHOD_ENTRY 40 |
| 217 | #define JDWP_EventKind_METHOD_EXIT 41 |
| 218 | #define JDWP_EventKind_METHOD_EXIT_WITH_RETURN_VALUE 42 |
| 219 | #define JDWP_EventKind_MONITOR_CONTENDED_ENTER 43 |
| 220 | #define JDWP_EventKind_MONITOR_CONTENDED_ENTERED 44 |
| 221 | #define JDWP_EventKind_MONITOR_WAIT 45 |
| 222 | #define JDWP_EventKind_MONITOR_WAITED 46 |
| 223 | #define JDWP_EventKind_VM_START 90 |
| 224 | #define JDWP_EventKind_VM_INIT 90 |
| 225 | #define JDWP_EventKind_VM_DEATH 99 |
| 226 | #define JDWP_EventKind_VM_DISCONNECTED 100 |
| 227 | #define JDWP_ThreadStatus_ZOMBIE 0 |
| 228 | #define JDWP_ThreadStatus_RUNNING 1 |
| 229 | #define JDWP_ThreadStatus_SLEEPING 2 |
| 230 | #define JDWP_ThreadStatus_MONITOR 3 |
| 231 | #define JDWP_ThreadStatus_WAIT 4 |
| 232 | #define JDWP_SuspendStatus_SUSPEND_STATUS_SUSPENDED 0x1 |
| 233 | #define JDWP_ClassStatus_VERIFIED 1 |
| 234 | #define JDWP_ClassStatus_PREPARED 2 |
| 235 | #define JDWP_ClassStatus_INITIALIZED 4 |
| 236 | #define JDWP_ClassStatus_ERROR 8 |
| 237 | #define JDWP_TypeTag_CLASS 1 |
| 238 | #define JDWP_TypeTag_INTERFACE 2 |
| 239 | #define JDWP_TypeTag_ARRAY 3 |
| 240 | #define JDWP_Tag_ARRAY 91 |
| 241 | #define JDWP_Tag_BYTE 66 |
| 242 | #define JDWP_Tag_CHAR 67 |
| 243 | #define JDWP_Tag_OBJECT 76 |
| 244 | #define JDWP_Tag_FLOAT 70 |
| 245 | #define JDWP_Tag_DOUBLE 68 |
| 246 | #define JDWP_Tag_INT 73 |
| 247 | #define JDWP_Tag_LONG 74 |
| 248 | #define JDWP_Tag_SHORT 83 |
| 249 | #define JDWP_Tag_VOID 86 |
| 250 | #define JDWP_Tag_BOOLEAN 90 |
| 251 | #define JDWP_Tag_STRING 115 |
| 252 | #define JDWP_Tag_THREAD 116 |
| 253 | #define JDWP_Tag_THREAD_GROUP 103 |
| 254 | #define JDWP_Tag_CLASS_LOADER 108 |
| 255 | #define JDWP_Tag_CLASS_OBJECT 99 |
| 256 | #define JDWP_StepDepth_INTO 0 |
| 257 | #define JDWP_StepDepth_OVER 1 |
| 258 | #define JDWP_StepDepth_OUT 2 |
| 259 | #define JDWP_StepSize_MIN 0 |
| 260 | #define JDWP_StepSize_LINE 1 |
| 261 | #define JDWP_SuspendPolicy_NONE 0 |
| 262 | #define JDWP_SuspendPolicy_EVENT_THREAD 1 |
| 263 | #define JDWP_SuspendPolicy_ALL 2 |
| 264 | #define JDWP_InvokeOptions_INVOKE_SINGLE_THREADED 0x01 |
| 265 | #define JDWP_InvokeOptions_INVOKE_NONVIRTUAL 0x02 |
| 266 | |