This feature was added to Eclipse version 4.7 M2 under Eclipse bug 40912.
To use it:
- step over the
return
statement (using “Step Over” or “Step Return”) - now the first line in the variable view will show the result of the return statement, as “[statement xxx] returned: “
See Eclipse Project Oxygen (4.7) M2 – New and Noteworthy for details.