Like firebug for debugging javascript,
is there such a feature in eclipse? or do I need a plugin?
you can use the 'Display' view to evaluate expressions in eclipse.
Look under the debug list of views. It is a standard par part of the java tooling so you don't need a plugin