- 所有超级接口:
-
EventRequest
,Mirror
,WatchpointRequest
请求在字段被设置时进行通知。当使用Java编程语言语句(赋值、递增等)或通过Java本机接口(JNI)设置函数(
Set<Type>Field, SetStatic<Type>Field
)将值分配给指定字段时,将触发此事件。将字段设置为与先前值相同的值仍会触发此事件。通过JDI进行的修改不会触发此事件。当启用的ModificationWatchpointRequest被满足时,将在event set
中放置一个包含ModificationWatchpointEvent
的事件集合,该事件集合将放置在EventQueue
上。现有观察点的集合由EventRequestManager
管理。
- 自版本:
- 1.3
- 参见:
-
Field Summary
Fields declared in interface com.sun.jdi.request.EventRequest
SUSPEND_ALL, SUSPEND_EVENT_THREAD, SUSPEND_NONE
-
Method Summary
Methods declared in interface com.sun.jdi.request.EventRequest
addCountFilter, disable, enable, getProperty, isEnabled, putProperty, setEnabled, setSuspendPolicy, suspendPolicy
Methods declared in interface com.sun.jdi.Mirror
toString, virtualMachine
Methods declared in interface com.sun.jdi.request.WatchpointRequest
addClassExclusionFilter, addClassFilter, addClassFilter, addInstanceFilter, addThreadFilter, field