Sha256: d7e014c7b1050e6094476ab74f5b008cfd3efb418c0a61cdf6c7790bf824f185

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

gcd.rb:4
def gcd(a, b)
# # ***************************************************
# # This tests step, next, finish and continue
# # ***************************************************
# set debuggertesting on
Currently testing the debugger is on.
# set callstyle last
Frame call-display style is last.
# continue 6
gcd.rb:6
if a > b
# where
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
    #1 at line gcd.rb:18
# up
#1 at line gcd.rb:18
# where
    #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
--> #1 at line gcd.rb:18
# down
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
# where
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
    #1 at line gcd.rb:18
# frame
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
# where
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
    #1 at line gcd.rb:18
# frame -1
#1 at line gcd.rb:18
# where
    #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
--> #1 at line gcd.rb:18
# up 2
*** Adjusting would put us beyond the oldest (initial) frame.
# where
    #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
--> #1 at line gcd.rb:18
# down 2
*** Adjusting would put us beyond the newest (innermost) frame.
# where
    #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
--> #1 at line gcd.rb:18
# frame 0 thread 3
*** Thread 3 doesn't exist.
# frame 0 thread 1
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
# # finish
# # See that we don't match more than 'down' or 'up' when used as a variable.
# set autoeval on
autoeval is on.
# download = 1
1
# download
1
# upload = 'hey'
"hey"
# upload
"hey"
# quit

Version data entries

1 entries across 1 versions & 1 rubygems

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