Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anon functions name hinting through displayName property #23

Open
chillu opened this issue Jul 16, 2013 · 0 comments
Open

Anon functions name hinting through displayName property #23

chillu opened this issue Jul 16, 2013 · 0 comments

Comments

@chillu
Copy link
Contributor

chillu commented Jul 16, 2013

Its hard to debug entwine stacktraces because its wholly built on anonymous functions which don't hint their origin other than the filename in the trace view. At least in WebKit, this can be fixed by assigning a displayName attribute to the function object: http://www.alertdebugging.com/2009/04/29/building-a-better-javascript-profiler-with-webkit/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant