standardizing Error.stack or equivalent
Mark S. Miller
erights at google.com
Thu Mar 27 10:37:57 PDT 2014
Is this extended format documented anywhere?
On Thu, Mar 27, 2014 at 10:36 AM, Jason Orendorff <jason.orendorff at gmail.com
> wrote:
> On Thu, Mar 27, 2014 at 12:31 PM, Mark Miller <erights at gmail.com> wrote:
> > Mozillians, why did you add this extra information?
>
> Well... if the point of Error.stack is to provide diagnostic
> information for exceptions, for the purpose of debugging, this
> information is critical.
>
> Without this, eval() or Function() often won't appear on the stack
> anywhere. What we were doing before didn't reveal that eval or
> Function was involved at all. It was misleading and unhelpful.
>
> -j
>
--
Cheers,
--MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140327/fb650d64/attachment.html>
More information about the es-discuss
mailing list