I don't see it working for the following change: <html> <script> function foo() {
function a() { b(); } function b() { c(); } function c() { console.trace(); console.log(new Error().stack); as } a(); } window.eval("(" + foo.toString() + ")(); //@ sourceURL=foo.js"); </script> </html> http://codereview.chromium.org/3444011/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev