Xcode + remove all breakpoints

Solution 1:

Well there's a 3 step way:

  1. Press CMD(⌘)+7 to show all breakpoints. In Xcode4 press CMD(⌘)+6, in Xcode3 press CMD(⌘)+ALT+B.
  2. Select all breakpoints with CMD(⌘)+A and delete them, like deleting text, with backspace.
  3. There's no step 3 :)

Solution 2:

Its very easy to do in new Xcode. Just click on breakpoints Tab then select all then delete.

Xcode 10 Screenshot:

enter image description here

Old Xcode Screenshot:

enter image description here tap. See attach image for clear reference.


Solution 3:

In Xcode, you can also do by right clicking the project name on the breakpoints tab and then you can see the options for deleting all breakpoints including disabling and sharing breakpoints.

enter image description here

Solution 4:

In Xcode 4, in the debugger console, type "breakpoint delete" or "br del" for short:

(lldb) br del
About to delete all breakpoints, do you want to do that?: [Y/n] y
All breakpoints removed. (1 breakpoints)
(lldb) 

You can't rely on the GUI breakpoint list, since nothing you enter from the command line will show up there.