
Issue #19850 has been updated by naruse (Yui NARUSE). To investigate when you want to investigate what causes a program hang... ## pid2line https://gist.github.com/nurse/0619b6af90df140508c2 It shows what threads are running or sleeping and where it is as C function name. In your case, it will show _connect. ## rbspy When it is running in infinite loop, rbspy will help where it is. https://rbspy.github.io/ ---------------------------------------- Feature #19850: Get thread creation time https://bugs.ruby-lang.org/issues/19850#change-104580 * Author: ngan (Ngan Pham) * Status: Open * Priority: Normal ---------------------------------------- I was debugging some threads hanging issue and thought it would be nice to know how long a thread has been around for. Would there be interest in a `Thread#creation_time` (or some other name) that returns the time when the thread was created? -- https://bugs.ruby-lang.org/