|
Java Debug Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WatchpointEvent
Notification of a field triggered event encountered by a thread in the target VM.
EventQueue
,
VirtualMachine
Method Summary | |
---|---|
Field |
field()
Returns the field that is about to be accessed/modified. |
ObjectReference |
object()
Returns the object whose field is about to be accessed/modified. |
Value |
valueCurrent()
Current value of the field. |
Methods inherited from interface com.sun.jdi.event.LocatableEvent |
---|
thread |
Methods inherited from interface com.sun.jdi.event.Event |
---|
request |
Methods inherited from interface com.sun.jdi.Mirror |
---|
toString, virtualMachine |
Methods inherited from interface com.sun.jdi.Locatable |
---|
location |
Method Detail |
---|
Field field()
Field
which mirrors the field
in the target VM.
ObjectCollectedException
- may be thrown if class
has been garbage collected.ObjectReference object()
ObjectReference
which mirrors the event's
object in the target VM.Value valueCurrent()
ObjectCollectedException
- if object or class have been
garbage collected.
|
Java Debug Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |