findFunctionName does not work with multiple functions on the same line #25

eriwen opened this Issue Jul 12, 2011 · 3 comments


None yet

2 participants

eriwen commented Jul 12, 2011

See "findFunctionName" unit test. Brief synopsis:

var a = function() {}, b = function() {};

Will always only capture a().


That's very unfortunate. :(

@eriwen eriwen added this to the Unscheduled milestone Oct 8, 2014
eriwen commented Nov 17, 2014

I believe this can be solved by using esprima perhaps. See stacktracejs/stacktrace-gps#5

eriwen commented Nov 29, 2014

Related: #44

@eriwen eriwen closed this Dec 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment