Reputation: 1102
I am using Java Eclipse, and when I want to "run to line" in the debugger, I need to right-click on the line I want to run to, and select "Run to Line". Is it possible to add a "Run to Line" button near the other debug buttons (i.e. near "Step Into" and "Step Over")? In Visual Studio, this button is called "Run to Cursor."
Upvotes: 1
Views: 1304
Reputation: 34135
Yes, this is possible. To show the Run to Line button in the main toolbar, do the following:
In addition, the Run to Line command is also accessible via the shortcut Ctrl+R and via Quick Access (Ctrl+3).
Upvotes: 5