This content has been marked as final. Show 4 replies
Watchpoint events contain the thread that accessed the field.
However, JDI does not support watchpoints on local variables.
Other than dealing with Watchpoints What does event.getField().declaringType().classObject().owningThread()
point to ? because it always holds the value null.
event.getField() returns the Field instance
Please check out the doc here: