Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View 1.9.1 tracer output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
C:\dev\ruby\ruby-prof>ruby -vrtracer test_array.rb
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
#0:ruby:0:Kernel:<: ?
#0:ruby:0:IO:>: ?
#0:ruby:0:IO:<: ?
#0:ruby:0:IO:>: ?
#0:ruby:0:IO:<: ?
#0:test_array.rb:1::-: a = [1,2,3]
#0:test_array.rb:2::-: a.each{|n|
#0:test_array.rb:2:Array:>: a.each{|n|
#0:test_array.rb:3::-: p n
#0:test_array.rb:3:Kernel:>: p n
#0:test_array.rb:3:Kernel:>: p n
#0:test_array.rb:3:Fixnum:>: p n
#0:test_array.rb:3:Fixnum:<: p n
#0:test_array.rb:3:Kernel:<: p n
1
#0:test_array.rb:3:Kernel:<: p n
#0:test_array.rb:3::-: p n
#0:test_array.rb:3:Kernel:>: p n
#0:test_array.rb:3:Kernel:>: p n
#0:test_array.rb:3:Fixnum:>: p n
#0:test_array.rb:3:Fixnum:<: p n
#0:test_array.rb:3:Kernel:<: p n
2
#0:test_array.rb:3:Kernel:<: p n
#0:test_array.rb:3::-: p n
#0:test_array.rb:3:Kernel:>: p n
#0:test_array.rb:3:Kernel:>: p n
#0:test_array.rb:3:Fixnum:>: p n
#0:test_array.rb:3:Fixnum:<: p n
#0:test_array.rb:3:Kernel:<: p n
3
#0:test_array.rb:3:Kernel:<: p n
#0:test_array.rb:2:Array:<: a.each{|n|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.