How to set Eclipse watchpoint to activate when object/primitive changes?
问题 I'm trying to refactor some rather horrible code at the moment. It's passing around objects in a very convoluted manner I can't keep track of and apparently directly accessing primitives within the objects at some other location in the code. I'm trying to figure out how I can use the debugger to find out when/where an object I'm interested in is used after it gets passed into the confusing black box of code which passes these objects. What I would like is a way to set a watchpoints that