Is there any tool (free or not) that would profile the executed javascript code paths? The problem is this :
I have a button click event that somehow, somewhere is attached to a button (nt my code, cant find what is attached where), I just want to be able to find the executed javascript after a the button is clicked, or find the function that is being called and put a break point in it and then step trough if I have to ( that is if there is no way to make a list of function that being called and the arguments that they are being called with).
I have looked at this post but it just gave me the event being fired and not the attached function being called nor which javascript file or function is being attached to that event as a listener.
I have tried using chrome developer tool profiler, but that too seems to only care about the long running functions rather than a executable path that was executed.
Thank to Belgi, this link was also of help https://developers.google.com/web/tools/chrome-devtools/debug/breakpoints/add-breakpoints?hl=en#events