Sha256: d550eac69266af6ef3ba1ccc2f5041d236bacd09ad59399e396f1937957ca268

Contents?: true

Size: 772 Bytes

Versions: 1

Compression:

Stored size: 772 Bytes

Contents

raise.rb:3
raise "abc"
# # ********************************************************
# # This tests that the debugger doesn't step into itself
# # when the application doesn't terminate the right way.
# # ********************************************************
# set debuggertesting on
Currently testing the debugger is on.
# catch x
NameError Exception: undefined local variable or method `x' for main:Object
# catch ZeroDivisionError
Catch exception ZeroDivisionError.
# info catch
ZeroDivisionError
# catch 5
Warning 5 is not known to be a Class
Catch exception 5.
# step
	./example/raise.rb:3
	./tdebug.rb:61:in `debug_load'
	./tdebug.rb:61:in `debug_program'
	./tdebug.rb:251
	../rdbg.rb:23:in `load'
	../rdbg.rb:23:in `runner'
	../rdbg.rb:32
Uncaught exception: abc

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-debug-0.10.5.rc1 test/data/raise.right