| Package | Description | 
|---|---|
| com.sun.jdi | This is the core package of the Java Debug
 Interface (JDI), it defines mirrors for values, types, and the target
 VirtualMachine itself - as well bootstrapping facilities. | 
| com.sun.jdi.event | This package defines JDI events and event processing. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ArrayReferenceProvides access to an array object and its components in the target VM. | 
| interface  | BooleanValueProvides access to a primitive  booleanvalue in
 the target VM. | 
| interface  | ByteValueProvides access to a primitive  bytevalue in the target VM. | 
| interface  | CharValueProvides access to a primitive  charvalue in
 the target VM. | 
| interface  | ClassLoaderReferenceA class loader object from the target VM. | 
| interface  | ClassObjectReferenceAn instance of java.lang.Class from the target VM. | 
| interface  | DoubleValueProvides access to a primitive  doublevalue in
 the target VM. | 
| interface  | FloatValueProvides access to a primitive  floatvalue in
 the target VM. | 
| interface  | IntegerValueProvides access to a primitive  intvalue in
 the target VM. | 
| interface  | LongValueProvides access to a primitive  longvalue in
 the target VM. | 
| interface  | ObjectReferenceAn object that currently exists in the target VM. | 
| interface  | PrimitiveValueThe value assigned to a field or variable of primitive type in a
 target VM. | 
| interface  | ShortValueProvides access to a primitive  shortvalue in
 the target VM. | 
| interface  | StringReferenceA string object from the target VM. | 
| interface  | ThreadGroupReferenceA thread group object from the target VM. | 
| interface  | ThreadReferenceA thread object from the target VM. | 
| interface  | VoidValueProvides access to a primitive  voidvalue in
 the target VM. | 
| Modifier and Type | Method and Description | 
|---|---|
| Value | ObjectReference. getValue(Field sig)Gets the value of a given instance or static field in this object. | 
| Value | ReferenceType. getValue(Field field) | 
| Value | ArrayReference. getValue(int index)Returns an array component value. | 
| Value | StackFrame. getValue(LocalVariable variable)Gets the  Valueof aLocalVariablein this frame. | 
| Value | ObjectReference. invokeMethod(ThreadReference thread,
            Method method,
            List<? extends Value> arguments,
            int options)Invokes the specified  Methodon this object in the
 target VM. | 
| default Value | InterfaceType. invokeMethod(ThreadReference thread,
            Method method,
            List<? extends Value> arguments,
            int options)Invokes the specified static  Methodin the
 target VM. | 
| Value | ClassType. invokeMethod(ThreadReference thread,
            Method method,
            List<? extends Value> arguments,
            int options)Invokes the specified static  Methodin the
 target VM. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Value> | StackFrame. getArgumentValues()Returns the values of all arguments in this frame. | 
| List<Value> | ArrayReference. getValues()Returns all of the components in this array. | 
| List<Value> | ArrayReference. getValues(int index,
         int length)Returns a range of array components. | 
| Map<Field,Value> | ObjectReference. getValues(List<? extends Field> fields)Gets the value of multiple instance and/or static fields in this object. | 
| Map<Field,Value> | ReferenceType. getValues(List<? extends Field> fields) | 
| Map<LocalVariable,Value> | StackFrame. getValues(List<? extends LocalVariable> variables)Returns the values of multiple local variables in this frame. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ThreadReference. forceEarlyReturn(Value value)Force a method to return before it reaches a return
 statement. | 
| void | ObjectReference. setValue(Field field,
        Value value)Sets the value of a given instance or static field in this object. | 
| void | ClassType. setValue(Field field,
        Value value)Assigns a value to a static field. | 
| void | ArrayReference. setValue(int index,
        Value value)Replaces an array component with another value. | 
| void | StackFrame. setValue(LocalVariable variable,
        Value value)Sets the  Valueof aLocalVariablein this frame. | 
| Modifier and Type | Method and Description | 
|---|---|
| Value | ObjectReference. invokeMethod(ThreadReference thread,
            Method method,
            List<? extends Value> arguments,
            int options)Invokes the specified  Methodon this object in the
 target VM. | 
| default Value | InterfaceType. invokeMethod(ThreadReference thread,
            Method method,
            List<? extends Value> arguments,
            int options)Invokes the specified static  Methodin the
 target VM. | 
| Value | ClassType. invokeMethod(ThreadReference thread,
            Method method,
            List<? extends Value> arguments,
            int options)Invokes the specified static  Methodin the
 target VM. | 
| ObjectReference | ClassType. newInstance(ThreadReference thread,
           Method method,
           List<? extends Value> arguments,
           int options)Constructs a new instance of this type, using
 the given constructor  Methodin the
 target VM. | 
| void | ArrayReference. setValues(int index,
         List<? extends Value> values,
         int srcIndex,
         int length)Replaces a range of array components with other values. | 
| void | ArrayReference. setValues(List<? extends Value> values)Replaces all array components with other values. | 
| Modifier and Type | Method and Description | 
|---|---|
| Value | MethodExitEvent. returnValue()Returns the value that the method will return. | 
| Value | WatchpointEvent. valueCurrent()Current value of the field. | 
| Value | ModificationWatchpointEvent. valueToBe()Value that will be assigned to the field when the instruction
 completes. | 
 Copyright © 1999, 2017, Oracle and/or its affiliates.  All rights reserved.