ruby-debug 0.10.5.rc1 → 0.10.5.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +54 -0
- data/Rakefile +34 -239
- metadata +15 -182
- data/test/base/base.rb +0 -77
- data/test/base/binding.rb +0 -22
- data/test/base/catchpoint.rb +0 -19
- data/test/base/load.rb +0 -44
- data/test/base/reload_bug.rb +0 -8
- data/test/cli/commands/catchpoint_test.rb +0 -24
- data/test/cli/commands/unit/regexp.rb +0 -36
- data/test/config.yaml +0 -8
- data/test/data/annotate.cmd +0 -29
- data/test/data/annotate.right +0 -139
- data/test/data/at-exit.cmd +0 -4
- data/test/data/at-exit.right +0 -12
- data/test/data/break_bad.cmd +0 -16
- data/test/data/break_bad.right +0 -26
- data/test/data/break_loop_bug.cmd +0 -5
- data/test/data/break_loop_bug.right +0 -15
- data/test/data/break_tracelines.cmd +0 -9
- data/test/data/break_tracelines.right +0 -17
- data/test/data/breakpoints-basename.cmd +0 -2
- data/test/data/breakpoints-basename.right +0 -10
- data/test/data/breakpoints.cmd +0 -37
- data/test/data/breakpoints.right +0 -96
- data/test/data/brkpt-class-bug.cmd +0 -9
- data/test/data/brkpt-class-bug.right +0 -18
- data/test/data/catch.cmd +0 -18
- data/test/data/catch.right +0 -41
- data/test/data/condition.cmd +0 -29
- data/test/data/condition.right +0 -67
- data/test/data/continue_bad.cmd +0 -4
- data/test/data/continue_bad.right +0 -9
- data/test/data/ctrl.cmd +0 -23
- data/test/data/ctrl.right +0 -70
- data/test/data/display.cmd +0 -24
- data/test/data/display.right +0 -44
- data/test/data/dollar-0.right +0 -3
- data/test/data/dollar-0a.right +0 -3
- data/test/data/dollar-0b.right +0 -3
- data/test/data/edit.cmd +0 -12
- data/test/data/edit.right +0 -19
- data/test/data/emacs_basic.cmd +0 -10
- data/test/data/emacs_basic.right +0 -24
- data/test/data/enable.cmd +0 -20
- data/test/data/enable.right +0 -36
- data/test/data/except-bug1.cmd +0 -7
- data/test/data/except-bug1.right +0 -13
- data/test/data/file-with-space.cmd +0 -7
- data/test/data/file-with-space.right +0 -9
- data/test/data/finish.cmd +0 -16
- data/test/data/finish.right +0 -31
- data/test/data/frame.cmd +0 -29
- data/test/data/frame.right +0 -62
- data/test/data/help.cmd +0 -20
- data/test/data/help.right +0 -21
- data/test/data/history.right +0 -7
- data/test/data/info-file-break.cmd +0 -4
- data/test/data/info-file-break.right +0 -11
- data/test/data/info-thread.cmd +0 -13
- data/test/data/info-thread.right +0 -37
- data/test/data/info-var-bug2.cmd +0 -5
- data/test/data/info-var-bug2.right +0 -10
- data/test/data/info-var.cmd +0 -23
- data/test/data/info-var.right +0 -52
- data/test/data/info.cmd +0 -21
- data/test/data/info.right +0 -80
- data/test/data/linetrace-jruby.right +0 -23
- data/test/data/linetrace.cmd +0 -6
- data/test/data/linetrace.right +0 -32
- data/test/data/linetracep.cmd +0 -7
- data/test/data/linetracep.right +0 -25
- data/test/data/list.cmd +0 -19
- data/test/data/list.right +0 -127
- data/test/data/method.cmd +0 -10
- data/test/data/method.right +0 -21
- data/test/data/methodsig.cmd +0 -10
- data/test/data/methodsig.right +0 -20
- data/test/data/noquit.right +0 -1
- data/test/data/output.cmd +0 -6
- data/test/data/output.right +0 -31
- data/test/data/pm-bug.cmd +0 -7
- data/test/data/pm-bug.right +0 -12
- data/test/data/post-mortem-next.cmd +0 -8
- data/test/data/post-mortem-next.right +0 -14
- data/test/data/post-mortem-osx.right +0 -32
- data/test/data/post-mortem.cmd +0 -13
- data/test/data/post-mortem.right +0 -32
- data/test/data/quit.cmd +0 -6
- data/test/data/quit.right +0 -9
- data/test/data/raise-jruby.right +0 -26
- data/test/data/raise.cmd +0 -11
- data/test/data/raise.right +0 -26
- data/test/data/save.cmd +0 -34
- data/test/data/save.right +0 -61
- data/test/data/setshow.cmd +0 -46
- data/test/data/setshow.right +0 -80
- data/test/data/source.cmd +0 -5
- data/test/data/source.right +0 -15
- data/test/data/stepping.cmd +0 -21
- data/test/data/stepping.right +0 -50
- data/test/data/test-init-cygwin.right +0 -7
- data/test/data/test-init-osx.right +0 -4
- data/test/data/test-init.right +0 -5
- data/test/data/trace-jruby.right +0 -14
- data/test/data/trace.right +0 -23
- data/test/example/a/example.rb +0 -1
- data/test/example/at-exit.rb +0 -3
- data/test/example/b/example.rb +0 -1
- data/test/example/bp_loop_issue.rb +0 -3
- data/test/example/breakpoints-basename.rb +0 -2
- data/test/example/brkpt-class-bug.rb +0 -8
- data/test/example/classes.rb +0 -11
- data/test/example/dollar-0.rb +0 -6
- data/test/example/except-bug1.rb +0 -4
- data/test/example/file with space.rb +0 -1
- data/test/example/gcd.rb +0 -18
- data/test/example/info-var-bug.rb +0 -47
- data/test/example/info-var-bug2.rb +0 -2
- data/test/example/null.rb +0 -1
- data/test/example/output.rb +0 -2
- data/test/example/pm-bug.rb +0 -3
- data/test/example/pm.rb +0 -11
- data/test/example/raise.rb +0 -3
- data/test/gcd-dbg-nox.rb +0 -31
- data/test/gcd-dbg.rb +0 -30
- data/test/helper.rb +0 -167
- data/test/pm-base.rb +0 -22
- data/test/rdebug-save.1 +0 -7
- data/test/tdebug.rb +0 -252
- data/test/test-annotate.rb +0 -13
- data/test/test-at-exit.rb +0 -13
- data/test/test-break-bad.rb +0 -25
- data/test/test-breakpoints.rb +0 -24
- data/test/test-brkpt-class-bug.rb +0 -13
- data/test/test-catch.rb +0 -13
- data/test/test-condition.rb +0 -13
- data/test/test-ctrl.rb +0 -55
- data/test/test-display.rb +0 -14
- data/test/test-dollar-0.rb +0 -33
- data/test/test-edit.rb +0 -14
- data/test/test-emacs-basic.rb +0 -13
- data/test/test-enable.rb +0 -13
- data/test/test-except-bug1.rb +0 -16
- data/test/test-file-with-space.rb +0 -18
- data/test/test-finish.rb +0 -22
- data/test/test-frame.rb +0 -28
- data/test/test-help.rb +0 -60
- data/test/test-hist.rb +0 -64
- data/test/test-info-thread.rb +0 -24
- data/test/test-info-var.rb +0 -30
- data/test/test-info.rb +0 -27
- data/test/test-init.rb +0 -49
- data/test/test-list.rb +0 -14
- data/test/test-method.rb +0 -20
- data/test/test-output.rb +0 -13
- data/test/test-pm.rb +0 -37
- data/test/test-quit.rb +0 -13
- data/test/test-raise.rb +0 -13
- data/test/test-save.rb +0 -22
- data/test/test-setshow.rb +0 -13
- data/test/test-source.rb +0 -13
- data/test/test-stepping.rb +0 -14
- data/test/test-trace.rb +0 -40
- data/test/thread1.rb +0 -26
- data/test/trunc-call.rb +0 -31
data/test/data/ctrl.right
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
Currently testing the debugger is on.
|
2
|
-
width is 80.
|
3
|
-
Type 'help <command-name>' for help on a specific command
|
4
|
-
|
5
|
-
Available commands:
|
6
|
-
break delete eval help interrupt p ps quit restart set source
|
7
|
-
catch edit exit info kill pp putl reload save show thread
|
8
|
-
|
9
|
-
Generic command for showing things about the program being debugged.
|
10
|
-
--
|
11
|
-
List of info subcommands:
|
12
|
-
--
|
13
|
-
info args -- Argument variables of current stack frame
|
14
|
-
info breakpoints -- Status of user-settable breakpoints
|
15
|
-
info catch -- Exceptions that can be caught in the current stack frame
|
16
|
-
info display -- Expressions to display when program stops
|
17
|
-
info file -- Info about a particular file read in
|
18
|
-
info files -- File names and timestamps of files read in
|
19
|
-
info global_variables -- Global variables
|
20
|
-
info instance_variables -- Instance variables of the current stack frame
|
21
|
-
info line -- Line number and file name of current position in source file
|
22
|
-
info locals -- Local variables of the current stack frame
|
23
|
-
info program -- Execution status of the program
|
24
|
-
info stack -- Backtrace of the stack
|
25
|
-
info thread -- List info about thread NUM
|
26
|
-
info threads -- information of currently-known threads
|
27
|
-
info variables -- Local and instance variables of the current stack frame
|
28
|
-
No frame selected.
|
29
|
-
info breakpoints not available here.
|
30
|
-
info display not available here.
|
31
|
-
The program being debugged is not being run.
|
32
|
-
info global_variables not available here.
|
33
|
-
info line not available here.
|
34
|
-
info line not available here.
|
35
|
-
info stack not available here.
|
36
|
-
info threads not available here.
|
37
|
-
info variables not available here.
|
38
|
-
3
|
39
|
-
Generic command for showing things about the debugger.
|
40
|
-
|
41
|
-
--
|
42
|
-
List of show subcommands:
|
43
|
-
--
|
44
|
-
show annotate -- Show annotation level
|
45
|
-
show args -- Show argument list to give program being debugged when it is started
|
46
|
-
show autoeval -- Show if unrecognized command are evaluated
|
47
|
-
show autolist -- Show if 'list' commands is run on breakpoints
|
48
|
-
show autoirb -- Show if IRB is invoked on debugger stops
|
49
|
-
show autoreload -- Show if source code is reloaded when changed
|
50
|
-
show basename -- Show if basename used in reporting files
|
51
|
-
show callstyle -- Show paramater style used showing call frames
|
52
|
-
show commands -- Show the history of commands you typed
|
53
|
-
show different -- Show if 'next/step' forces move to a new line
|
54
|
-
show forcestep -- Deprecated. Please use 'different'
|
55
|
-
show fullpath -- Show if full file names are displayed in frames
|
56
|
-
show history -- Generic command for showing command history parameters
|
57
|
-
show keep-frame-bindings -- Save frame binding on each call
|
58
|
-
show linetrace -- Show line execution tracing
|
59
|
-
show linetrace+ -- Show if consecutive lines should be different are shown in tracing
|
60
|
-
show listsize -- Show number of source lines to list by default
|
61
|
-
show port -- Show server port
|
62
|
-
show post-mortem -- Show whether we go into post-mortem debugging on an uncaught exception
|
63
|
-
show trace -- Show if a stack trace is displayed when 'eval' raises exception
|
64
|
-
show version -- Show what version of the debugger this is
|
65
|
-
show width -- Show the number of characters the debugger thinks are in a line
|
66
|
-
Displaying stack trace is off.
|
67
|
-
Displaying stack trace is off.
|
68
|
-
Displaying stack trace is on.
|
69
|
-
Annotation level is 0
|
70
|
-
Annotation level is 0
|
data/test/data/display.cmd
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# ***************************************************
|
2
|
-
# This tests display expressions.
|
3
|
-
# ***************************************************
|
4
|
-
set debuggertesting on
|
5
|
-
b 6
|
6
|
-
c
|
7
|
-
# Should be no display expression yet.
|
8
|
-
info display
|
9
|
-
display a
|
10
|
-
display b
|
11
|
-
disable display b
|
12
|
-
disable display 1
|
13
|
-
c
|
14
|
-
enable display b
|
15
|
-
enable display 1
|
16
|
-
undisplay a
|
17
|
-
undisplay 2
|
18
|
-
# Should have only one display expression.
|
19
|
-
info display
|
20
|
-
undisplay 1
|
21
|
-
# Now we have no more display expressions.
|
22
|
-
info display
|
23
|
-
q
|
24
|
-
|
data/test/data/display.right
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# # ***************************************************
|
4
|
-
# # This tests display expressions.
|
5
|
-
# # ***************************************************
|
6
|
-
# set debuggertesting on
|
7
|
-
Currently testing the debugger is on.
|
8
|
-
# b 6
|
9
|
-
Breakpoint 1 file gcd.rb, line 6
|
10
|
-
# c
|
11
|
-
Breakpoint 1 at gcd.rb:6
|
12
|
-
gcd.rb:6
|
13
|
-
if a > b
|
14
|
-
# # Should be no display expression yet.
|
15
|
-
# info display
|
16
|
-
There are no auto-display expressions now.
|
17
|
-
# display a
|
18
|
-
1: a = 3
|
19
|
-
# display b
|
20
|
-
2: b = 5
|
21
|
-
# disable display b
|
22
|
-
Disable display argument 'b' needs to be a number.
|
23
|
-
# disable display 1
|
24
|
-
# c
|
25
|
-
Breakpoint 1 at gcd.rb:6
|
26
|
-
2: b = 3
|
27
|
-
gcd.rb:6
|
28
|
-
if a > b
|
29
|
-
# enable display b
|
30
|
-
Enable display argument 'b' needs to be a number.
|
31
|
-
# enable display 1
|
32
|
-
# undisplay a
|
33
|
-
Undisplay argument 'a' needs to be a number.
|
34
|
-
# undisplay 2
|
35
|
-
# # Should have only one display expression.
|
36
|
-
# info display
|
37
|
-
Auto-display expressions now in effect:
|
38
|
-
Num Enb Expression
|
39
|
-
1: y a
|
40
|
-
# undisplay 1
|
41
|
-
# # Now we have no more display expressions.
|
42
|
-
# info display
|
43
|
-
There are no auto-display expressions now.
|
44
|
-
# q
|
data/test/data/dollar-0.right
DELETED
data/test/data/dollar-0a.right
DELETED
data/test/data/dollar-0b.right
DELETED
data/test/data/edit.cmd
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# ********************************************************
|
2
|
-
# This tests the edit command
|
3
|
-
# ********************************************************
|
4
|
-
set debuggertesting on
|
5
|
-
# Edit using current line position.
|
6
|
-
edit
|
7
|
-
edit example/gcd.rb:5
|
8
|
-
# File should not exist
|
9
|
-
edit foo
|
10
|
-
# Add space to the end of 'edit'
|
11
|
-
edit
|
12
|
-
quit
|
data/test/data/edit.right
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# # ********************************************************
|
4
|
-
# # This tests the edit command
|
5
|
-
# # ********************************************************
|
6
|
-
# set debuggertesting on
|
7
|
-
Currently testing the debugger is on.
|
8
|
-
# # Edit using current line position.
|
9
|
-
# edit
|
10
|
-
FAKE-EDITOR +4 ./example/gcd.rb
|
11
|
-
# edit example/gcd.rb:5
|
12
|
-
FAKE-EDITOR +5 example/gcd.rb
|
13
|
-
# # File should not exist
|
14
|
-
# edit foo
|
15
|
-
*** Invalid file/line number specification: foo
|
16
|
-
# # Add space to the end of 'edit'
|
17
|
-
# edit
|
18
|
-
FAKE-EDITOR +4 ./example/gcd.rb
|
19
|
-
# quit
|
data/test/data/emacs_basic.cmd
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# ********************************************************
|
2
|
-
# This tests step, next, finish, continue, disable and
|
3
|
-
# enable.
|
4
|
-
# FIXME: break out enable/disable
|
5
|
-
# ********************************************************
|
6
|
-
set debuggertesting on
|
7
|
-
set callstyle last
|
8
|
-
set autoeval off
|
9
|
-
list
|
10
|
-
quit
|
data/test/data/emacs_basic.right
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# # ********************************************************
|
4
|
-
# # This tests step, next, finish, continue, disable and
|
5
|
-
# # enable.
|
6
|
-
# # FIXME: break out enable/disable
|
7
|
-
# # ********************************************************
|
8
|
-
# set debuggertesting on
|
9
|
-
Currently testing the debugger is on.
|
10
|
-
# set callstyle last
|
11
|
-
Frame call-display style is last.
|
12
|
-
# set autoeval off
|
13
|
-
autoeval is off.
|
14
|
-
# list
|
15
|
-
[-1, 8] in gcd.rb
|
16
|
-
1 #!/usr/bin/env ruby
|
17
|
-
2
|
18
|
-
3 # GCD. We assume positive numbers
|
19
|
-
=> 4 def gcd(a, b)
|
20
|
-
5 # Make: a <= b
|
21
|
-
6 if a > b
|
22
|
-
7 a, b = [b, a]
|
23
|
-
8 end
|
24
|
-
# quit
|
data/test/data/enable.cmd
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# ********************************************************
|
2
|
-
# This tests the enable command.
|
3
|
-
# ********************************************************
|
4
|
-
set debuggertesting on
|
5
|
-
set callstyle last
|
6
|
-
set autoeval off
|
7
|
-
break Object.gcd
|
8
|
-
# Should have a breakpoint 1
|
9
|
-
enable br 1
|
10
|
-
# Get help on enable
|
11
|
-
help enable
|
12
|
-
# Get help on just enable break
|
13
|
-
help enable break
|
14
|
-
# Plain enable should work
|
15
|
-
enable
|
16
|
-
# An invalid enable command
|
17
|
-
enable foo
|
18
|
-
quit
|
19
|
-
|
20
|
-
|
data/test/data/enable.right
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# # ********************************************************
|
4
|
-
# # This tests the enable command.
|
5
|
-
# # ********************************************************
|
6
|
-
# set debuggertesting on
|
7
|
-
Currently testing the debugger is on.
|
8
|
-
# set callstyle last
|
9
|
-
Frame call-display style is last.
|
10
|
-
# set autoeval off
|
11
|
-
autoeval is off.
|
12
|
-
# break Object.gcd
|
13
|
-
Breakpoint 1 at Object::gcd
|
14
|
-
# # Should have a breakpoint 1
|
15
|
-
# enable br 1
|
16
|
-
# # Get help on enable
|
17
|
-
# help enable
|
18
|
-
Enable some things.
|
19
|
-
This is used to cancel the effect of the "disable" command.
|
20
|
-
--
|
21
|
-
List of enable subcommands:
|
22
|
-
--
|
23
|
-
enable breakpoints -- Enable specified breakpoints
|
24
|
-
enable display -- Enable some expressions to be displayed when program stops
|
25
|
-
# # Get help on just enable break
|
26
|
-
# help enable break
|
27
|
-
Enable specified breakpoints.
|
28
|
-
Give breakpoint numbers (separated by spaces) as arguments.
|
29
|
-
This is used to cancel the effect of the "disable" command.
|
30
|
-
# # Plain enable should work
|
31
|
-
# enable
|
32
|
-
*** "enable" must be followed "display", "breakpoints" or breakpoint numbers.
|
33
|
-
# # An invalid enable command
|
34
|
-
# enable foo
|
35
|
-
Enable breakpoints argument 'foo' needs to be a number.
|
36
|
-
# quit
|
data/test/data/except-bug1.cmd
DELETED
data/test/data/except-bug1.right
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
except-bug1.rb:1
|
2
|
-
def foo(n)
|
3
|
-
# # ********************************************************
|
4
|
-
# # This tests a bug in showing variables in post-mortem.
|
5
|
-
# # ********************************************************
|
6
|
-
# set debuggertesting on
|
7
|
-
Currently testing the debugger is on.
|
8
|
-
# continue
|
9
|
-
except-bug1.rb:2
|
10
|
-
1/0
|
11
|
-
# p n
|
12
|
-
5
|
13
|
-
# quit
|
@@ -1,9 +0,0 @@
|
|
1
|
-
file with space.rb:1
|
2
|
-
puts 'Ha!'
|
3
|
-
# # *********************************************************
|
4
|
-
# # This is run on a file with an embedded space in the name
|
5
|
-
# # ********************************************************
|
6
|
-
# set debuggertesting on
|
7
|
-
Currently testing the debugger is on.
|
8
|
-
# step
|
9
|
-
Ha!
|
data/test/data/finish.cmd
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# ********************************************************
|
2
|
-
# This tests finish.
|
3
|
-
# ********************************************************
|
4
|
-
set debuggertesting on
|
5
|
-
set callstyle last
|
6
|
-
set autoeval off
|
7
|
-
break 6
|
8
|
-
continue
|
9
|
-
continue
|
10
|
-
continue
|
11
|
-
where
|
12
|
-
finish 0
|
13
|
-
where
|
14
|
-
p a
|
15
|
-
p b
|
16
|
-
finish
|
data/test/data/finish.right
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# # ********************************************************
|
4
|
-
# # This tests finish.
|
5
|
-
# # ********************************************************
|
6
|
-
# set debuggertesting on
|
7
|
-
Currently testing the debugger is on.
|
8
|
-
# set callstyle last
|
9
|
-
Frame call-display style is last.
|
10
|
-
# set autoeval off
|
11
|
-
autoeval is off.
|
12
|
-
# break 6
|
13
|
-
Breakpoint 1 file gcd.rb, line 6
|
14
|
-
# continue
|
15
|
-
Breakpoint 1 at gcd.rb:6
|
16
|
-
gcd.rb:6
|
17
|
-
if a > b
|
18
|
-
# continue
|
19
|
-
Breakpoint 1 at gcd.rb:6
|
20
|
-
gcd.rb:6
|
21
|
-
if a > b
|
22
|
-
# continue
|
23
|
-
Breakpoint 1 at gcd.rb:6
|
24
|
-
gcd.rb:6
|
25
|
-
if a > b
|
26
|
-
# where
|
27
|
-
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
28
|
-
#1 Object.-(a#Fixnum, b#Fixnum) at line gcd.rb:15
|
29
|
-
#2 Object.-(a#Fixnum, b#Fixnum) at line gcd.rb:15
|
30
|
-
#3 at line gcd.rb:18
|
31
|
-
# finish 0
|
data/test/data/frame.cmd
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# ***************************************************
|
2
|
-
# This tests step, next, finish and continue
|
3
|
-
# ***************************************************
|
4
|
-
set debuggertesting on
|
5
|
-
set callstyle last
|
6
|
-
continue 6
|
7
|
-
where
|
8
|
-
up
|
9
|
-
where
|
10
|
-
down
|
11
|
-
where
|
12
|
-
frame
|
13
|
-
where
|
14
|
-
frame -1
|
15
|
-
where
|
16
|
-
up 2
|
17
|
-
where
|
18
|
-
down 2
|
19
|
-
where
|
20
|
-
frame 0 thread 3
|
21
|
-
frame 0 thread 1
|
22
|
-
# finish
|
23
|
-
# See that we don't match more than 'down' or 'up' when used as a variable.
|
24
|
-
set autoeval on
|
25
|
-
download = 1
|
26
|
-
download
|
27
|
-
upload = 'hey'
|
28
|
-
upload
|
29
|
-
quit
|
data/test/data/frame.right
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# # ***************************************************
|
4
|
-
# # This tests step, next, finish and continue
|
5
|
-
# # ***************************************************
|
6
|
-
# set debuggertesting on
|
7
|
-
Currently testing the debugger is on.
|
8
|
-
# set callstyle last
|
9
|
-
Frame call-display style is last.
|
10
|
-
# continue 6
|
11
|
-
gcd.rb:6
|
12
|
-
if a > b
|
13
|
-
# where
|
14
|
-
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
15
|
-
#1 at line gcd.rb:18
|
16
|
-
# up
|
17
|
-
#1 at line gcd.rb:18
|
18
|
-
# where
|
19
|
-
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
20
|
-
--> #1 at line gcd.rb:18
|
21
|
-
# down
|
22
|
-
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
23
|
-
# where
|
24
|
-
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
25
|
-
#1 at line gcd.rb:18
|
26
|
-
# frame
|
27
|
-
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
28
|
-
# where
|
29
|
-
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
30
|
-
#1 at line gcd.rb:18
|
31
|
-
# frame -1
|
32
|
-
#1 at line gcd.rb:18
|
33
|
-
# where
|
34
|
-
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
35
|
-
--> #1 at line gcd.rb:18
|
36
|
-
# up 2
|
37
|
-
*** Adjusting would put us beyond the oldest (initial) frame.
|
38
|
-
# where
|
39
|
-
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
40
|
-
--> #1 at line gcd.rb:18
|
41
|
-
# down 2
|
42
|
-
*** Adjusting would put us beyond the newest (innermost) frame.
|
43
|
-
# where
|
44
|
-
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
45
|
-
--> #1 at line gcd.rb:18
|
46
|
-
# frame 0 thread 3
|
47
|
-
*** Thread 3 doesn't exist.
|
48
|
-
# frame 0 thread 1
|
49
|
-
#0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
50
|
-
# # finish
|
51
|
-
# # See that we don't match more than 'down' or 'up' when used as a variable.
|
52
|
-
# set autoeval on
|
53
|
-
autoeval is on.
|
54
|
-
# download = 1
|
55
|
-
1
|
56
|
-
# download
|
57
|
-
1
|
58
|
-
# upload = 'hey'
|
59
|
-
"hey"
|
60
|
-
# upload
|
61
|
-
"hey"
|
62
|
-
# quit
|