From: deivid.rodriguez@... Date: 2014-12-11T16:27:00+00:00 Subject: [ruby-core:66784] [ruby-trunk - Feature #10589] [Open] [TracePoint API] Make THREAD_{BEGIN, END} events return some context information Issue #10589 has been reported by David Rodr��guez. ---------------------------------------- Feature #10589: [TracePoint API] Make THREAD_{BEGIN, END} events return some context information https://bugs.ruby-lang.org/issues/10589 * Author: David Rodr��guez * Status: Open * Priority: Normal * Assignee: * Category: * Target version: ---------------------------------------- Currently the :thread_begin and thread_end events return no context information at all TracePoint.trace(:thread_begin, :thread_end) do |tp| puts "#{tp.defined_class}::#{tp.method_id}@#{tp.path}:#{tp.lineno}" end t = Thread.new do sleep 1 end t.join prints just "Hi thread, ::@:0" "Bye thread, ::@:0" It'd be nice if they gave at least some file:line context information about the thread. What do you think, @ko1? Would this be possible? Thanks a lot -- https://bugs.ruby-lang.org/