Actions
Bug #3660
closedTrace events seem to be missing
Bug #3660:
Trace events seem to be missing
Description
=begin
When tracing this code:
a = [1,2,3]
a.each{|n|
p n
}
with 1.9.1 I get "expected output" list this:
However, with 1.9.2+ I get almost no output:
C:\dev\ruby\ruby-prof>ruby -vrtracer test_array.rb
ruby 1.9.2dev (2010-07-02) [i386-mingw32]
#0:test_array.rb:1::-: a = [1,2,3]
#0:test_array.rb:2::-: a.each{|n|
#0:test_array.rb:3::-: p n
1
#0:test_array.rb:3::-: p n
2
#0:test_array.rb:3::-: p n
3
This on windows and Linux.
Unless it's expected, in which case it's just missing the return statement.
Thanks.
-r
=end
Actions