BreakpointScript A very simple proof of concept for running a script when hitting a breakpoint in Xcode. Setup Run this command chmod u+x test.sh in terminal at same level as the script. Add script breakpoint with path $(SRCROOT)/test.sh.