API to get stack frame info from generator

Brendan Eich brendan at mozilla.com
Sat Jun 22 08:29:47 PDT 2013


Bruno: cool, maybe we can build on this in SpiderMonkey too. Cc'ing 
Jason and Dave.

Cc'ing Arv in case he is reading es-discuss only sporadically.

/be

Mark S. Miller wrote:
> Excellent. This looks like the right kind of low level enabler. Thanks!
>
>
> On Sat, Jun 22, 2013 at 3:01 AM, Bruno Jouhier <bjouhier at gmail.com 
> <mailto:bjouhier at gmail.com>> wrote:
>
>     For info, I've created a small node.js add-on that exposes a
>     getStackFrame(generator) function:
>     https://github.com/bjouhier/galaxy-stack.
>     With this I could implement long stacktrace in my "galaxy" module;
>
>     Temporary hack but it's there for experiments until the API gets
>     sorted out.
>
>
>
>
> -- 
>     Cheers,
>     --MarkM
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss


More information about the es-discuss mailing list