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/break_bad.right
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# # ********************************************************
|
4
|
-
# # This tests mostly invalid breakpoints.
|
5
|
-
# # We have some valid ones too.
|
6
|
-
# # ********************************************************
|
7
|
-
# set debuggertesting on
|
8
|
-
Currently testing the debugger is on.
|
9
|
-
# set callstyle last
|
10
|
-
Frame call-display style is last.
|
11
|
-
# set autoeval off
|
12
|
-
autoeval is off.
|
13
|
-
# set basename on
|
14
|
-
basename is on.
|
15
|
-
# # There aren't 100 lines in gcd.rb.
|
16
|
-
# break 100
|
17
|
-
*** There are only 18 lines in file "gcd.rb".
|
18
|
-
# break example/gcd.rb:100
|
19
|
-
*** There are only 18 lines in file "gcd.rb".
|
20
|
-
# # This line is okay
|
21
|
-
# break example/gcd.rb:4
|
22
|
-
Breakpoint 1 file gcd.rb, line 4
|
23
|
-
# # No class Foo.
|
24
|
-
# break Foo.bar
|
25
|
-
*** Unknown class Foo.
|
26
|
-
# q
|
@@ -1,15 +0,0 @@
|
|
1
|
-
bp_loop_issue.rb:1
|
2
|
-
1.upto(2) {
|
3
|
-
# set debuggertesting on
|
4
|
-
Currently testing the debugger is on.
|
5
|
-
# break 2
|
6
|
-
Breakpoint 1 file bp_loop_issue.rb, line 2
|
7
|
-
# cont
|
8
|
-
Breakpoint 1 at bp_loop_issue.rb:2
|
9
|
-
bp_loop_issue.rb:2
|
10
|
-
sleep 0.01
|
11
|
-
# cont
|
12
|
-
Breakpoint 1 at bp_loop_issue.rb:2
|
13
|
-
bp_loop_issue.rb:2
|
14
|
-
sleep 0.01
|
15
|
-
# cont
|
@@ -1,17 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# set debuggertesting on
|
4
|
-
Currently testing the debugger is on.
|
5
|
-
# set callstyle last
|
6
|
-
Frame call-display style is last.
|
7
|
-
# set autoeval off
|
8
|
-
autoeval is off.
|
9
|
-
# set basename on
|
10
|
-
basename is on.
|
11
|
-
# # Line one isn't a valid stopping point.
|
12
|
-
# # It is a comment.
|
13
|
-
# break example/gcd.rb:1
|
14
|
-
*** Line 1 is not a stopping point in file "gcd.rb".
|
15
|
-
# break 11
|
16
|
-
*** Line 11 is not a stopping point in file "gcd.rb".
|
17
|
-
# q
|
@@ -1,10 +0,0 @@
|
|
1
|
-
example/breakpoints-basename.rb:1
|
2
|
-
require File.expand_path("../a/example.rb", __FILE__)
|
3
|
-
# break example/b/example.rb:1
|
4
|
-
Breakpoint 1 file example/b/example.rb, line 1
|
5
|
-
# c
|
6
|
-
a
|
7
|
-
Breakpoint 1 at example/b/example.rb:1
|
8
|
-
example/b/example.rb:1
|
9
|
-
puts "b"
|
10
|
-
b
|
data/test/data/breakpoints.cmd
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
# ********************************************************
|
2
|
-
# This tests step, next, 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
|
-
break 6
|
10
|
-
break 10
|
11
|
-
continue
|
12
|
-
where
|
13
|
-
break Object.gcd
|
14
|
-
info break
|
15
|
-
continue
|
16
|
-
where
|
17
|
-
info program
|
18
|
-
c 6
|
19
|
-
info break
|
20
|
-
break foo
|
21
|
-
info break
|
22
|
-
disable 1
|
23
|
-
info break
|
24
|
-
delete 1
|
25
|
-
# We should see breakpoint 2 but not 1
|
26
|
-
info break
|
27
|
-
# We should still be able to access 2
|
28
|
-
disable 2
|
29
|
-
disable bar
|
30
|
-
disable
|
31
|
-
# We should be able to delete 2
|
32
|
-
delete 2 3
|
33
|
-
info break
|
34
|
-
# Should get a message about having no breakpoints.
|
35
|
-
disable 1
|
36
|
-
enable 1
|
37
|
-
q!
|
data/test/data/breakpoints.right
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# # ********************************************************
|
4
|
-
# # This tests step, next, 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
|
-
# break 6
|
15
|
-
Breakpoint 1 file gcd.rb, line 6
|
16
|
-
# break 10
|
17
|
-
Breakpoint 2 file gcd.rb, line 10
|
18
|
-
# continue
|
19
|
-
Breakpoint 1 at gcd.rb:6
|
20
|
-
gcd.rb:6
|
21
|
-
if a > b
|
22
|
-
# where
|
23
|
-
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
24
|
-
#1 at line gcd.rb:18
|
25
|
-
# break Object.gcd
|
26
|
-
Breakpoint 3 at Object::gcd
|
27
|
-
# info break
|
28
|
-
Num Enb What
|
29
|
-
1 y at gcd.rb:6
|
30
|
-
breakpoint already hit 1 time
|
31
|
-
2 y at gcd.rb:10
|
32
|
-
3 y at Object:gcd
|
33
|
-
# continue
|
34
|
-
Breakpoint 2 at gcd.rb:10
|
35
|
-
gcd.rb:10
|
36
|
-
return nil if a <= 0
|
37
|
-
# where
|
38
|
-
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:10
|
39
|
-
#1 at line gcd.rb:18
|
40
|
-
# info program
|
41
|
-
Program stopped. It stopped at breakpoint 2.
|
42
|
-
# c 6
|
43
|
-
Breakpoint 3 at Object:gcd
|
44
|
-
gcd.rb:4
|
45
|
-
def gcd(a, b)
|
46
|
-
# info break
|
47
|
-
Num Enb What
|
48
|
-
1 y at gcd.rb:6
|
49
|
-
breakpoint already hit 1 time
|
50
|
-
2 y at gcd.rb:10
|
51
|
-
breakpoint already hit 1 time
|
52
|
-
3 y at Object:gcd
|
53
|
-
breakpoint already hit 1 time
|
54
|
-
# break foo
|
55
|
-
*** Invalid breakpoint location: foo.
|
56
|
-
# info break
|
57
|
-
Num Enb What
|
58
|
-
1 y at gcd.rb:6
|
59
|
-
breakpoint already hit 1 time
|
60
|
-
2 y at gcd.rb:10
|
61
|
-
breakpoint already hit 1 time
|
62
|
-
3 y at Object:gcd
|
63
|
-
breakpoint already hit 1 time
|
64
|
-
# disable 1
|
65
|
-
# info break
|
66
|
-
Num Enb What
|
67
|
-
1 n at gcd.rb:6
|
68
|
-
breakpoint already hit 1 time
|
69
|
-
2 y at gcd.rb:10
|
70
|
-
breakpoint already hit 1 time
|
71
|
-
3 y at Object:gcd
|
72
|
-
breakpoint already hit 1 time
|
73
|
-
# delete 1
|
74
|
-
# # We should see breakpoint 2 but not 1
|
75
|
-
# info break
|
76
|
-
Num Enb What
|
77
|
-
2 y at gcd.rb:10
|
78
|
-
breakpoint already hit 1 time
|
79
|
-
3 y at Object:gcd
|
80
|
-
breakpoint already hit 1 time
|
81
|
-
# # We should still be able to access 2
|
82
|
-
# disable 2
|
83
|
-
# disable bar
|
84
|
-
Disable breakpoints argument 'bar' needs to be a number.
|
85
|
-
# disable
|
86
|
-
*** "disable" must be followed "display", "breakpoints" or breakpoint numbers.
|
87
|
-
# # We should be able to delete 2
|
88
|
-
# delete 2 3
|
89
|
-
# info break
|
90
|
-
No breakpoints.
|
91
|
-
# # Should get a message about having no breakpoints.
|
92
|
-
# disable 1
|
93
|
-
*** No breakpoints have been set.
|
94
|
-
# enable 1
|
95
|
-
*** No breakpoints have been set.
|
96
|
-
# q!
|
@@ -1,18 +0,0 @@
|
|
1
|
-
brkpt-class-bug.rb:1
|
2
|
-
class A
|
3
|
-
# # Rubyforge Patch #26987
|
4
|
-
# # http://www.ruby-forum.com/topic/193901
|
5
|
-
# set debuggertesting on
|
6
|
-
Currently testing the debugger is on.
|
7
|
-
# set autoeval off
|
8
|
-
autoeval is off.
|
9
|
-
# next
|
10
|
-
brkpt-class-bug.rb:6
|
11
|
-
x = 1
|
12
|
-
# break A.show
|
13
|
-
Breakpoint 1 at A::show
|
14
|
-
# c
|
15
|
-
Breakpoint 1 at A:show
|
16
|
-
brkpt-class-bug.rb:2
|
17
|
-
def A.show
|
18
|
-
# quit
|
data/test/data/catch.cmd
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# ***************************************************
|
2
|
-
# Test catch
|
3
|
-
# ***************************************************
|
4
|
-
set debuggertesting on
|
5
|
-
set autoeval off
|
6
|
-
set basename on
|
7
|
-
info catch
|
8
|
-
catch ZeroDivisionError off
|
9
|
-
catch ZeroDivisionError off afdasdf
|
10
|
-
catch ZeroDivisionError
|
11
|
-
info catch
|
12
|
-
catch ZeroDivisionError off
|
13
|
-
info catch
|
14
|
-
catch ZeroDivisionError
|
15
|
-
c
|
16
|
-
where
|
17
|
-
info program
|
18
|
-
quit
|
data/test/data/catch.right
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
pm.rb:3
|
2
|
-
def zero_div
|
3
|
-
# # ***************************************************
|
4
|
-
# # Test catch
|
5
|
-
# # ***************************************************
|
6
|
-
# set debuggertesting on
|
7
|
-
Currently testing the debugger is on.
|
8
|
-
# set autoeval off
|
9
|
-
autoeval is off.
|
10
|
-
# set basename on
|
11
|
-
basename is on.
|
12
|
-
# info catch
|
13
|
-
No exceptions set to be caught.
|
14
|
-
# catch ZeroDivisionError off
|
15
|
-
*** Catch for exception ZeroDivisionError not found.
|
16
|
-
# catch ZeroDivisionError off afdasdf
|
17
|
-
*** Unknown command: "catch ZeroDivisionError off afdasdf". Try "help".
|
18
|
-
# catch ZeroDivisionError
|
19
|
-
Catch exception ZeroDivisionError.
|
20
|
-
# info catch
|
21
|
-
ZeroDivisionError
|
22
|
-
# catch ZeroDivisionError off
|
23
|
-
Catch for exception ZeroDivisionError removed.
|
24
|
-
# info catch
|
25
|
-
No exceptions set to be caught.
|
26
|
-
# catch ZeroDivisionError
|
27
|
-
Catch exception ZeroDivisionError.
|
28
|
-
# c
|
29
|
-
Catchpoint at pm.rb:5: `divided by 0' (ZeroDivisionError)
|
30
|
-
from ../rdbg.rb:23:in `runner'
|
31
|
-
from ../rdbg.rb:32
|
32
|
-
pm.rb:5
|
33
|
-
1/0
|
34
|
-
# where
|
35
|
-
--> #0 Object./ at line pm.rb:5
|
36
|
-
#1 at line pm.rb:8
|
37
|
-
Warning: saved frames may be incomplete;
|
38
|
-
compare debugger backtrace (bt) with Ruby caller(0).
|
39
|
-
# info program
|
40
|
-
Program stopped. It stopped at catchpoint `divided by 0' (ZeroDivisionError) .
|
41
|
-
# quit
|
data/test/data/condition.cmd
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# ********************************************************
|
2
|
-
# This tests primarily the condition command.
|
3
|
-
# In order to do this we need to run break, and disable
|
4
|
-
# ********************************************************
|
5
|
-
set debuggertesting on
|
6
|
-
set basename on
|
7
|
-
set callstyle last
|
8
|
-
set autoeval off
|
9
|
-
break 6 if a > b
|
10
|
-
info break
|
11
|
-
condition 1
|
12
|
-
info break
|
13
|
-
break 12
|
14
|
-
condition 2 1 == a
|
15
|
-
# FIXME: should be able to catch error on:
|
16
|
-
# condition 2 if 1 == a
|
17
|
-
disable 1
|
18
|
-
continue
|
19
|
-
info break
|
20
|
-
p a
|
21
|
-
# Now test trying to enable an invalid breakpoint
|
22
|
-
break 6 if a >
|
23
|
-
info break
|
24
|
-
enable 3
|
25
|
-
info break
|
26
|
-
condition 3 a > 5
|
27
|
-
enable 3
|
28
|
-
info break
|
29
|
-
quit
|
data/test/data/condition.right
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# # ********************************************************
|
4
|
-
# # This tests primarily the condition command.
|
5
|
-
# # In order to do this we need to run break, and disable
|
6
|
-
# # ********************************************************
|
7
|
-
# set debuggertesting on
|
8
|
-
Currently testing the debugger is on.
|
9
|
-
# set basename on
|
10
|
-
basename is on.
|
11
|
-
# set callstyle last
|
12
|
-
Frame call-display style is last.
|
13
|
-
# set autoeval off
|
14
|
-
autoeval is off.
|
15
|
-
# break 6 if a > b
|
16
|
-
Breakpoint 1 file gcd.rb, line 6
|
17
|
-
# info break
|
18
|
-
Num Enb What
|
19
|
-
1 y at gcd.rb:6 if a > b
|
20
|
-
# condition 1
|
21
|
-
# info break
|
22
|
-
Num Enb What
|
23
|
-
1 y at gcd.rb:6
|
24
|
-
# break 12
|
25
|
-
Breakpoint 2 file gcd.rb, line 12
|
26
|
-
# condition 2 1 == a
|
27
|
-
# # FIXME: should be able to catch error on:
|
28
|
-
# # condition 2 if 1 == a
|
29
|
-
# disable 1
|
30
|
-
# continue
|
31
|
-
Breakpoint 2 at gcd.rb:12
|
32
|
-
gcd.rb:12
|
33
|
-
if a == 1 or b-a == 0
|
34
|
-
# info break
|
35
|
-
Num Enb What
|
36
|
-
1 n at gcd.rb:6
|
37
|
-
2 y at gcd.rb:12 if 1 == a
|
38
|
-
breakpoint already hit 1 time
|
39
|
-
# p a
|
40
|
-
1
|
41
|
-
# # Now test trying to enable an invalid breakpoint
|
42
|
-
# break 6 if a >
|
43
|
-
Breakpoint 3 file gcd.rb, line 6
|
44
|
-
*** Expression "a > " syntactically incorrect; breakpoint disabled.
|
45
|
-
# info break
|
46
|
-
Num Enb What
|
47
|
-
1 n at gcd.rb:6
|
48
|
-
2 y at gcd.rb:12 if 1 == a
|
49
|
-
breakpoint already hit 1 time
|
50
|
-
3 n at gcd.rb:6 if a >
|
51
|
-
# enable 3
|
52
|
-
*** Expression "a > " syntactically incorrect; breakpoint remains disabled.
|
53
|
-
# info break
|
54
|
-
Num Enb What
|
55
|
-
1 n at gcd.rb:6
|
56
|
-
2 y at gcd.rb:12 if 1 == a
|
57
|
-
breakpoint already hit 1 time
|
58
|
-
3 n at gcd.rb:6 if a >
|
59
|
-
# condition 3 a > 5
|
60
|
-
# enable 3
|
61
|
-
# info break
|
62
|
-
Num Enb What
|
63
|
-
1 n at gcd.rb:6
|
64
|
-
2 y at gcd.rb:12 if 1 == a
|
65
|
-
breakpoint already hit 1 time
|
66
|
-
3 y at gcd.rb:6 if a > 5
|
67
|
-
# quit
|
data/test/data/continue_bad.cmd
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
gcd.rb:4
|
2
|
-
def gcd(a, b)
|
3
|
-
# set debuggertesting on
|
4
|
-
Currently testing the debugger is on.
|
5
|
-
# set callstyle last
|
6
|
-
Frame call-display style is last.
|
7
|
-
# # Invalid line number in continue command
|
8
|
-
# continue 3
|
9
|
-
*** Line 3 is not a stopping point in file "gcd.rb".
|
data/test/data/ctrl.cmd
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
set debuggertesting on
|
2
|
-
set width 80
|
3
|
-
help
|
4
|
-
help info
|
5
|
-
info args
|
6
|
-
info breakpoints
|
7
|
-
info display
|
8
|
-
info program
|
9
|
-
info global_variables
|
10
|
-
info line
|
11
|
-
info locals
|
12
|
-
info stack
|
13
|
-
info threads
|
14
|
-
info variables
|
15
|
-
eval 1+2
|
16
|
-
help show
|
17
|
-
set trace off
|
18
|
-
show trace
|
19
|
-
set trace on
|
20
|
-
set annotate 0
|
21
|
-
show annotate
|
22
|
-
|
23
|
-
|