Search code examples
ios-ui-automation

Activate the Breakpoints in UI Automation Instrument for iOS


Is there a way of activating the Breakpoints in Xcode Instruments Automation after writing several scripts because it would seem that there are there but just inactive. I was wondering if I could debug my JS code from the Automation instruments without having the Application code in Xcode?

Thanks


Solution

  • The reason you see the breakpoint options when you right click in the gutter of the UI Automation script editor is because the whole editor pane is the code editor reused from Xcode. It's unfortunately confusing, as you've found out, but apparently that was a convenient way for them to do syntax highlighting and all that inside Instruments.