Hello,
I wanted to insert two assembly stepping buttons between the standard debug stepping buttons but I am unable to do so.
I added a contribution with a path:
<menuContribution
locationURI="toolbar:org.eclipse.debug.ui.main.toolbar?before=stepOverGroup">
<command
commandId="myId"
The button is added to the correct toolbar but it is not inserted at the right position. ( the green stepping arrow).

It does work well when I try to insert them in the main menu as well as in the debug view toolbar.


I see that in the plugin.xml “org.eclipse.debug.ui” the toolbar groups are defined properly to allows contributions between the buttons:
<toolbar
id="org.eclipse.debug.ui.main.toolbar"
label="%DebugActionSet.label">
<separator
name="breakpointGroup"
visible="true">
</separator>
<separator
name="threadGroup"
visible="true">
</separator>
<separator
name="stepGroup">
</separator>
<separator
name="stepIntoGroup">
</separator>
<separator
name="stepOverGroup">
</separator>
<separator
name="stepReturnGroup">
</separator>
<separator
name="emptyStepGroup">
But something is preventing my toolbars to appear at the right place.
Has anyone experienced similar problems?
Or, may be, my contribution is not the proper way to contribute to the main toolbar?
Could there be a different way to contribute to the main debug toolbar?
Thanks
Dobrin