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
