Home » Java » Eclipse Juno No Debug Toolbar?

Eclipse Juno No Debug Toolbar?

Posted by: admin November 30, 2017 Leave a comment

Questions:

I just upgraded to Eclipse Juno but I found there is no debug toolbar (Resume/Step into/Step over/Stop etc.) in Debug perspective?? How can I find the toolbar back? Thanks!

enter image description here

In the previous version:

enter image description here

Answers:

Here’s where you find the menu to turn it back on:
juno enable debug toolbar

Questions:
Answers:

From the Juno documentation:

To improve the presentation of the Debug perspective, the common debug
control commands (Stop, Resume, etc.) have been moved out of the Debug
view and into the global toolbar.

The global toolbar can be customized with the Window > Customize
Perspective… action to add or remove debugging commands, or to
show/hide the debug toolbar completely.

Old toolbar behavior can be restored by first toggling the Show Debug
Toolbar option in the Debug view’s menu, then by disabling the Debug
toolbar from the Customize Perspective dialog.

Global Toolbar
Show Debug Toolbar

Questions:
Answers:

Since a month or so ago in Juno and now Kepler, my global menu was missing the debug buttons and wouldn’t apply or save changes from Customize Perspective. broc.seib’s workaround worked, but I wanted to fix the actual problem. I found the file to be stored at workspace/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml. Deleting (or renaming) the file reset my perspectives and fixed the issue with changes not saving. However, the file apparently doesn’t get recreated, so I assume Kepler saves it somewhere else and only read the old one for backward compatibility; correct me if I’m wrong.

Questions:
Answers:

Another way to enable the debug icons in the toolbar is to select Window -> Perspective -> Customize Perspective (or right click on the Perspective icon and select Customize). Then in the new pop-up window select Action Set Availability tab > enable Debug in the list on the left hand-side.

Once you do the above, right click on the Debug perspective icon -> Save As… -> name Debug, click save, OK to overwrite.

enter image description here

Questions:
Answers:

In Debug window there is this drop down menu (indicated by small rectangle) check the option “Show Debug Toolbar”, that was the problem in my case

Questions:
Answers:

Make sure they’re checked in the ‘Customize Perspective’ dialog under toolbar visibility and Command Groups Availability.

Questions:
Answers:

After a (re)search I’ve finally realized that this option (run\debug actions toolbar) was simply non-existant in Eclipse Helios. The most similar configuration for me was to

a. separate Debug view from other tabs
b. dock it above all other debug panels (Variables, Console, whatever
c. minimise it’s size to leave only the header with title and actions toolbar

I am posting it here instead of asking the same question about Eclipse Helios with the obvious “not such thing” answer. Hope it helps the next user of older Eclipse versions passing by.

Questions:
Answers:

In case of Kepler eclipse version, debug toolbar can be made visible using Eclipse->Window->Show Toolbar

Questions:
Answers:

start eclipse with -clean flag, this works for me when upgrading from oxygen.0=>oxygen.1

Questions:
Answers:

Before was not possible to see debug tool bar, after

 Window->Reset Perpective

was possible to show it again