Paul Paul - 2 years ago 177
Javascript Question

profiling anonymous javascript functions (chrome)

when performance profiling in chrome anonymous high-use functions are difficult to trouble-shoot when they are listed at the root of the call tree. is there a way to determine where an anonymous function was first instantiated?

Answer Source

Probably the easiest way is to put a console.trace() in your function.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download