profiling anonymous javascript functions (chrome)

google-chrome, javascript

Solution

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

Problem

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?

Original source