vs-debug-single-thread
vs-debug-single-thread copied to clipboard
How do I move the toolbar buttons to the Debug toolbar?
I find these buttons very useful, but I'd rather have them on my Debug toolbar instead of the Standard Toolbar, however I don't see the two commands FocusOnCurrentThreadCmd and SwitchToNextThreadCmd anywhere in the Toolbar editor command-picker.


It should be possible to change the location of the buttons in the DebugSingleThread.vsct file. In particular the following which says the buttons are in their own group on the main toolbar:
<Groups>
<Group guid="guidDebugSingleThreadCmdSet" id="guidDebugSingleThreadMenuGroup" priority="0x0901">
<Parent guid="guidSHLMainMenu" id="IDM_VS_TOOL_STANDARD" />
</Group>
</Groups>
It'd make sense to put the button in the Debug toolbar indeed. Can you check and submit a PR (might just take changing a single line of code)? Otherwise I'll try to look into it next time I work on the extension.
I'll take a look at it, sure.
I'd like to know why the commands don't appear in the Add Command picker though...
This might be due to the way the commands are exposed by the extension (it is a lightweight add-in). Not sure.