ModificationWatchpointEvent (Java SE 25 & JDK 25)
Description: declaration: module: jdk.jdi, package: com.sun.jdi.event, interface: ModificationWatchpointEvent
Keywords: com.sun.jdi.event.ModificationWatchpointEvent interface

# Interface ModificationWatchpointEvent

All Superinterfaces:
  `Event, Locatable, LocatableEvent, Mirror, WatchpointEvent`

public interface ModificationWatchpointEvent extends WatchpointEvent
Notification of a field modification in the target VM.

Since:
  1.3
See Also:
  - `EventQueue`
  - `VirtualMachine`
  - `ModificationWatchpointRequest`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Value`
  `valueToBe()`
  Value that will be assigned to the field when the instruction completes.

  ### Methods declared in interface Event

  `request`

  ### Methods declared in interface Locatable

  `location`

  ### Methods declared in interface LocatableEvent

  `thread`

  ### Methods declared in interface Mirror

  `toString, virtualMachine`

  ### Methods declared in interface WatchpointEvent

  `field, object, valueCurrent`

- ## Method Details

  - ### valueToBe

    Value valueToBe()
    Value that will be assigned to the field when the instruction completes.