firebug 开启后断点反复触发
breakpoint triggers repeatedly after firebug opening
当我在一个站点上打开 firebug 时,我无法分析任何内容,因为每隔几秒就会在该行触发一个断点:
(function() {
(function a() {
try {
(function b(i) {
if (('' + (i / i)).length !== 1 || i % 20 === 0) {
(function() {}).constructor('debugger')();
} else {
debugger;
}
b(++i);
}(0))
} catch (e) {
setTimeout(a, 5000)
}
})()
})();
按钮 enable/disable breakpoints
不起作用。
我无法将其关闭。如何禁用它?
Firebug 是否允许通过在该行上创建禁用断点来打破这个恶性循环:
但是 Firebug is going away. So what you are actually seeing are probably the Firefox DevTools (using the Firebug theme) and those tools don't provide this feature yet. Therefore I've asked for it some time ago and there's also another related bug report.
另见 my answer to a very similar question。
当我在一个站点上打开 firebug 时,我无法分析任何内容,因为每隔几秒就会在该行触发一个断点:
(function() {
(function a() {
try {
(function b(i) {
if (('' + (i / i)).length !== 1 || i % 20 === 0) {
(function() {}).constructor('debugger')();
} else {
debugger;
}
b(++i);
}(0))
} catch (e) {
setTimeout(a, 5000)
}
})()
})();
按钮 enable/disable breakpoints
不起作用。
我无法将其关闭。如何禁用它?
Firebug 是否允许通过在该行上创建禁用断点来打破这个恶性循环:
但是 Firebug is going away. So what you are actually seeing are probably the Firefox DevTools (using the Firebug theme) and those tools don't provide this feature yet. Therefore I've asked for it some time ago and there's also another related bug report.
另见 my answer to a very similar question。