- 所有父级接口:
Event,Locatable,LocatableEvent,Mirror
- 所有已知的子接口:
AccessWatchpointEvent,ModificationWatchpointEvent
目标 VM 中的线程遇到字段触发事件的通知。
- 自从:
- 1.3
- 参见:
-
方法总结
在接口 com.sun.jdi.event.LocatableEvent 中声明的方法
thread在接口 com.sun.jdi.Mirror 中声明的方法
toString, virtualMachine
-
方法详情
-
field
Field field()返回即将被访问/修改的字段。- 返回:
-
a
Field镜像目标 VM 中的字段。 - 抛出:
ObjectCollectedException- 如果类已被垃圾回收,可能会抛出。
-
object
ObjectReference object()返回其字段将要被访问/修改的对象。返回 null 是对静态字段的访问。- 返回:
-
a
ObjectReference镜像目标 VM 中的事件对象。
-
valueCurrent
Value valueCurrent()字段的当前值。- 抛出:
ObjectCollectedException- 如果对象或类已被垃圾回收。
-