Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to execute some function in eclipse while debugging a java program?

Like firebug for debugging javascript,

is there such a feature in eclipse? or do I need a plugin?

like image 683
omg Avatar asked Jun 04 '09 12:06

omg


People also ask

How do I run a program in Debug in Eclipse?

A Java program can be debugged simply by right clicking on the Java editor class file from Package explorer. Select Debug As → Java Application or use the shortcut Alt + Shift + D, J instead.


1 Answers

Use the Display view, or a bit quicker: highlight the code you want to run and right-click/Execute or Ctrl+U.

like image 174
banjollity Avatar answered Oct 01 '22 23:10

banjollity