Getting stack trace between fibers

Fabio Tudone fabtud at
Wed Oct 31 14:04:10 UTC 2018

On Tue, Oct 30, 2018 at 10:23 PM Ron Pressler <ron.pressler at>

I had originally thought of providing a getStackTrace method on
> Continuation, but there are concurrency issues that
> we don’t want to handle at the continuation level. Instead, this will
> likely be implemented in Fiber, in a similar way
> to how it’s done in Quasar: by temporarily mounting the continuation on
> the current thread (preventing concurrent
> mounts, and then obtaining the stack trace).

Likely a silly question due to ignorance but isn't the information already
present in the (frozen) fiber(/continuation) enough to produce a stack
trace without requiring a mount? Perhaps it depends on the definition of a
fiber's stack trace (especially in the unmounted case)?

-- Fabio

More information about the loom-dev mailing list