standardizing Error.stack or equivalent

Mark S. Miller erights at google.com
Tue Mar 25 11:43:58 PDT 2014


Hi John, see also my message at <
https://mail.mozilla.org/pipermail/es-discuss/2014-March/036642.html> which
cites some of your work on sourcemaps.


On Tue, Mar 25, 2014 at 11:25 AM, Rick Waldron <waldron.rick at gmail.com>wrote:

>
>
>
> On Tue, Mar 25, 2014 at 1:38 PM, John Lenz <concavelenz at gmail.com> wrote:
>
>> I was recently modifying some code to be strict mode compliant and it
>> reminded me that the primary use of the Function caller property and
>> arguments.caller is to build stack traces.   Now the latest Internet
>> Explorer releases have support for stack traces, as of course do Chrome,
>> FF, and Safari but only Chrome/V8, to my knowledge, has an actual API.
>>
>> I know there was some initial work in this area and nothing is likely to
>> happen in the ES6 time frame but can something to be done to make the
>> stacks traces more usable?
>>
>
> Take a look at the work Erik Arvidsson has done so far:
>
> http://wiki.ecmascript.org/doku.php?id=strawman:error_stack
>
>
> Rick
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140325/4b44090c/attachment.html>


More information about the es-discuss mailing list