Rain
Rain

Reputation: 601

How to know name of functions JavaScript has executed?

I received a JavaScript file and demo page .html, .js file contains many functions. When I run demo page I don't know what functions are running.

Is there any way to get name of the executed functions?

Upvotes: 0

Views: 160

Answers (1)

lostsource
lostsource

Reputation: 21830

You could load your page in Chrome and use JavaScript Profiling

https://developers.google.com/chrome-developer-tools/docs/cpu-profiling

enter image description here

Upvotes: 2

Related Questions