Actions
Feature #16815
closedImplement Fiber#backtrace
Feature #16815:
Implement 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 5 years ago
- Description updated (diff)
Use Thread#backtrace as example.
Updated by Eregon (Benoit Daloze) over 5 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 ko1 (Koichi Sasada) over 5 years ago
+1
Updated by matz (Yukihiro Matsumoto) over 5 years ago
Accepted.
Matz.
Updated by ioquatix (Samuel Williams) over 5 years ago
- Assignee set to ioquatix (Samuel Williams)
Updated by ioquatix (Samuel Williams) about 5 years ago
- Status changed from Open to Closed
Okay, it was merged.
Actions