如何禁用Xcode中的所有断点 [英] How to disable all breakpoints in Xcode

查看:209
本文介绍了如何禁用Xcode中的所有断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种简便的方法来禁用Xcode中的所有断点?我尝试过:

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


  • 突出显示所有断点

  • 单击停用

那不会禁用所有这些功能。我需要一次选择一个,然后取消选中该复选框。我想知道是否有一种简单的方法可以完全禁用它们。

That does not disable all of them. I need to select one at a time, and unmark the checkbox. I wonder if there is an easy way to disable a bunch of them altogether.

推荐答案

如果展开 Groups&中的>断点部分文件窗格中,您将找到另外两个子目录-项目断点全局断点。假设断点设置特定于您当前的项目,则您的断点将列在项目断点下。右键单击此目录,然后从上下文菜单中选择禁用断点,这将禁用项目的所有断点。

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.

这篇关于如何禁用Xcode中的所有断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆