'Safari Developer menu - show executed JS on event

Is there a way in the Safari Developer menu to show triggered/executed JS functions/code on events on a web page (for instance a button is clicked)?



Solution 1:[1]

Yes, it posible, first you have to enable the Inspect Element:

here a tutorial:

  1. Choose Safari > Preferences, and click Advanced.

  2. At the bottom of the pane, select the “Show Develop menu in menu bar” checkbox.

enter image description here

then open the Inspect Element and go to the 'Sources' tab

enter image description here

here you will see the Breakpoints and start play.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1