Tuesday, 6 August 2013

How to debug functions which return values from a map in Eclipse?

How to debug functions which return values from a map in Eclipse?

I often have this debugging problem in Eclipse Java. For instance:
[code]
String value = getValue(key);
[/code]
But the getValue function simply performs a lookup in a map which is
initialized somewhere. After I "step into" the map, I can't continue
further to dig into how the map is populated and possibly how it's changed
along the way. Is there a trick that allows me to keep track the full
stack of the logic, instead of independently debug the map's activities?
Thank you.

No comments:

Post a Comment