public interface

WatchpointEvent

implements LocatableEvent
com.sun.jdi.event.WatchpointEvent
Known Indirect Subclasses

Class Overview

Notification of a field triggered event encountered by a thread in the target VM.

Summary

Public Methods
abstract Field field()
Returns the field that is about to be accessed/modified.
abstract ObjectReference object()
Returns the object whose field is about to be accessed/modified.
abstract Value valueCurrent()
Current value of the field.
[Expand]
Inherited Methods
From interface com.sun.jdi.Locatable
From interface com.sun.jdi.Mirror
From interface com.sun.jdi.event.Event
From interface com.sun.jdi.event.LocatableEvent

Public Methods

public abstract Field field ()

Returns the field that is about to be accessed/modified.

Returns
  • a Field which mirrors the field in the target VM.
Throws
ObjectCollectedException may be thrown if class has been garbage collected.

public abstract ObjectReference object ()

Returns the object whose field is about to be accessed/modified. Return null is the access is to a static field.

Returns

public abstract Value valueCurrent ()

Current value of the field.

Throws
ObjectCollectedException if object or class have been garbage collected.