How to delete breakpoints in XCode

纵饮孤独 提交于 2019-12-18 12:47:44

问题


I go to Breakpoints panel in XCode, in the 'Breakpoints' I click a breakpoint and click 'Delete', but it does not remove the breakpoint. And I try go to go to 'Project Breakpoints' and find the same breakpoint and click 'Delete'. But it still does not break the breakpoint.


回答1:


Drag them out of the bar on the side and they will disappear.

You can also press the shortcut +\ while your cursor is on the line, or press with the breakpoint selected in the navigator:




回答2:


Also try +\ to toggle the breakpoint at the current line.




回答3:


You can also right-click on it and select the "Delete" menu.



来源:https://stackoverflow.com/questions/1353759/how-to-delete-breakpoints-in-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!