API to get stack frame info from generator

Erik Arvidsson erik.arvidsson at gmail.com
Sat Jun 22 11:54:52 PDT 2013


Bruno, looks very useful. We should make sure that whatever stack API
we propose also allows you to get the stack frame for generator.

On Sat, Jun 22, 2013 at 11:29 AM, Brendan Eich <brendan at mozilla.com> wrote:
> 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



-- 
erik


More information about the es-discuss mailing list