- 
- All Superinterfaces:
- Event,- Locatable,- LocatableEvent,- Mirror
 - All Known Subinterfaces:
- AccessWatchpointEvent,- ModificationWatchpointEvent
 
 public interface WatchpointEvent extends LocatableEvent Notification of a field triggered event encountered by a thread in the target VM.- Since:
- 1.3
- See Also:
- EventQueue,- VirtualMachine
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Fieldfield()Returns the field that is about to be accessed/modified.ObjectReferenceobject()Returns the object whose field is about to be accessed/modified.ValuevalueCurrent()Current value of the field.- 
Methods declared in interface com.sun.jdi.event.LocatableEventthread
 - 
Methods declared in interface com.sun.jdi.MirrortoString, virtualMachine
 
- 
 
- 
- 
- 
Method Detail- 
fieldField field() Returns the field that is about to be accessed/modified.- Returns:
- a Fieldwhich mirrors the field in the target VM.
- Throws:
- ObjectCollectedException- may be thrown if class has been garbage collected.
 
 - 
objectObjectReference object() Returns the object whose field is about to be accessed/modified. Return null is the access is to a static field.- Returns:
- a ObjectReferencewhich mirrors the event's object in the target VM.
 
 - 
valueCurrentValue valueCurrent() Current value of the field.- Throws:
- ObjectCollectedException- if object or class have been garbage collected.
 
 
- 
 
-