what javascript code is executed on event?

25 views
Skip to first unread message

Francesco Romeo

unread,
Feb 25, 2014, 7:24:57 AM2/25/14
to fir...@googlegroups.com
Hi is there a way to see what javascript code is executed on event?

For example i have the firebug console opened and i clic in the page, some javascript is executed.
Is there a way to see what code is being executed without attach a breakpoint to that code?

it could be usefoul for me to understand faster what code is called on a certain action!

thank you!

Jan Honza Odvarko

unread,
Feb 25, 2014, 7:43:40 AM2/25/14
to fir...@googlegroups.com
1) Select the Script panel (enable it, reload the page)
2) Activate "Break On Next" feature (a button far left in the Firebug toolbar, orange pause button)
3) Click in the page. The debugger should hit the first executed instruction

See also
https://getfirebug.com/wiki/index.php/Script_Panel#Break_On_Next

Honza
Reply all
Reply to author
Forward
0 new messages