• Tracking Javascript function calls
    5 replies, posted
The title is self-explanatory. I'd like to know how to track the number of calls of a function and the source of the calls. Any help would be greatly appreciated!
[QUOTE=livelonger12;28480250]The title is self-explanatory. I'd like to know how to track the number of calls of a function and the source of the calls. Any help would be greatly appreciated![/QUOTE] IE9's Developers Tools includes a profiler that will track Javascript function calls.
[QUOTE=deadeye536;28480975]IE9's Developers Tools includes a profiler that will track Javascript function calls.[/QUOTE] Thanks, but I was searching for built-in JS methods that would allow for a means whereby function calls/and their sources can be tracked.
check out [url=http://sinonjs.org/]Sinon.js[/url]
[QUOTE=OhaiBBQ;28483504]check out [url=http://sinonjs.org/]Sinon.js[/url][/QUOTE] Thanks, but I was hoping for a pre-defined JavaScript method (or set of) to achieve this.
[QUOTE=livelonger12;28512988]Thanks, but I was hoping for a [highlight]pre-defined[/highlight] JavaScript method (or set of) to achieve this.[/QUOTE] Nope.
Sorry, you need to Log In to post a reply to this thread.