Sha256: 395c4a5553b0c4c5df751efa30fb6355fa6999261ed37c7a84d646cba3a0f7f5

Contents?: true

Size: 313 Bytes

Versions: 14

Compression:

Stored size: 313 Bytes

Contents

def foo3(arg)
  arg = arg + 3
  puts arg
  arg = arg/0 if arg > 10
  rescue
    puts "r3"
end

def foo2(arg)
  arg = arg + 2
  foo3(arg)
  puts arg
  rescue
    puts "r2"
end

def foo1(arg)
  arg = arg + 1
  foo2(arg)
  puts arg
  rescue
    puts "r1"
end

foo1(0)
foo2(10)
puts "done"

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
debugger-1.2.4 test/jump2.rb
debugger-1.2.3 test/jump2.rb
debugger-1.2.2 test/jump2.rb
debugger-1.2.1 test/jump2.rb
debugger-1.2.0 test/jump2.rb
debugger-1.1.4 test/jump2.rb
debugger-1.1.3 test/jump2.rb
debugger-1.1.2 test/jump2.rb
debugger-1.1.1 test/jump2.rb
debugger-1.1.0 test/jump2.rb
debugger-1.0.1 test/jump2.rb
debugger-1.0.0 test/jump2.rb
debugger-1.0.0.rc2 test/jump2.rb
debugger-1.0.0.rc1 test/jump2.rb