Sha256: 216b631604056004bd0ef1553780bd28528032f77182bb8c25ce4d1ce50b4a16

Contents?: true

Size: 1022 Bytes

Versions: 10

Compression:

Stored size: 1022 Bytes

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

10 entries across 10 versions & 3 rubygems

Version Path
candlepin-api-0.4.0 bundle/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.right
ruby-debug-0.10.5.rc1 test/data/display.right
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.right
vim-jar-0.1.2 bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.right
vim-jar-0.1.1 bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.right
vim-jar-0.1.0 bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.right
vim-jar-0.0.3 bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.right
vim-jar-0.0.2 bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.right
vim-jar-0.0.1 bundler/ruby/1.8/gems/ruby-debug-0.10.4/test/data/display.right
ruby-debug-0.10.4 test/data/display.right