I am trying to track a change of a value using watchpoint in a Java program in Eclipse debugger. The class hierarchy is pretty complex and the value I am tracking is wrapped in
Eclipse can do that. Create a breakpoint, then go into the Debug perspective and into the "Breakpoints" view. Select the breakpoint and
There you can say enable "Conditional" and select "Suspend when value changes"
You then have to enter your value in the field below, in your case probably "minimum".
Edit:
I just tried that and it didn't work as expected, but I've found another solution that might work:
data breakpoints in java/eclipse
In summary: Create a breakpoint in the line where your field is defined, it will become a watchpoint. In the "Breakpoint Properties" you can specify it to only suspend on change (the symbol on the margin will be a pen), not on access (symbol will be a pair of glasses).