Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (44 sloc) 1.37 KB
running
ruby -v -r../lib/backtracer_locals.rb crash.rb
ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]
#0:crash.rb:1::-: def go2(a, b)
|#0:crash.rb:1:Module:>: def go2(a, b)
args were []
#0:crash.rb:1:Module:<: def go2(a, b)
#0:crash.rb:5::-: def go(a)
|#0:crash.rb:5:Module:>: def go(a)
args were []
#0:crash.rb:5:Module:<: def go(a)
#0:crash.rb:10::-: go '3'
|#0:crash.rb:5:Object:>: def go(a)
args were [["a", "3"]]
|#0:crash.rb:6:Object:-: b = 3
|#0:crash.rb:7:Object:-: go2(a, 55)
| |#0:crash.rb:1:Object:>: def go2(a, b)
args were [["a", "3"], ["b", 55]]
| |#0:crash.rb:2:Object:-: raise
| | |#0:crash.rb:2:Kernel:>: raise
args were []
| | | |#0:crash.rb:2:Class:>: raise
args were []
| | | | |#0:crash.rb:2:Exception:>: raise
args were []
| | | |#0:crash.rb:2:Exception:<: raise
| | |#0:crash.rb:2:Class:<: raise
| | | |#0:crash.rb:2:Exception:>: raise
args were []
| | |#0:crash.rb:2:Exception:<: raise
| | | |#0:crash.rb:2:Exception:>: raise
args were []
| | |#0:crash.rb:2:Exception:<: raise
| | |#0:crash.rb:2:Object:R: raise
| |#0:crash.rb:2:Kernel:<: raise
|#0:crash.rb:3:Object:<: end
#0:crash.rb:6:Object:<: b = 3
unhandled exception: crash.rb:2: raise
locals: {"a"=>"3", "b"=>55}
from:
crash.rb:1 go2(a=>3, b=>55)
locals: {"a"=>"3", "b"=>55}
crash.rb:5 go(a=>3)
locals: {"a"=>"3", "b"=>3}