Actions
Bug #693
closedThread#set_trace_func seems not to work
Description
=begin
trace_func = lambda {|a,b,c,d,e,f| p a}
Thread.current.set_trace_func trace_func
puts "here"
thr = Thread.new do
Thread.current.add_trace_func(trace_func)
puts "hello"
def one
puts "in one"
end
one
end
thr.join
If you replace Thread.set_trace_func with set_trace_func, it reports as expected.
=end
Files
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0