Toggle Watchpoint

Select the Toggle Watchpoint command [ Toggle Watchpoint ] to create a new watchpoint on the selected field in either the editor or the Outline View.

Note that you cannot set a watchpoint on a final or a static final field; if you try to do so you will get a line breakpoint instead.

Related concepts

Debugger
Local Debugging
Remote Debugging

Related tasks

Evaluating expressions
Running and Debugging
Connecting to a remote VM with the Remote Java application launch configuration
Line breakpoints
Setting method breakpoints
Catching exceptions

Related Reference

Java Editor
Run Menu
Breakpoints View
Add Java Exception Breakpoint
Add Class Load Breakpoint
Toggle Breakpoint
Toggle Line Breakpoint
Toggle Method Breakpoint