Answer the question
In order to leave comments, you need to log in
How to build a call tree for JavaScript?
I need to know the sequence of function calls. How can I do that?
To be more precise, I want to get the following functionality: I get all function call trees by the page address. If there are some implementations in ruby, then it’s very good.
Answer the question
In order to leave comments, you need to log in
Use the debugger built into the browser - stop the execution where necessary and look at the stack.
Alternatively, there is a special stacktrace.js library .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question