Yes: [1]https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi





c



On Thu, Mar 27, 2014, at 03:06 PM, Mark Miller wrote:

I wasn't aware that v8 does that. Is this format documented anywhere?



On Thu, Mar 27, 2014 at 2:23 PM, Christian Plesner Hansen
<[2][email protected]> wrote:

>     js> try { eval("eval('FAIL')"); } catch (x) { print(x.stack); }

>     @typein line 2 > eval line 1 > eval:1:1

>     @typein line 2 > eval:1:1

>     @typein:2:7



I'm unclear on what the problem is with nested evals -- you get

essentially the same information from v8:



js> try { eval("eval('FAIL')"); } catch (x) { console.log(x.stack); }

ReferenceError: FAIL is not defined

    at eval (eval at <anonymous> (eval at <anonymous> (repl:1:7)),

    <anonymous>:1:1)

    at eval (eval at <anonymous> (repl:1:7), <anonymous>:1:1)

    at repl:1:7





c
_______________________________________________
es-discuss mailing list
[3][email protected]
[4]https://mail.mozilla.org/listinfo/es-discuss




--
Text by me above is hereby placed in the public domain

  Cheers,
  --MarkM

_______________________________________________

es-discuss mailing list

[5][email protected]

[6]https://mail.mozilla.org/listinfo/es-discuss

References

1. https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi
2. mailto:[email protected]
3. mailto:[email protected]
4. https://mail.mozilla.org/listinfo/es-discuss
5. mailto:[email protected]
6. https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to