Contents Previous Next

Appendix   A

Constants


 ClassStatus Constants
TABLE 45  –  ClassStatus Constants
PREPARED
2
 
VERIFIED
1
 
INITIALIZED
4
 
ERROR
8
 

 ThreadStatus Constants
TABLE 46  –  ThreadStatus Constants
RUNNING
1
 
WAIT
4
 
SLEEPING
2
 
ZOMBIE
0
 
MONITOR
3
 

 TypeTag Constants
TABLE 47  –  TypeTag Constants
CLASS
1
ReferenceType is a class.  
INTERFACE
2
ReferenceType is an interface.  
ARRAY
3
ReferenceType is an array.  

 Tag Constants
TABLE 48  –  Tag Constants
ARRAY
91
'[' - an array object (objectID size).  
BYTE
66
'B' - a byte value (1 byte).  
CHAR
67
'C' - a character value (2 bytes).  
OBJECT
76
'L' - an object (objectID size).  
FLOAT
70
'F' - a float value (4 bytes).  
DOUBLE
68
'D' - a double value (8 bytes).  
INT
73
'I' - an int value (4 bytes).  
LONG
74
'J' - a long value (8 bytes).  
SHORT
83
'S' - a short value (2 bytes).  
VOID
86
'V' - a void value (no bytes).  
BOOLEAN
90
'Z' - a boolean value (1 byte).  
STRING
115
's' - a String object (objectID size).  
THREAD
116
't' - a Thread object (objectID size).  
THREAD_GROUP
103
'g' - a ThreadGroup object (objectID size).  
CLASS_LOADER
108
'l' - a ClassLoader object (objectID size).  
CLASS_OBJECT
99
'c' - a class object object (objectID size).  

 Error Constants
TABLE 49  –  Error Constants
INVALID_TAG
500
object type id or class tag
ALREADY_INVOKING
502
previous invoke not complete
INVALID_INDEX
503
 
INVALID_LENGTH
504
 
INVALID_STRING
506
 
INVALID_CLASS_LOADER
507
 
INVALID_ARRAY
508
 
TRANSPORT_LOAD
509
 
TRANSPORT_INIT
510
 
NATIVE_METHOD
511
 
INVALID_COUNT
512
 
VM_DEAD
112
 
INVALID_MONITOR
50
 
OUT_OF_MEMORY
110
 
INVALID_SLOT
35
 
INVALID_CLASS_FORMAT
60
 
INVALID_THREAD
10
 
INTERRUPT
52
 
NOT_MONITOR_OWNER
51
 
CIRCULAR_CLASS_DEFINITION
61
 
ACCESS_DENIED
111
 
INVALID_FIELDID
25
 
TYPE_MISMATCH
34
 
OPAQUE_FRAME
32
 
CLASS_NOT_PREPARED
22
 
FAILS_VERIFICATION
62
 
INVALID_METHODID
23
 
INVALID_CLASS
21
 
INVALID_OBJECT
20
 
ADD_METHOD_NOT_IMPLEMENTED
63
 
NULL_POINTER
100
 
DUPLICATE
40
 
INVALID_FRAMEID
30
 
UNATTACHED_THREAD
115
 
THREAD_NOT_SUSPENDED
13
 
INVALID_LOCATION
24
 
INVALID_TYPESTATE
65
 
THREAD_SUSPENDED
14
 
ABSENT_INFORMATION
101
 
INVALID_THREAD_GROUP
11
 
INTERNAL
113
 
NONE
0
 
INVALID_PRIORITY
12
 
ILLEGAL_ARGUMENT
103
 
SCHEMA_CHANGE_NOT_IMPLEMENTED
64
 
INVALID_EVENT_TYPE
102
 
NOT_CURRENT_FRAME
33
 
NOT_IMPLEMENTED
99
 
NO_MORE_FRAMES
31
 
NOT_FOUND
41
 

 EventKind Constants
TABLE 50  –  EventKind Constants
VM_START
90
 
THREAD_DEATH
7
 
METHOD_EXIT
41
 
EXCEPTION_CATCH
30
 
USER_DEFINED
5
 
METHOD_ENTRY
40
 
VM_DEATH
99
 
CLASS_UNLOAD
9
 
CLASS_PREPARE
8
 
SINGLE_STEP
1
 
FIELD_MODIFICATION
21
 
CLASS_LOAD
10
 
THREAD_START
6
 
FRAME_POP
3
 
VM_INIT
90
 
BREAKPOINT
2
 
THREAD_END
7
 
FIELD_ACCESS
20
 
EXCEPTION
4
 
MIDLET_DEATH
100
 

 SuspendStatus Constants
TABLE 51  –  SuspendStatus Constants
SUSPEND_STATUS_SUSPENDED
0x1
 

 SuspendPolicy Constants
TABLE 52  –  SuspendPolicy Constants
NONE
0
Suspend no threads when this event is encountered.  
EVENT_THREAD
1
Suspend the event thread when this event is encountered.
ALL
2
Suspend all threads when this event is encountered.  

 


Contents Previous Next KDWP Specification
KVM Debug Wire Protocol, 1.0