Javascript debugging: stop / break on every javascript call

I am dealing with a complex javascript code base and it is hard to figure out where to put a breakpoint (I have to find the files, put a breakpoint in firebug, etc.).

Is there a way for Firebug to crash the first time javascript is run that it encounters every time?

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

Of course, I don't want Firebug to stop when it runs its internal javascript.

Is it possible?

+4
source share
1 answer

Yes, the last build has a [pause] button for it.

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

+2
source

Source: https://habr.com/ru/post/1307315/


All Articles