Project

General

Profile

Actions

Feature #16815

closed

Implement Fiber#backtrace

Added by ioquatix (Samuel Williams) almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Target version:
-
[ruby-core:98049]

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) almost 4 years ago

  • Description updated (diff)

Use Thread#backtrace as example.

Updated by Eregon (Benoit Daloze) almost 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 ioquatix (Samuel Williams) almost 4 years ago

  • Assignee set to ioquatix (Samuel Williams)

Updated by ioquatix (Samuel Williams) over 3 years ago

  • Status changed from Open to Closed

Okay, it was merged.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0