Skip to content

Instantly share code, notes, and snippets.

@yhkaplan
Created August 4, 2021 09:03
Show Gist options
  • Save yhkaplan/aeceffabb8a92c68749740366999e775 to your computer and use it in GitHub Desktop.
Save yhkaplan/aeceffabb8a92c68749740366999e775 to your computer and use it in GitHub Desktop.
Selects and deletes all Xcode breakpoints. Makes for a useful checkout-hook
tell application "Xcode" to activate
tell application "System Events"
keystroke "8" using command down -- Show all breakpoints
keystroke "a" using command down -- Select all breakpoints
keystroke (ASCII character 127) -- Delete with backspace key
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment