Sha256: fd35cba78804f6058859944b64b6ea3b92263116ed2c586ad2c1ee38043a730f

Contents?: true

Size: 886 Bytes

Versions: 1

Compression:

Stored size: 886 Bytes

Contents

pm.rb:3
def zero_div
# # ***************************************************
# # This tests post-mortem handling.
# # ***************************************************
# set debuggertesting on
Currently testing the debugger is on.
# continue
pm.rb:5
1/0
# # Should have got a divide by 0 error
# info program
The program crashed.
Exception: #<ZeroDivisionError: divided by 0>
# where
--> #0 / at line pm.rb:5
    #1 at line pm.rb:8
# up
#1 at line pm.rb:8
# p x
2
# help
Type 'help <command-name>' for help on a specific command

Available commands:
backtrace  delete   enable  info    p     reload   source     up   
break      disable  eval    irb     pp    restart  thread     var  
catch      display  exit    kill    ps    save     tmate      where
condition  down     frame   list    putl  set      trace    
continue   edit     help    method  quit  show     undisplay

# quit

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-debug-0.10.5.rc1 test/data/post-mortem-osx.right