Bug #1794: ruby -rtracer fails to turn on tracing
http://redmine.ruby-lang.org/issues/show/1794

Author: Roger Pack
Status: Open, Priority: Normal
ruby -v: ruby 1.9.2dev (2009-06-17 trunk 23707) [i386-mingw32]

Running this file:
def go
 3
end
go

like "ruby -vrtracer test.rb"

results in what I believe is unexpected non tracing.

 == Running with 186: ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32] ==
ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]
#0:test.rb:1::-: def go
#0:test.rb:1:Module:>: def go
#0:test.rb:1:Module:<: def go
#0:test.rb:4::-: go#0:test.rb:1:Object:>: def go
#0:test.rb:2:Object:-:  3
#0:test.rb:3:Object:<: end

 == Running with 191: ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32] ==
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]

Thanks!
=r


----------------------------------------
http://redmine.ruby-lang.org