开发者

Javascript debugging: stopping/breaking at every javascript invocation

开发者 https://www.devze.com 2022-12-27 02:57 出处:网络
I am dealing with a complex legacy javascript code base, and it\'s difficult to figure out where to put breakpoint (I have to find the files, put a breakpoint in firebug etc).开发者_运维技巧

I am dealing with a complex legacy javascript code base, and it's difficult to figure out where to put breakpoint (I have to find the files, put a breakpoint in firebug etc).开发者_运维技巧

Is there a way so that Firebug breaks on the first javascript execution that it encounters every time?

In other words, every time I click on something on the page, and if a javascript code is executed, I want Firebug to break on that line?

Of course I don't want Firebug to stop when it executes it's internal javascript.

Is this possible?


Yes, The latest build has a [pause] button for it.

You can read more about it here : http://getfirebug.com/doc/breakpoints/demo.html#suspend

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号