Previously discussed here: https://bugs.ruby-lang.org/issues/8215
Add a new method
Fiber#backtrace. It would produce a backtrace similar to how
Updated by Eregon (Benoit Daloze) over 2 years ago
I think this makes sense and can definitely be useful for debugging.
If called on a
Fiber of another
Thread, that might be slow on non-GIL implementations, but that's the same as
Thread#backtrace so I think not really an issue.