Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • the particular line of interest can be many... If I have same method called several times from another method, how can I know (in that other method) where did the call arrive from? Commented Aug 27, 2009 at 14:15
  • You are not going to be able to analyze JavaScript interpretation at execution time from outside the interpreter. You could write a program to trace the execution path in your program, but it would be that program that is executing and not the code that you wish to analyze. This is typically a complicated task that is performed manually with the help of tools. If you really want to see what is happening in your code as it executes then have it write meta-data to the screen that tells you want decisions are executing which other parts. Commented Aug 27, 2009 at 15:19