相关疑难解决方法(0)

以编程方式停止Firebug中的JavaScript执行

我目前正在使用Firebug调试复杂的JavaScript代码.我正在寻找一种方法来停止JavaScript执行,就好像它是一个断断点编程.

例:

instructions ...
degugger.breakpoint(); // the execution stops here as if a breakpoint was
                       // manually set
other instructions ...
Run Code Online (Sandbox Code Playgroud)

javascript debugging firebug breakpoints

64
推荐指数
1
解决办法
3万
查看次数

标签 统计

breakpoints ×1

debugging ×1

firebug ×1

javascript ×1