javascript - 从 chrome 中删除所有断点

标签 javascript debugging google-chrome breakpoints google-chrome-devtools

我在 Chrome 的 Javascript 开发者工具中启用了一些断点,现在我无法删除它们。
每当我切换到 Developer View 时,我总是遇到一个非常烦人的断点。
奇怪的是,在某些情况下我没有在它停止的地方放置任何断点。这是一个完全不同的代码。
如何删除所有断点?

最佳答案

听起来您已经告诉 Chrome 在遇到所有异常时中断。在源选项卡的左下角,有一系列按钮:

Screenshot of Chrome's bottom-left tools with break-on-exceptions button circled

我圈出的那个(带有两条垂直线的实心六边形)在所有异常中断、仅未捕获异常中断和根本不中断之间循环。单击它直到它变成黑色(不是蓝色或紫色)。

对于其他断点,它们位于“断点”类别下的右侧(您可能知道 :-))。右键单击并选择“删除所有断点”。

关于javascript - 从 chrome 中删除所有断点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18073062/

相关文章:

css - Chrome 是否有设置 :visited css properties? 的问题

javascript - 如何在 Fancybox 3.5 中使用粘性 CSS

javascript - React.JS中独立组件之间如何通信?

c++ - 这段代码有什么问题?它在第二个 cin 可以执行之前终止

python - 在 Python 中的另一个函数中获取调用者函数名称?

javascript - Chrome 扩展 : Open tab without popup

javascript - 使用 _gaq.push() 设置 Google Analytics 自定义维度

javascript - 如何使用 Jquery 将元素设置为变量的值

jquery - 为什么我在 html 中的文本后得到黑色间隔符?

html - :target selector on dynamic generated element not affect