I'm new to the Chrome developer app, and I found it to be very powerful. I'm currently looking for a way to track the flow of functions when opening a webpage, and also, I am wondering if there is a way how I can find which function launches the element when clicked. Here are some examples:
1) Trace sequence sequences: For example, in my script there are 20 functions. Some of the functions will call other functions. I would like to track function calls. Like which function is called first, and then which functions are called by the next function. Since these 20 functions are quite huge, it is quite difficult to follow the sequence just by looking at the script.
2) Which function launches an element in javascript: For example, I have one button on a web page, there is one or more functions associated with this element. Using the "Event Listener" tool for the Chrome developer, I can only see some DOM elements in "Click", and with what function it is associated.
Is there a way to find related functions?
I thank you for your help!
source share