Touch Bar support for Debugging - Xcode 11.5

Can anyone help and provide guidance on how to add debug buttons to the Touch Bar?


According to the Help text, it should be possible to customize teh Touch Bar, but I am unable to get this to work at all. The options shown when I View -> Customize Touch Bar are very limited, and do not give me options to add Debug related buttons.


Thanks.


CUSTOMIZE XCODE

Customize the Touch Bar controls

Customize the Touch Bar controls for the source editor, Playground editor, Interface Builder, view debugger, and memory graph debugger.

  1. Open the desired editor or debugger.
  2. Choose View > Customize Touch Bar.
  3. Add, rearrange, or remove a button in the Touch Bar.Add a button: Drag a button from the screen to the Touch Bar; buttons in the Touch Bar jiggle slightly.Rearrange a button: On the Touch Bar, drag a button do the desired location.Remove a button: Drag a button from the Touch Bar to the screen.
  4. On the Touch Bar, tap Done.


Replies

Hi mettaman,

The debug button on your touch bar is visible only when you're on a debug mode. Launch your app and click on the 'pause program execution' button and you'll notice the apparition of the debug button in your touch bar.