ruby-debug 0.10.4 → 0.10.5.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/AUTHORS +5 -0
- data/CHANGES +17 -0
- data/ChangeLog +6086 -3711
- data/README +39 -0
- data/Rakefile +67 -82
- data/cli/ruby-debug/commands/breakpoints.rb +4 -2
- data/cli/ruby-debug/commands/edit.rb +3 -2
- data/cli/ruby-debug/commands/info.rb +5 -4
- data/cli/ruby-debug/commands/irb.rb +7 -8
- data/cli/ruby-debug/commands/list.rb +1 -1
- data/cli/ruby-debug/commands/set.rb +7 -1
- data/cli/ruby-debug/commands/show.rb +8 -3
- data/cli/ruby-debug/processor.rb +10 -4
- data/doc/rdebug.1 +1 -1
- data/rdbg.rb +1 -1
- data/test/base/base.rb +7 -4
- data/test/base/binding.rb +3 -12
- data/test/base/catchpoint.rb +2 -9
- data/test/base/load.rb +18 -14
- data/test/base/reload_bug.rb +2 -2
- data/test/cli/commands/catchpoint_test.rb +1 -13
- data/test/cli/commands/unit/regexp.rb +2 -8
- data/test/data/annotate.cmd +2 -2
- data/test/data/annotate.right +8 -8
- data/test/data/at-exit.cmd +4 -0
- data/test/data/at-exit.right +12 -0
- data/test/data/break_bad.cmd +3 -5
- data/test/data/break_bad.right +4 -6
- data/test/data/break_tracelines.cmd +9 -0
- data/test/data/break_tracelines.right +17 -0
- data/test/data/breakpoints-basename.cmd +2 -0
- data/test/data/breakpoints-basename.right +10 -0
- data/test/data/breakpoints.cmd +0 -1
- data/test/data/breakpoints.right +1 -3
- data/test/data/catch.cmd +1 -0
- data/test/data/catch.right +2 -0
- data/test/data/continue_bad.cmd +4 -0
- data/test/data/continue_bad.right +9 -0
- data/test/data/ctrl.right +2 -1
- data/test/data/dollar-0.right +3 -2
- data/test/data/dollar-0a.right +1 -0
- data/test/data/dollar-0b.right +1 -0
- data/test/data/edit.cmd +1 -1
- data/test/data/edit.right +4 -4
- data/test/data/emacs_basic.cmd +1 -34
- data/test/data/emacs_basic.right +10 -92
- data/test/data/frame.cmd +0 -3
- data/test/data/frame.right +0 -4
- data/test/data/info-file-break.cmd +4 -0
- data/test/data/info-file-break.right +11 -0
- data/test/data/info-thread.right +4 -4
- data/test/data/info-var-bug2.right +2 -2
- data/test/data/info.cmd +0 -1
- data/test/data/info.right +1 -5
- data/test/data/linetrace-jruby.right +23 -0
- data/test/data/list.right +13 -13
- data/test/data/output.right +4 -4
- data/test/data/post-mortem-osx.right +5 -4
- data/test/data/quit.right +9 -0
- data/test/data/raise-jruby.right +26 -0
- data/test/data/raise.right +1 -1
- data/test/data/save.cmd +1 -0
- data/test/data/save.right +4 -2
- data/test/data/stepping.cmd +2 -2
- data/test/data/stepping.right +4 -4
- data/test/data/test-init.right +2 -2
- data/test/data/trace-jruby.right +14 -0
- data/test/example/a/example.rb +1 -0
- data/test/example/at-exit.rb +3 -0
- data/test/example/b/example.rb +1 -0
- data/test/{bp_loop_issue.rb → example/bp_loop_issue.rb} +0 -0
- data/test/example/breakpoints-basename.rb +2 -0
- data/test/{brkpt-class-bug.rb → example/brkpt-class-bug.rb} +0 -0
- data/test/{classes.rb → example/classes.rb} +0 -0
- data/test/{dollar-0.rb → example/dollar-0.rb} +1 -0
- data/test/{except-bug1.rb → example/except-bug1.rb} +0 -0
- data/test/file with space.rb b/data/test/example/file with → space.rb +0 -0
- data/test/{gcd.rb → example/gcd.rb} +0 -0
- data/test/{info-var-bug.rb → example/info-var-bug.rb} +0 -0
- data/test/{info-var-bug2.rb → example/info-var-bug2.rb} +0 -0
- data/test/{null.rb → example/null.rb} +0 -0
- data/test/{output.rb → example/output.rb} +0 -0
- data/test/{pm-bug.rb → example/pm-bug.rb} +0 -0
- data/test/{pm.rb → example/pm.rb} +0 -0
- data/test/{raise.rb → example/raise.rb} +0 -0
- data/test/helper.rb +52 -34
- data/test/rdebug-save.1 +2 -2
- data/test/test-annotate.rb +4 -16
- data/test/test-at-exit.rb +13 -0
- data/test/test-break-bad.rb +14 -25
- data/test/test-breakpoints.rb +13 -14
- data/test/test-brkpt-class-bug.rb +3 -16
- data/test/test-catch.rb +3 -15
- data/test/test-condition.rb +3 -15
- data/test/test-display.rb +3 -15
- data/test/test-dollar-0.rb +23 -35
- data/test/test-edit.rb +4 -16
- data/test/test-emacs-basic.rb +4 -17
- data/test/test-enable.rb +3 -15
- data/test/test-except-bug1.rb +6 -21
- data/test/test-file-with-space.rb +3 -15
- data/test/test-finish.rb +11 -23
- data/test/test-frame.rb +14 -20
- data/test/test-hist.rb +6 -10
- data/test/test-info-thread.rb +13 -21
- data/test/test-info-var.rb +20 -37
- data/test/test-info.rb +16 -15
- data/test/test-list.rb +3 -14
- data/test/test-method.rb +9 -23
- data/test/test-output.rb +3 -16
- data/test/test-pm.rb +16 -38
- data/test/test-quit.rb +3 -20
- data/test/test-raise.rb +3 -15
- data/test/test-save.rb +12 -21
- data/test/test-setshow.rb +3 -15
- data/test/test-source.rb +3 -15
- data/test/test-stepping.rb +3 -15
- data/test/test-trace.rb +22 -45
- metadata +199 -159
- data/VERSION +0 -3
- data/cli/ruby-debug/commands/continue.RB +0 -48
- data/cli/ruby-debug/commands/disassemble.RB +0 -38
- data/cli/ruby-debug/commands/raise.RB +0 -41
- data/cli/ruby-debug/commands/source.RB +0 -44
- data/cli/ruby-debug/processor.RB +0 -484
- data/runner.sh +0 -7
- data/test/except-bug2.rb +0 -7
- data/test/scope-test.rb +0 -8
- data/test/tvar.rb +0 -3
data/test/test-save.rb
CHANGED
|
@@ -1,31 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
|
-
require
|
|
3
|
-
|
|
4
|
-
# require 'rubygems'
|
|
5
|
-
# require 'ruby-debug'; Debugger.start(:post_mortem =>true)
|
|
2
|
+
require File.expand_path("../helper", __FILE__)
|
|
6
3
|
|
|
7
4
|
class TestSave < Test::Unit::TestCase
|
|
8
|
-
|
|
9
|
-
@@SRC_DIR = File.dirname(__FILE__) unless
|
|
10
|
-
defined?(@@SRC_DIR)
|
|
11
|
-
|
|
12
|
-
require File.join(@@SRC_DIR, 'helper')
|
|
13
5
|
include TestHelper
|
|
14
6
|
|
|
15
7
|
# Test initial variables and setting/getting state.
|
|
16
8
|
def test_basic
|
|
17
9
|
testname='save'
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
end
|
|
10
|
+
filter = Proc.new{|got_lines, correct_lines|
|
|
11
|
+
got_lines.each do |s|
|
|
12
|
+
s.gsub!(/(\d+) file .*gcd.rb/, '\1 file gcd.rb')
|
|
13
|
+
end
|
|
14
|
+
got_lines.each do |s|
|
|
15
|
+
s.gsub!(/break .*gcd.rb:10/, "break gcd.rb:10")
|
|
16
|
+
end
|
|
17
|
+
}
|
|
18
|
+
script = File.join('data', testname + '.cmd')
|
|
19
|
+
assert(run_debugger(testname, "--script #{script} -- ./example/gcd.rb 3 5",
|
|
20
|
+
:filter => filter))
|
|
30
21
|
end
|
|
31
22
|
end
|
data/test/test-setshow.rb
CHANGED
|
@@ -1,25 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
|
-
require
|
|
3
|
-
|
|
4
|
-
# begin require 'rubygems' rescue LoadError end
|
|
5
|
-
# require 'ruby-debug'; Debugger.start
|
|
2
|
+
require File.expand_path("../helper", __FILE__)
|
|
6
3
|
|
|
7
4
|
class TestSetShow < Test::Unit::TestCase
|
|
8
|
-
|
|
9
|
-
@@SRC_DIR = File.dirname(__FILE__) unless
|
|
10
|
-
defined?(@@SRC_DIR)
|
|
11
|
-
|
|
12
|
-
require File.join(@@SRC_DIR, 'helper')
|
|
13
5
|
include TestHelper
|
|
14
6
|
|
|
15
7
|
# Test initial variables and setting/getting state.
|
|
16
8
|
def test_basic
|
|
17
9
|
testname='setshow'
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
assert_equal(true,
|
|
21
|
-
run_debugger(testname,
|
|
22
|
-
"--script #{script} -- gcd.rb 3 5"))
|
|
23
|
-
end
|
|
10
|
+
script = File.join('data', testname + '.cmd')
|
|
11
|
+
assert(run_debugger(testname, "--script #{script} -- ./example/gcd.rb 3 5"))
|
|
24
12
|
end
|
|
25
13
|
end
|
data/test/test-source.rb
CHANGED
|
@@ -1,25 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
|
-
require
|
|
3
|
-
|
|
4
|
-
# begin require 'rubygems' rescue LoadError end
|
|
5
|
-
# require 'ruby-debug'; Debugger.start
|
|
2
|
+
require File.expand_path("../helper", __FILE__)
|
|
6
3
|
|
|
7
4
|
# Test 'source' command handling.
|
|
8
5
|
class TestSource < Test::Unit::TestCase
|
|
9
|
-
|
|
10
|
-
@@SRC_DIR = File.dirname(__FILE__) unless
|
|
11
|
-
defined?(@@SRC_DIR)
|
|
12
|
-
|
|
13
|
-
require File.join(@@SRC_DIR, 'helper')
|
|
14
6
|
include TestHelper
|
|
15
7
|
|
|
16
8
|
def test_basic
|
|
17
9
|
testname='source'
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
assert_equal(true,
|
|
21
|
-
run_debugger(testname,
|
|
22
|
-
"--script #{script} -- gcd.rb 3 5"))
|
|
23
|
-
end
|
|
10
|
+
script = File.join('data', testname + '.cmd')
|
|
11
|
+
assert(run_debugger(testname, "--script #{script} -- ./example/gcd.rb 3 5"))
|
|
24
12
|
end
|
|
25
13
|
end
|
data/test/test-stepping.rb
CHANGED
|
@@ -1,26 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
|
-
require
|
|
3
|
-
|
|
4
|
-
# begin require 'rubygems' rescue LoadError end
|
|
5
|
-
# require 'ruby-debug'; Debugger.start
|
|
2
|
+
require File.expand_path("../helper", __FILE__)
|
|
6
3
|
|
|
7
4
|
# Test that linetracing does something.
|
|
8
5
|
class TestStepping < Test::Unit::TestCase
|
|
9
|
-
|
|
10
|
-
@@SRC_DIR = File.dirname(__FILE__) unless
|
|
11
|
-
defined?(@@SRC_DIR)
|
|
12
|
-
|
|
13
|
-
require File.join(@@SRC_DIR, 'helper')
|
|
14
6
|
include TestHelper
|
|
15
7
|
|
|
16
8
|
# Test commands in stepping.rb
|
|
17
9
|
def test_basic
|
|
18
10
|
testname='stepping'
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
assert_equal(true,
|
|
22
|
-
run_debugger(testname,
|
|
23
|
-
"--script #{script} -- gcd.rb 3 5"))
|
|
24
|
-
end
|
|
11
|
+
script = File.join('data', testname + '.cmd')
|
|
12
|
+
assert(run_debugger(testname, "--script #{script} -- ./example/gcd.rb 3 5"))
|
|
25
13
|
end
|
|
26
14
|
end
|
data/test/test-trace.rb
CHANGED
|
@@ -1,63 +1,40 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
|
-
require
|
|
2
|
+
require File.expand_path("../helper", __FILE__)
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
# require 'ruby-debug'; Debugger.start
|
|
6
|
-
|
|
7
|
-
# Test 'edit' command handling.
|
|
8
|
-
class TestEdit < Test::Unit::TestCase
|
|
9
|
-
|
|
10
|
-
@@SRC_DIR = File.dirname(__FILE__) unless
|
|
11
|
-
defined?(@@SRC_DIR)
|
|
12
|
-
|
|
13
|
-
require File.join(@@SRC_DIR, 'helper')
|
|
4
|
+
class TestTrace < Test::Unit::TestCase
|
|
14
5
|
include TestHelper
|
|
15
6
|
|
|
16
7
|
def test_trace_option
|
|
17
|
-
|
|
18
8
|
filter = Proc.new{|got_lines, correct_lines|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
end
|
|
9
|
+
got_lines.collect!{|l| l =~ /gcd\.rb:/? l : nil}.compact!
|
|
10
|
+
got_lines.each do |s|
|
|
11
|
+
s.gsub!(/:.*gcd.rb:/, ':gcd.rb:')
|
|
12
|
+
end
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
assert(run_debugger("trace", "-nx --trace ./example/gcd.rb 3 5",
|
|
16
|
+
:filter => filter))
|
|
28
17
|
end
|
|
29
18
|
|
|
30
19
|
def test_linetrace_command
|
|
31
|
-
|
|
32
20
|
filter = Proc.new{|got_lines, correct_lines|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
testname='linetrace'
|
|
37
|
-
Dir.chdir(@@SRC_DIR) do
|
|
38
|
-
script = File.join('data', testname + '.cmd')
|
|
39
|
-
assert_equal(true,
|
|
40
|
-
run_debugger(testname,
|
|
41
|
-
"--script #{script} -- gcd.rb 3 5", nil,
|
|
42
|
-
filter))
|
|
21
|
+
got_lines.reject! {|l| l =~ /:(rdbg|linecache)\.rb:/ }
|
|
22
|
+
}
|
|
43
23
|
|
|
44
|
-
|
|
24
|
+
testname = 'linetrace'
|
|
25
|
+
script = File.join('data', testname + '.cmd')
|
|
26
|
+
assert(run_debugger(testname, "--script #{script} -- ./example/gcd.rb 3 5",
|
|
27
|
+
:filter => filter))
|
|
45
28
|
end
|
|
46
29
|
|
|
47
30
|
def test_linetrace_plus_command
|
|
48
|
-
|
|
49
31
|
filter = Proc.new{|got_lines, correct_lines|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
testname='linetracep'
|
|
54
|
-
Dir.chdir(@@SRC_DIR) do
|
|
55
|
-
script = File.join('data', testname + '.cmd')
|
|
56
|
-
assert_equal(true,
|
|
57
|
-
run_debugger(testname,
|
|
58
|
-
"--script #{script} -- gcd.rb 3 5", nil,
|
|
59
|
-
filter))
|
|
32
|
+
got_lines.reject! {|l| l =~ /:(rdbg|linecache)\.rb:/ }
|
|
33
|
+
}
|
|
60
34
|
|
|
61
|
-
|
|
35
|
+
testname = 'linetracep'
|
|
36
|
+
script = File.join('data', testname + '.cmd')
|
|
37
|
+
assert(run_debugger(testname, "--script #{script} -- ./example/gcd.rb 3 5",
|
|
38
|
+
:filter => filter))
|
|
62
39
|
end
|
|
63
40
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-debug
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 15424159
|
|
5
|
+
prerelease: 7
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 10
|
|
9
|
+
- 5
|
|
10
|
+
- rc
|
|
11
|
+
- 1
|
|
12
|
+
version: 0.10.5.rc1
|
|
5
13
|
platform: ruby
|
|
6
14
|
authors:
|
|
7
15
|
- Kent Sibilev
|
|
@@ -9,29 +17,43 @@ autorequire:
|
|
|
9
17
|
bindir: bin
|
|
10
18
|
cert_chain: []
|
|
11
19
|
|
|
12
|
-
date:
|
|
20
|
+
date: 2011-10-19 00:00:00 -07:00
|
|
13
21
|
default_executable:
|
|
14
22
|
dependencies:
|
|
15
23
|
- !ruby/object:Gem::Dependency
|
|
16
24
|
name: columnize
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
25
|
+
prerelease: false
|
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
27
|
+
none: false
|
|
20
28
|
requirements:
|
|
21
29
|
- - ">="
|
|
22
30
|
- !ruby/object:Gem::Version
|
|
31
|
+
hash: 9
|
|
32
|
+
segments:
|
|
33
|
+
- 0
|
|
34
|
+
- 1
|
|
23
35
|
version: "0.1"
|
|
24
|
-
|
|
36
|
+
type: :runtime
|
|
37
|
+
version_requirements: *id001
|
|
25
38
|
- !ruby/object:Gem::Dependency
|
|
26
39
|
name: ruby-debug-base
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
40
|
+
prerelease: false
|
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
42
|
+
none: false
|
|
30
43
|
requirements:
|
|
31
44
|
- - ~>
|
|
32
45
|
- !ruby/object:Gem::Version
|
|
33
|
-
|
|
34
|
-
|
|
46
|
+
hash: 30848511
|
|
47
|
+
segments:
|
|
48
|
+
- 0
|
|
49
|
+
- 10
|
|
50
|
+
- 5
|
|
51
|
+
- rc
|
|
52
|
+
- 1
|
|
53
|
+
- 0
|
|
54
|
+
version: 0.10.5.rc1.0
|
|
55
|
+
type: :runtime
|
|
56
|
+
version_requirements: *id002
|
|
35
57
|
description: |
|
|
36
58
|
A generic command line interface for ruby-debug.
|
|
37
59
|
|
|
@@ -47,200 +69,208 @@ files:
|
|
|
47
69
|
- CHANGES
|
|
48
70
|
- LICENSE
|
|
49
71
|
- README
|
|
50
|
-
- VERSION
|
|
51
72
|
- Rakefile
|
|
52
|
-
- cli/ruby-debug.rb
|
|
53
|
-
- cli/ruby-debug/processor.RB
|
|
54
|
-
- cli/ruby-debug/helper.rb
|
|
55
|
-
- cli/ruby-debug/debugger.rb
|
|
56
|
-
- cli/ruby-debug/commands/source.rb
|
|
57
|
-
- cli/ruby-debug/commands/set.rb
|
|
58
|
-
- cli/ruby-debug/commands/raise.RB
|
|
73
|
+
- cli/ruby-debug/command.rb
|
|
59
74
|
- cli/ruby-debug/commands/breakpoints.rb
|
|
60
|
-
- cli/ruby-debug/commands/
|
|
75
|
+
- cli/ruby-debug/commands/catchpoint.rb
|
|
76
|
+
- cli/ruby-debug/commands/condition.rb
|
|
77
|
+
- cli/ruby-debug/commands/continue.rb
|
|
78
|
+
- cli/ruby-debug/commands/control.rb
|
|
61
79
|
- cli/ruby-debug/commands/display.rb
|
|
62
|
-
- cli/ruby-debug/commands/
|
|
63
|
-
- cli/ruby-debug/commands/
|
|
80
|
+
- cli/ruby-debug/commands/edit.rb
|
|
81
|
+
- cli/ruby-debug/commands/enable.rb
|
|
82
|
+
- cli/ruby-debug/commands/eval.rb
|
|
83
|
+
- cli/ruby-debug/commands/finish.rb
|
|
64
84
|
- cli/ruby-debug/commands/frame.rb
|
|
65
|
-
- cli/ruby-debug/commands/
|
|
66
|
-
- cli/ruby-debug/commands/
|
|
67
|
-
- cli/ruby-debug/commands/variables.rb
|
|
68
|
-
- cli/ruby-debug/commands/threads.rb
|
|
69
|
-
- cli/ruby-debug/commands/disassemble.RB
|
|
85
|
+
- cli/ruby-debug/commands/help.rb
|
|
86
|
+
- cli/ruby-debug/commands/info.rb
|
|
70
87
|
- cli/ruby-debug/commands/irb.rb
|
|
71
|
-
- cli/ruby-debug/commands/tmate.rb
|
|
72
88
|
- cli/ruby-debug/commands/kill.rb
|
|
73
|
-
- cli/ruby-debug/commands/
|
|
74
|
-
- cli/ruby-debug/commands/quit.rb
|
|
89
|
+
- cli/ruby-debug/commands/list.rb
|
|
75
90
|
- cli/ruby-debug/commands/method.rb
|
|
76
|
-
- cli/ruby-debug/commands/
|
|
77
|
-
- cli/ruby-debug/commands/enable.rb
|
|
78
|
-
- cli/ruby-debug/commands/stepping.rb
|
|
79
|
-
- cli/ruby-debug/commands/edit.rb
|
|
80
|
-
- cli/ruby-debug/commands/help.rb
|
|
91
|
+
- cli/ruby-debug/commands/quit.rb
|
|
81
92
|
- cli/ruby-debug/commands/reload.rb
|
|
82
|
-
- cli/ruby-debug/commands/
|
|
83
|
-
- cli/ruby-debug/commands/
|
|
84
|
-
- cli/ruby-debug/commands/
|
|
85
|
-
- cli/ruby-debug/commands/source.
|
|
86
|
-
- cli/ruby-debug/commands/
|
|
87
|
-
- cli/ruby-debug/commands/
|
|
93
|
+
- cli/ruby-debug/commands/save.rb
|
|
94
|
+
- cli/ruby-debug/commands/set.rb
|
|
95
|
+
- cli/ruby-debug/commands/show.rb
|
|
96
|
+
- cli/ruby-debug/commands/source.rb
|
|
97
|
+
- cli/ruby-debug/commands/stepping.rb
|
|
98
|
+
- cli/ruby-debug/commands/threads.rb
|
|
99
|
+
- cli/ruby-debug/commands/tmate.rb
|
|
100
|
+
- cli/ruby-debug/commands/trace.rb
|
|
101
|
+
- cli/ruby-debug/commands/variables.rb
|
|
102
|
+
- cli/ruby-debug/debugger.rb
|
|
103
|
+
- cli/ruby-debug/helper.rb
|
|
88
104
|
- cli/ruby-debug/interface.rb
|
|
89
|
-
- cli/ruby-debug/command.rb
|
|
90
105
|
- cli/ruby-debug/processor.rb
|
|
106
|
+
- cli/ruby-debug.rb
|
|
91
107
|
- ChangeLog
|
|
92
108
|
- bin/rdebug
|
|
93
109
|
- doc/rdebug.1
|
|
94
110
|
- test/rdebug-save.1
|
|
95
|
-
- test/data/finish.cmd
|
|
96
|
-
- test/data/source.cmd
|
|
97
|
-
- test/data/enable.cmd
|
|
98
|
-
- test/data/ctrl.cmd
|
|
99
111
|
- test/data/annotate.cmd
|
|
100
|
-
- test/data/
|
|
112
|
+
- test/data/at-exit.cmd
|
|
113
|
+
- test/data/break_bad.cmd
|
|
114
|
+
- test/data/break_loop_bug.cmd
|
|
115
|
+
- test/data/break_tracelines.cmd
|
|
116
|
+
- test/data/breakpoints-basename.cmd
|
|
101
117
|
- test/data/breakpoints.cmd
|
|
102
|
-
- test/data/
|
|
103
|
-
- test/data/
|
|
118
|
+
- test/data/brkpt-class-bug.cmd
|
|
119
|
+
- test/data/catch.cmd
|
|
120
|
+
- test/data/condition.cmd
|
|
121
|
+
- test/data/continue_bad.cmd
|
|
122
|
+
- test/data/ctrl.cmd
|
|
104
123
|
- test/data/display.cmd
|
|
124
|
+
- test/data/edit.cmd
|
|
125
|
+
- test/data/emacs_basic.cmd
|
|
126
|
+
- test/data/enable.cmd
|
|
105
127
|
- test/data/except-bug1.cmd
|
|
106
|
-
- test/data/
|
|
128
|
+
- test/data/file-with-space.cmd
|
|
129
|
+
- test/data/finish.cmd
|
|
130
|
+
- test/data/frame.cmd
|
|
131
|
+
- test/data/help.cmd
|
|
132
|
+
- test/data/info-file-break.cmd
|
|
107
133
|
- test/data/info-thread.cmd
|
|
108
|
-
- test/data/
|
|
109
|
-
- test/data/
|
|
110
|
-
- test/data/list.cmd
|
|
134
|
+
- test/data/info-var-bug2.cmd
|
|
135
|
+
- test/data/info-var.cmd
|
|
111
136
|
- test/data/info.cmd
|
|
112
|
-
- test/data/setshow.cmd
|
|
113
|
-
- test/data/catch.cmd
|
|
114
|
-
- test/data/break_bad.cmd
|
|
115
|
-
- test/data/quit.cmd
|
|
116
|
-
- test/data/method.cmd
|
|
117
|
-
- test/data/frame.cmd
|
|
118
|
-
- test/data/save.cmd
|
|
119
|
-
- test/data/raise.cmd
|
|
120
|
-
- test/data/break_loop_bug.cmd
|
|
121
137
|
- test/data/linetrace.cmd
|
|
122
|
-
- test/data/
|
|
123
|
-
- test/data/
|
|
138
|
+
- test/data/linetracep.cmd
|
|
139
|
+
- test/data/list.cmd
|
|
140
|
+
- test/data/method.cmd
|
|
141
|
+
- test/data/methodsig.cmd
|
|
124
142
|
- test/data/output.cmd
|
|
125
|
-
- test/data/condition.cmd
|
|
126
|
-
- test/data/post-mortem.cmd
|
|
127
|
-
- test/data/help.cmd
|
|
128
|
-
- test/data/file-with-space.cmd
|
|
129
143
|
- test/data/pm-bug.cmd
|
|
130
|
-
- test/data/
|
|
131
|
-
- test/data/
|
|
144
|
+
- test/data/post-mortem-next.cmd
|
|
145
|
+
- test/data/post-mortem.cmd
|
|
146
|
+
- test/data/quit.cmd
|
|
147
|
+
- test/data/raise.cmd
|
|
148
|
+
- test/data/save.cmd
|
|
149
|
+
- test/data/setshow.cmd
|
|
150
|
+
- test/data/source.cmd
|
|
151
|
+
- test/data/stepping.cmd
|
|
152
|
+
- test/data/annotate.right
|
|
153
|
+
- test/data/at-exit.right
|
|
154
|
+
- test/data/break_bad.right
|
|
155
|
+
- test/data/break_loop_bug.right
|
|
156
|
+
- test/data/break_tracelines.right
|
|
157
|
+
- test/data/breakpoints-basename.right
|
|
158
|
+
- test/data/breakpoints.right
|
|
159
|
+
- test/data/brkpt-class-bug.right
|
|
132
160
|
- test/data/catch.right
|
|
161
|
+
- test/data/condition.right
|
|
162
|
+
- test/data/continue_bad.right
|
|
163
|
+
- test/data/ctrl.right
|
|
164
|
+
- test/data/display.right
|
|
133
165
|
- test/data/dollar-0.right
|
|
134
|
-
- test/data/
|
|
166
|
+
- test/data/dollar-0a.right
|
|
167
|
+
- test/data/dollar-0b.right
|
|
168
|
+
- test/data/edit.right
|
|
169
|
+
- test/data/emacs_basic.right
|
|
135
170
|
- test/data/enable.right
|
|
136
|
-
- test/data/
|
|
137
|
-
- test/data/
|
|
138
|
-
- test/data/
|
|
139
|
-
- test/data/condition.right
|
|
171
|
+
- test/data/except-bug1.right
|
|
172
|
+
- test/data/file-with-space.right
|
|
173
|
+
- test/data/finish.right
|
|
140
174
|
- test/data/frame.right
|
|
175
|
+
- test/data/help.right
|
|
176
|
+
- test/data/history.right
|
|
177
|
+
- test/data/info-file-break.right
|
|
178
|
+
- test/data/info-thread.right
|
|
179
|
+
- test/data/info-var-bug2.right
|
|
180
|
+
- test/data/info-var.right
|
|
141
181
|
- test/data/info.right
|
|
182
|
+
- test/data/linetrace-jruby.right
|
|
142
183
|
- test/data/linetrace.right
|
|
184
|
+
- test/data/linetracep.right
|
|
185
|
+
- test/data/list.right
|
|
186
|
+
- test/data/method.right
|
|
187
|
+
- test/data/methodsig.right
|
|
188
|
+
- test/data/noquit.right
|
|
189
|
+
- test/data/output.right
|
|
190
|
+
- test/data/pm-bug.right
|
|
143
191
|
- test/data/post-mortem-next.right
|
|
144
|
-
- test/data/
|
|
145
|
-
- test/data/test-init-osx.right
|
|
146
|
-
- test/data/annotate.right
|
|
147
|
-
- test/data/test-init.right
|
|
148
|
-
- test/data/help.right
|
|
192
|
+
- test/data/post-mortem-osx.right
|
|
149
193
|
- test/data/post-mortem.right
|
|
150
|
-
- test/data/pm-bug.right
|
|
151
|
-
- test/data/ctrl.right
|
|
152
|
-
- test/data/trace.right
|
|
153
|
-
- test/data/output.right
|
|
154
|
-
- test/data/noquit.right
|
|
155
|
-
- test/data/test-init-cygwin.right
|
|
156
|
-
- test/data/file-with-space.right
|
|
157
194
|
- test/data/quit.right
|
|
158
|
-
- test/data/
|
|
159
|
-
- test/data/info-var.right
|
|
160
|
-
- test/data/except-bug1.right
|
|
161
|
-
- test/data/info-thread.right
|
|
162
|
-
- test/data/emacs_basic.right
|
|
163
|
-
- test/data/break_loop_bug.right
|
|
164
|
-
- test/data/stepping.right
|
|
165
|
-
- test/data/methodsig.right
|
|
166
|
-
- test/data/dollar-0a.right
|
|
195
|
+
- test/data/raise-jruby.right
|
|
167
196
|
- test/data/raise.right
|
|
168
|
-
- test/data/
|
|
169
|
-
- test/data/finish.right
|
|
170
|
-
- test/data/info-var-bug2.right
|
|
171
|
-
- test/data/breakpoints.right
|
|
172
|
-
- test/data/break_bad.right
|
|
197
|
+
- test/data/save.right
|
|
173
198
|
- test/data/setshow.right
|
|
174
|
-
- test/data/
|
|
175
|
-
- test/data/
|
|
176
|
-
- test/data/
|
|
199
|
+
- test/data/source.right
|
|
200
|
+
- test/data/stepping.right
|
|
201
|
+
- test/data/test-init-cygwin.right
|
|
202
|
+
- test/data/test-init-osx.right
|
|
203
|
+
- test/data/test-init.right
|
|
204
|
+
- test/data/trace-jruby.right
|
|
205
|
+
- test/data/trace.right
|
|
206
|
+
- test/example/at-exit.rb
|
|
207
|
+
- test/example/bp_loop_issue.rb
|
|
208
|
+
- test/example/breakpoints-basename.rb
|
|
209
|
+
- test/example/brkpt-class-bug.rb
|
|
210
|
+
- test/example/classes.rb
|
|
211
|
+
- test/example/dollar-0.rb
|
|
212
|
+
- test/example/except-bug1.rb
|
|
213
|
+
- test/example/file with space.rb
|
|
214
|
+
- test/example/gcd.rb
|
|
215
|
+
- test/example/info-var-bug.rb
|
|
216
|
+
- test/example/info-var-bug2.rb
|
|
217
|
+
- test/example/null.rb
|
|
218
|
+
- test/example/output.rb
|
|
219
|
+
- test/example/pm-bug.rb
|
|
220
|
+
- test/example/pm.rb
|
|
221
|
+
- test/example/raise.rb
|
|
177
222
|
- test/config.yaml
|
|
178
|
-
- test/
|
|
179
|
-
- test/test-trace.rb
|
|
180
|
-
- test/null.rb
|
|
181
|
-
- test/test-enable.rb
|
|
182
|
-
- test/test-emacs-basic.rb
|
|
183
|
-
- test/classes.rb
|
|
184
|
-
- test/test-edit.rb
|
|
185
|
-
- test/info-var-bug.rb
|
|
186
|
-
- test/tdebug.rb
|
|
187
|
-
- test/test-save.rb
|
|
188
|
-
- test/pm.rb
|
|
223
|
+
- test/base/base.rb
|
|
189
224
|
- test/base/binding.rb
|
|
190
|
-
- test/base/reload_bug.rb
|
|
191
225
|
- test/base/catchpoint.rb
|
|
192
|
-
- test/base/base.rb
|
|
193
226
|
- test/base/load.rb
|
|
227
|
+
- test/base/reload_bug.rb
|
|
194
228
|
- test/cli/commands/catchpoint_test.rb
|
|
195
229
|
- test/cli/commands/unit/regexp.rb
|
|
196
|
-
- test/
|
|
197
|
-
- test/
|
|
198
|
-
- test/thread1.rb
|
|
199
|
-
- test/test-source.rb
|
|
200
|
-
- test/test-raise.rb
|
|
201
|
-
- test/brkpt-class-bug.rb
|
|
202
|
-
- test/test-info-var.rb
|
|
203
|
-
- test/except-bug2.rb
|
|
230
|
+
- test/example/a/example.rb
|
|
231
|
+
- test/example/b/example.rb
|
|
204
232
|
- test/gcd-dbg-nox.rb
|
|
205
|
-
- test/
|
|
233
|
+
- test/gcd-dbg.rb
|
|
206
234
|
- test/helper.rb
|
|
207
|
-
- test/
|
|
208
|
-
- test/
|
|
209
|
-
- test/
|
|
235
|
+
- test/pm-base.rb
|
|
236
|
+
- test/tdebug.rb
|
|
237
|
+
- test/test-annotate.rb
|
|
238
|
+
- test/test-at-exit.rb
|
|
210
239
|
- test/test-break-bad.rb
|
|
211
|
-
- test/
|
|
212
|
-
- test/test-
|
|
213
|
-
- test/
|
|
214
|
-
- test/test-
|
|
215
|
-
- test/
|
|
240
|
+
- test/test-breakpoints.rb
|
|
241
|
+
- test/test-brkpt-class-bug.rb
|
|
242
|
+
- test/test-catch.rb
|
|
243
|
+
- test/test-condition.rb
|
|
244
|
+
- test/test-ctrl.rb
|
|
245
|
+
- test/test-display.rb
|
|
216
246
|
- test/test-dollar-0.rb
|
|
247
|
+
- test/test-edit.rb
|
|
248
|
+
- test/test-emacs-basic.rb
|
|
249
|
+
- test/test-enable.rb
|
|
217
250
|
- test/test-except-bug1.rb
|
|
218
|
-
- test/file with space.rb
|
|
219
|
-
- test/info-var-bug2.rb
|
|
220
251
|
- test/test-file-with-space.rb
|
|
221
|
-
- test/test-quit.rb
|
|
222
|
-
- test/except-bug1.rb
|
|
223
|
-
- test/tvar.rb
|
|
224
|
-
- test/dollar-0.rb
|
|
225
|
-
- test/pm-base.rb
|
|
226
|
-
- test/test-list.rb
|
|
227
|
-
- test/test-info-thread.rb
|
|
228
252
|
- test/test-finish.rb
|
|
229
|
-
- test/test-
|
|
230
|
-
- test/test-pm.rb
|
|
253
|
+
- test/test-frame.rb
|
|
231
254
|
- test/test-help.rb
|
|
232
|
-
- test/test-init.rb
|
|
233
|
-
- test/test-method.rb
|
|
234
255
|
- test/test-hist.rb
|
|
235
|
-
- test/test-
|
|
236
|
-
- test/
|
|
237
|
-
- test/test-annotate.rb
|
|
238
|
-
- test/output.rb
|
|
239
|
-
- test/test-brkpt-class-bug.rb
|
|
240
|
-
- test/test-display.rb
|
|
256
|
+
- test/test-info-thread.rb
|
|
257
|
+
- test/test-info-var.rb
|
|
241
258
|
- test/test-info.rb
|
|
259
|
+
- test/test-init.rb
|
|
260
|
+
- test/test-list.rb
|
|
261
|
+
- test/test-method.rb
|
|
262
|
+
- test/test-output.rb
|
|
263
|
+
- test/test-pm.rb
|
|
264
|
+
- test/test-quit.rb
|
|
265
|
+
- test/test-raise.rb
|
|
266
|
+
- test/test-save.rb
|
|
267
|
+
- test/test-setshow.rb
|
|
268
|
+
- test/test-source.rb
|
|
269
|
+
- test/test-stepping.rb
|
|
270
|
+
- test/test-trace.rb
|
|
271
|
+
- test/thread1.rb
|
|
272
|
+
- test/trunc-call.rb
|
|
242
273
|
- rdbg.rb
|
|
243
|
-
- runner.sh
|
|
244
274
|
has_rdoc: true
|
|
245
275
|
homepage: http://rubyforge.org/projects/ruby-debug/
|
|
246
276
|
licenses: []
|
|
@@ -251,21 +281,31 @@ rdoc_options: []
|
|
|
251
281
|
require_paths:
|
|
252
282
|
- cli
|
|
253
283
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
284
|
+
none: false
|
|
254
285
|
requirements:
|
|
255
286
|
- - ">="
|
|
256
287
|
- !ruby/object:Gem::Version
|
|
288
|
+
hash: 51
|
|
289
|
+
segments:
|
|
290
|
+
- 1
|
|
291
|
+
- 8
|
|
292
|
+
- 2
|
|
257
293
|
version: 1.8.2
|
|
258
|
-
version:
|
|
259
294
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
|
+
none: false
|
|
260
296
|
requirements:
|
|
261
|
-
- - "
|
|
297
|
+
- - ">"
|
|
262
298
|
- !ruby/object:Gem::Version
|
|
263
|
-
|
|
264
|
-
|
|
299
|
+
hash: 25
|
|
300
|
+
segments:
|
|
301
|
+
- 1
|
|
302
|
+
- 3
|
|
303
|
+
- 1
|
|
304
|
+
version: 1.3.1
|
|
265
305
|
requirements: []
|
|
266
306
|
|
|
267
307
|
rubyforge_project: ruby-debug
|
|
268
|
-
rubygems_version: 1.
|
|
308
|
+
rubygems_version: 1.6.2
|
|
269
309
|
signing_key:
|
|
270
310
|
specification_version: 3
|
|
271
311
|
summary: Command line interface (CLI) for ruby-debug-base
|