Like firebug for debugging javascript,
is there such a feature in eclipse? or do I need a plugin?
I believe that what you're looking for are "watch expressions". Just mark the piece of code in the source code view, right-click and select "Watch".