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.
|
com.sun.jdi.request |
This package is used to request that a JDI
event be sent under specified conditions.
|
Modifier and Type | Method and Description |
---|---|
Field |
ReferenceType.fieldByName(String fieldName)
Finds the visible
Field with the given
non-ambiguous name. |
Modifier and Type | Method and Description |
---|---|
List<Field> |
ReferenceType.allFields()
Returns a list containing each
Field declared in this type,
and its superclasses, implemented interfaces, and/or superinterfaces. |
List<Field> |
ReferenceType.fields()
Returns a list containing each
Field declared in this type. |
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)
|
List<Field> |
ReferenceType.visibleFields()
Returns a list containing each unhidden and unambiguous
Field
in this type. |
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)
|
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.
|
Modifier and Type | Method and Description |
---|---|
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)
|
Modifier and Type | Method and Description |
---|---|
Field |
WatchpointEvent.field()
Returns the field that is about to be accessed/modified.
|
Modifier and Type | Method and Description |
---|---|
Field |
WatchpointRequest.field()
Gets the Field being watched by this WatchpointRequest.
|
Modifier and Type | Method and Description |
---|---|
AccessWatchpointRequest |
EventRequestManager.createAccessWatchpointRequest(Field field)
Creates a new disabled watchpoint which watches accesses to the
specified field.
|
ModificationWatchpointRequest |
EventRequestManager.createModificationWatchpointRequest(Field field)
Creates a new disabled watchpoint which watches accesses to the
specified field.
|
Copyright © 1999, 2020, Oracle and/or its affiliates. All rights reserved.