I've got a HashMap. Looking at in the Eclipse Expressions view, it looks like so:
- "tableMap" = LinkedHashMap<K,V> (id=26)
+  LinkedHashMap$Entry<K,V> (id=43)
+  LinkedHashMap$Entry<K,V> (id=47)
So at that point it is initialized.Then later it gets modified. My problem is that I can't find where this modification is happening. I would like to set a breakpoint such that the code stops when this map is written to, but I can't see how to do that.
Is there a way?
I've asked a very similar question before here:
but never resolved it.
One thing that is different here is that I want to see when it changes, but don't know what it is changing to (and it doesn't really matter what is changing, just when). Also, the data within the map is changing, not the map reference itself.
To set a watch point, select a variable in the 'Outline' view in the 'Debug' perspective. Right click the variable, and press 'Toggle Watchpoint'. But I don't get the "Toggle Watchpoint" point when right-clicking on the variable. I do get it for variables that are of a Class, but not this map.