-
- All Superinterfaces:
-
EventRequest
,Mirror
,WatchpointRequest
public interface ModificationWatchpointRequest extends WatchpointRequest
设置字段时请求通知。 当使用Java编程语言语句(赋值,增量等)或Java Native Interface(JNI)集合函数(Set<Type>Field, SetStatic<Type>Field
)将值分配给指定的字段时,将触发此事件。 将字段设置为与先前值相同的值仍将触发此事件。 JDI修改不会触发此事件。 当开启了ModificationWatchpointRequest被满足,一个event set
含有ModificationWatchpointEvent
将被放置在EventQueue
。 现有观察点的收集由EventRequestManager
管理。- 从以下版本开始:
- 1.3
- 另请参见:
-
ModificationWatchpointEvent
,AccessWatchpointRequest
,EventQueue
,EventRequestManager
-
-
Field Summary
-
Fields inherited from interface com.sun.jdi.request.EventRequest
SUSPEND_ALL, SUSPEND_EVENT_THREAD, SUSPEND_NONE
-
-
方法摘要
-
Methods inherited from interface com.sun.jdi.request.EventRequest
addCountFilter, disable, enable, getProperty, isEnabled, putProperty, setEnabled, setSuspendPolicy, suspendPolicy
-
Methods inherited from interface com.sun.jdi.Mirror
toString, virtualMachine
-
Methods inherited from interface com.sun.jdi.request.WatchpointRequest
addClassExclusionFilter, addClassFilter, addClassFilter, addInstanceFilter, addThreadFilter, field
-
-