-
- All Superinterfaces:
-
EventRequest
,Mirror
,WatchpointRequest
public interface AccessWatchpointRequest extends WatchpointRequest
在目标虚拟机中访问字段的内容时请求通知。 当Java编程语言代码或Java Native Interface(JNI)获取函数(Get<Type>Field, GetStatic<Type>Field
)访问指定的字段时,将触发此事件。 JDI的访问不会触发此事件。 当开启了AccessWatchpointRequest被满足,一个event set
含有AccessWatchpointEvent
将被放置在EventQueue
。 现有ExceptionRequests的收集是由管理EventRequestManager
现有观察点的集合是由管理EventRequestManager
。请注意,字段的修改不被视为访问。
- 从以下版本开始:
- 1.3
- 另请参见:
-
ModificationWatchpointRequest
,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
-
-