Eclipse supports conditional breakpoints which break at a particular line when the condition is true.
It also supports watchpoints which break immediately when a given variable is accessed/modified, regardless of the line that caused the modification.
How would I create a conditional watchpoint such that it breaks at whichever line a given variable is modified AND the condition is true?
For example: set a MODIFY watchpoint on a variable X so that it only breaks when X is set to a value > 1000
EDIT: Say a field can be changed from many different methods, potentially in different packages. One could conceivably create a conditional breakpoint at each of these locations to break when the condition is true. However, the number of places this variable is touched can be numerous and placing that make breakpoints is rather inefficient (from a human standpoint). An alternative is watchpoints which automatically breaks any time the field is modified, regardless of where it was modified from in code. However, I don't know of a way to only have watchpoints break when a condition is met.