Contents Previous Next

Chapter   3

ReferenceType Command Set


This command set is numbered (2) to match the equivalent JDWP command set.

 GetValues Command (6)

Returns the value of one or more static fields of the reference type. Each field must be a member of the reference 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 Data
TABLE 5  –  Structure of Out Data for GetValues Command
referenceTypeID
refType
The reference type ID. 
int
fields
The number of values to get 
Repeated fields times:
fieldID
fieldID
A field to get 

Reply Data
TABLE 6  –  Structure of Reply Data for GetValues Command
int
values
The number of values returned 
Repeated values times:
value
value
The field value 

 


Contents Previous Next KDWP Specification
KVM Debug Wire Protocol, 1.0