Sha256: 58834e9382f65ebedab84cf47e01dbc92ac4465f6bc8dcf93d2b1f6e30b9d6be

Contents?: true

Size: 1 KB

Versions: 18

Compression:

Stored size: 1 KB

Contents

gcd.rb:4
def gcd(a, b)
# # ***************************************************
# # This tests display expressions.
# # ***************************************************
# set debuggertesting on
Currently testing the debugger is on.
# b 6
Breakpoint 1 file ./gcd.rb, line 6
# c
Breakpoint 1 at gcd.rb:6
gcd.rb:6
if a > b
# # Should be no display expression yet.
# info display
There are no auto-display expressions now.
# display a
1: a = 3
# display b 
2: b  = 5
# disable display b
Disable display argument 'b' needs to be a number.
# disable display 1
# c
Breakpoint 1 at gcd.rb:6
2: b  = 3
gcd.rb:6
if a > b
# enable display b
Enable display argument 'b' needs to be a number.
# enable display 1
# undisplay a
Undisplay argument 'a' needs to be a number.
# undisplay 2
# # Should have only one display expression.
# info display
Auto-display expressions now in effect:
Num Enb Expression
  1: y  a
# undisplay 1
# # Now we have no more display expressions.
# info display
There are no auto-display expressions now.
# q

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
debugger-1.2.4 test/data/display.right
debugger-1.2.3 test/data/display.right
debugger-1.2.2 test/data/display.right
debugger-1.2.1 test/data/display.right
debugger-1.2.0 test/data/display.right
debugger-1.1.4 test/data/display.right
debugger-1.1.3 test/data/display.right
debugger-1.1.2 test/data/display.right
debugger-1.1.1 test/data/display.right
debugger-1.1.0 test/data/display.right
debugger-1.0.1 test/data/display.right
debugger-1.0.0 test/data/display.right
debugger-1.0.0.rc2 test/data/display.right
debugger-1.0.0.rc1 test/data/display.right
rackjour-0.1.8 vendor/gems/gems/ruby-debug-0.10.3/test/data/display.right
ruby-debug-0.10.1 test/data/display.right
ruby-debug-0.10.2 test/data/display.right
ruby-debug-0.10.3 test/data/display.right