Like firebug for debugging javascript,
is there such a feature in eclipse? or do I need a plugin?
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".
You can use the Display view to execute commands while debugging. You can find this in Window -> Show View -> Display
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
Use the Display view, or a bit quicker: highlight the code you want to run and right-click/Execute or Ctrl+U.
You can also create a scrapbook page (a .jpage) file and type your code in there. Then click run. It looked slightly more convenient when I tried it.