Sha256: 441796e82fee868af1cbde91fca6543af7da4fe621dbb657c49bd2ca61427f88

Contents?: true

Size: 158 Bytes

Versions: 10

Compression:

Stored size: 158 Bytes

Contents

#!/ursr/bin/env ruby
# Test Debugger.catchpoint and post-mortem handling
def zero_div
  x = 5
  1/0
  x = 6
end
x = 2
puts zero_div
raise RuntimeError
x = 3

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
debugger-1.2.0 test/pm-catch.rb
debugger-1.1.4 test/pm-catch.rb
debugger-1.1.3 test/pm-catch.rb
debugger-1.1.2 test/pm-catch.rb
debugger-1.1.1 test/pm-catch.rb
debugger-1.1.0 test/pm-catch.rb
debugger-1.0.1 test/pm-catch.rb
debugger-1.0.0 test/pm-catch.rb
debugger-1.0.0.rc2 test/pm-catch.rb
debugger-1.0.0.rc1 test/pm-catch.rb