Actions
Feature #16815
closedImplement Fiber#backtrace
Description
Previously discussed here: https://bugs.ruby-lang.org/issues/8215
Add a new method Fiber#backtrace
. It would produce a backtrace similar to how Thread#backtrace
works.
Updated by ioquatix (Samuel Williams) over 4 years ago
- Description updated (diff)
Use Thread#backtrace
as example.
Updated by Eregon (Benoit Daloze) over 4 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.
Updated by matz (Yukihiro Matsumoto) over 4 years ago
Accepted.
Matz.
Updated by ioquatix (Samuel Williams) over 4 years ago
- Assignee set to ioquatix (Samuel Williams)
Updated by ioquatix (Samuel Williams) about 4 years ago
Updated by ioquatix (Samuel Williams) about 4 years ago
- Status changed from Open to Closed
Okay, it was merged.
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0