When using the Eclipse debugger, is there any way to see the value
that was just returned (or is about to be returned) from a method?
If you set your breakpoint correctly, you should see all the variables
in scope showing up in the Variables subwindow at that breakpoint.
Stepping through the code can give you an idea of how the state
changes and one of those variables could very well be the one that the
method is returning. I hope this answers your question. Make sure you
are in the debug perspective in eclipse (Window->Open Perspective-
Debug) or you'd not be able to see the Variables window.
-cheers,
Manish