Module jdk.jdi

Interface WatchpointEvent

    • Method Detail

      • field

        Field field()
        Returns the field that is about to be accessed/modified.
        a Field which mirrors the field in the target VM.
        ObjectCollectedException - may be thrown if class has been garbage collected.
      • object

        ObjectReference object()
        Returns the object whose field is about to be accessed/modified. Return null is the access is to a static field.
        a ObjectReference which mirrors the event's object in the target VM.
      • valueCurrent

        Value valueCurrent()
        Current value of the field.
        ObjectCollectedException - if object or class have been garbage collected.