Setting watches in Eclipse
by, 05-21-2011 at 11:55 PM (3041 Views)
Watch point is a special type of break point that suspends execution when specified filed is accessed or modified.
Setting a watchpoint is simple. First select a field in the Outline view and choose Toggle Watchpoint from its context menu.
Now you have to configure this watchpoint. This is done by selecting the watchpoint in the view and choose Properties from its context menu. Donít forget to configure the important properties which are: Access and Modification checkboxes. These determine which when the breakpoint can suspend execution.