Status: New Owner: ---- New issue 803 by bolinfest: //@ sourceURL should be used in JS stacktrace http://code.google.com/p/v8/issues/detail?id=803
If JavaScript that is loaded via eval() uses //@ sourceURL to provide an identifier for the source of the JS, then that identifier should be used in the JS stacktrace (rather than "<anonymous> (unknown source)" or whatever it is currently).
As explained here in the Closure Library bug list (http://code.google.com/p/closure-library/issues/detail?id=196), getting a proper stacktrace is critical for debugging obfuscated JS modules created using the Closure Compiler.
It appears that the other //@ sourceURL bugs filed against Webkit are with respect to the Developer Tools, so I'm not sure whether this needs to be fixed in Webkit or V8, though I suspect it is V8 in this case. If this is not the case, then let me know where I should be filing this bug, and I will happily do so.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
