How to disable all breakpoints in Xcode

前端 未结 6 1758
北海茫月
北海茫月 2020-12-20 11:44

Is there an easy way to disable all breakpoints in Xcode? I tried:

  • highlight all breakpoints
  • click \'Deactivate\'

That does not disable

相关标签:
6条回答
  • 2020-12-20 11:46

    Xcode 10

    The most easiest way is to do ⌘ + y to disable enable breakpoints .

    There is another way

    go to Xcode project navigations pane

    Click on show Breakpoint navigator

    Right click on the project file and select disable all break points

    0 讨论(0)
  • 2020-12-20 11:56

    With +Y you can enable or disable all of them.
    With +7 you can actually see all of them.

    In the previous Xcode versions,it is +6

    Other useful shortcuts:

    http://www.1729.us/xcode/Xcode%20Shortcuts.pdf
    https://web.archive.org/web/20120518183100/https://pragmaticstudio.com/media/Xcode4Shortcuts.pdf

    0 讨论(0)
  • 2020-12-20 11:59

    If you expand the Breakpoints section in the Groups & Files pane, you'll find two further subdirectories - Project Breakpoints and Global Breakpoints. Assuming that the breakpoints set are specific to your current project, your breakpoints will be listed under Project Breakpoints. Right click on this directory and select Disable Breakpoints from the context menu, which will disable all the breakpoints for your project.

    0 讨论(0)
  • 2020-12-20 11:59

    Useful shortcut is "command y" to disable all the break point. You can toggle this command to disable/enable all breakpoints. This is for Xcode 4.x version.

    0 讨论(0)
  • 2020-12-20 12:09

    You've gotta select 'em on the left under "Groups and files" (there should be a Breakpoints entry in the tree). Then you can right click and enable/disable from there. More info here.

    0 讨论(0)
  • 2020-12-20 12:13

    enter image description here

    enter image description here

    From xcode 5.0 you can enable or disable all breakpoints in this fashion

    0 讨论(0)
提交回复
热议问题