byebug 0.0.1
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/.gitignore +10 -0
- data/.travis.yml +8 -0
- data/AUTHORS +10 -0
- data/CHANGELOG.md +2 -0
- data/CONTRIBUTING.md +1 -0
- data/Gemfile +3 -0
- data/LICENSE +20 -0
- data/README.md +5 -0
- data/Rakefile +28 -0
- data/bin/byebug +395 -0
- data/byebug.gemspec +29 -0
- data/doc/hanoi.rb +35 -0
- data/doc/primes.rb +28 -0
- data/doc/rdebug-emacs.texi +1030 -0
- data/doc/test-tri2.rb +18 -0
- data/doc/tri3.rb +8 -0
- data/doc/triangle.rb +12 -0
- data/ext/byebug/breakpoint.c +476 -0
- data/ext/byebug/byebug.c +512 -0
- data/ext/byebug/byebug.h +131 -0
- data/ext/byebug/context.c +424 -0
- data/ext/byebug/extconf.rb +21 -0
- data/ext/byebug/locker.c +53 -0
- data/lib/byebug.rb +404 -0
- data/lib/byebug/command.rb +232 -0
- data/lib/byebug/commands/breakpoints.rb +153 -0
- data/lib/byebug/commands/catchpoint.rb +56 -0
- data/lib/byebug/commands/condition.rb +49 -0
- data/lib/byebug/commands/continue.rb +38 -0
- data/lib/byebug/commands/control.rb +110 -0
- data/lib/byebug/commands/display.rb +122 -0
- data/lib/byebug/commands/edit.rb +48 -0
- data/lib/byebug/commands/enable.rb +202 -0
- data/lib/byebug/commands/eval.rb +176 -0
- data/lib/byebug/commands/finish.rb +43 -0
- data/lib/byebug/commands/frame.rb +303 -0
- data/lib/byebug/commands/help.rb +56 -0
- data/lib/byebug/commands/info.rb +462 -0
- data/lib/byebug/commands/irb.rb +123 -0
- data/lib/byebug/commands/jump.rb +66 -0
- data/lib/byebug/commands/kill.rb +51 -0
- data/lib/byebug/commands/list.rb +94 -0
- data/lib/byebug/commands/method.rb +84 -0
- data/lib/byebug/commands/quit.rb +39 -0
- data/lib/byebug/commands/reload.rb +40 -0
- data/lib/byebug/commands/save.rb +90 -0
- data/lib/byebug/commands/set.rb +210 -0
- data/lib/byebug/commands/show.rb +246 -0
- data/lib/byebug/commands/skip.rb +35 -0
- data/lib/byebug/commands/source.rb +36 -0
- data/lib/byebug/commands/stepping.rb +83 -0
- data/lib/byebug/commands/threads.rb +189 -0
- data/lib/byebug/commands/tmate.rb +36 -0
- data/lib/byebug/commands/trace.rb +56 -0
- data/lib/byebug/commands/variables.rb +199 -0
- data/lib/byebug/context.rb +58 -0
- data/lib/byebug/helper.rb +69 -0
- data/lib/byebug/interface.rb +223 -0
- data/lib/byebug/processor.rb +468 -0
- data/lib/byebug/version.rb +3 -0
- data/man/rdebug.1 +241 -0
- data/test/breakpoints_test.rb +357 -0
- data/test/conditions_test.rb +77 -0
- data/test/continue_test.rb +44 -0
- data/test/display_test.rb +141 -0
- data/test/edit_test.rb +56 -0
- data/test/eval_test.rb +92 -0
- data/test/examples/breakpoint1.rb +15 -0
- data/test/examples/breakpoint2.rb +7 -0
- data/test/examples/conditions.rb +4 -0
- data/test/examples/continue.rb +4 -0
- data/test/examples/display.rb +5 -0
- data/test/examples/edit.rb +3 -0
- data/test/examples/edit2.rb +3 -0
- data/test/examples/eval.rb +4 -0
- data/test/examples/finish.rb +20 -0
- data/test/examples/frame.rb +20 -0
- data/test/examples/frame_threads.rb +31 -0
- data/test/examples/help.rb +2 -0
- data/test/examples/info.rb +38 -0
- data/test/examples/info2.rb +3 -0
- data/test/examples/info_threads.rb +48 -0
- data/test/examples/irb.rb +6 -0
- data/test/examples/jump.rb +14 -0
- data/test/examples/kill.rb +2 -0
- data/test/examples/list.rb +12 -0
- data/test/examples/method.rb +15 -0
- data/test/examples/post_mortem.rb +19 -0
- data/test/examples/quit.rb +2 -0
- data/test/examples/reload.rb +6 -0
- data/test/examples/restart.rb +6 -0
- data/test/examples/save.rb +3 -0
- data/test/examples/set.rb +3 -0
- data/test/examples/set_annotate.rb +12 -0
- data/test/examples/settings.rb +1 -0
- data/test/examples/show.rb +2 -0
- data/test/examples/source.rb +3 -0
- data/test/examples/stepping.rb +21 -0
- data/test/examples/thread.rb +32 -0
- data/test/examples/tmate.rb +10 -0
- data/test/examples/trace.rb +7 -0
- data/test/examples/trace_threads.rb +20 -0
- data/test/examples/variables.rb +26 -0
- data/test/finish_test.rb +48 -0
- data/test/frame_test.rb +143 -0
- data/test/help_test.rb +50 -0
- data/test/info_test.rb +313 -0
- data/test/irb_test.rb +81 -0
- data/test/jump_test.rb +70 -0
- data/test/kill_test.rb +48 -0
- data/test/list_test.rb +145 -0
- data/test/method_test.rb +70 -0
- data/test/post_mortem_test.rb +27 -0
- data/test/quit_test.rb +56 -0
- data/test/reload_test.rb +44 -0
- data/test/restart_test.rb +164 -0
- data/test/save_test.rb +92 -0
- data/test/set_test.rb +177 -0
- data/test/show_test.rb +293 -0
- data/test/source_test.rb +45 -0
- data/test/stepping_test.rb +130 -0
- data/test/support/breakpoint.rb +13 -0
- data/test/support/context.rb +14 -0
- data/test/support/matchers.rb +67 -0
- data/test/support/mocha_extensions.rb +72 -0
- data/test/support/processor.rb +7 -0
- data/test/support/test_dsl.rb +206 -0
- data/test/support/test_interface.rb +68 -0
- data/test/test_helper.rb +10 -0
- data/test/tmate_test.rb +44 -0
- data/test/trace_test.rb +159 -0
- data/test/variables_test.rb +119 -0
- metadata +265 -0
data/test/test_helper.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'pathname'
|
2
|
+
require 'minitest/autorun'
|
3
|
+
require 'mocha/setup'
|
4
|
+
require 'byebug'
|
5
|
+
|
6
|
+
Dir.glob(File.expand_path("../support/*.rb", __FILE__)).each { |f| require f }
|
7
|
+
|
8
|
+
# General settings for all tests
|
9
|
+
Byebug::Command.settings[:byebugtesting] = true
|
10
|
+
Byebug.annotate = 2
|
data/test/tmate_test.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
if RUBY_PLATFORM =~ /darwin/
|
2
|
+
require_relative 'test_helper'
|
3
|
+
|
4
|
+
describe "Tmate Command" do
|
5
|
+
include TestDsl
|
6
|
+
|
7
|
+
it "must open a current file with current frame in Textmate" do
|
8
|
+
Byebug::TextMateCommand.any_instance.expects(:`).with("open 'txmt://open?url=file://#{fullpath('tmate')}&line=7'")
|
9
|
+
enter 'break 7', 'cont', 'tmate'
|
10
|
+
debug_file 'tmate'
|
11
|
+
end
|
12
|
+
|
13
|
+
it "must open a current file with specified frame in Textmate" do
|
14
|
+
Byebug::TextMateCommand.any_instance.expects(:`).with("open 'txmt://open?url=file://#{fullpath('tmate')}&line=4'")
|
15
|
+
enter 'break 7', 'cont', 'tmate 2'
|
16
|
+
debug_file 'tmate'
|
17
|
+
end
|
18
|
+
|
19
|
+
describe "errors" do
|
20
|
+
it "must show an error message if frame == 0" do
|
21
|
+
enter 'tmate 0'
|
22
|
+
debug_file 'tmate'
|
23
|
+
check_output_includes "Wrong frame number"
|
24
|
+
end
|
25
|
+
|
26
|
+
it "must show an error message if frame > max frame" do
|
27
|
+
enter 'tmate 10'
|
28
|
+
debug_file 'tmate'
|
29
|
+
check_output_includes "Wrong frame number"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
describe "Post Mortem" do
|
34
|
+
it "must work in post-mortem mode" do
|
35
|
+
skip("No post morten mode for now")
|
36
|
+
#Byebug::TextMateCommand.any_instance.expects(:`).with(
|
37
|
+
# "open 'txmt://open?url=file://#{fullpath('post_mortem')}&line=8'"
|
38
|
+
#)
|
39
|
+
#enter 'cont', 'tmate'
|
40
|
+
#debug_file 'post_mortem'
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
data/test/trace_test.rb
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
require_relative 'test_helper'
|
2
|
+
|
3
|
+
describe "Trace Command" do
|
4
|
+
|
5
|
+
extend TestDsl::ClassMethods
|
6
|
+
temporary_set_const(Byebug, "PROG_SCRIPT", fullpath('trace'))
|
7
|
+
temporary_change_hash_value(Byebug::Command.settings, :basename, false)
|
8
|
+
temporary_change_method_value(Byebug::Command.settings, :tracing, false)
|
9
|
+
before { untrace_var(:$bla) if defined?($bla) }
|
10
|
+
|
11
|
+
include TestDsl
|
12
|
+
|
13
|
+
describe "tracing" do
|
14
|
+
|
15
|
+
describe "enabling" do
|
16
|
+
it "must trace execution by setting trace to on" do
|
17
|
+
temporary_set_const(Byebug, "PROG_SCRIPT", fullpath('trace')) do
|
18
|
+
enter 'trace on'
|
19
|
+
debug_file('trace')
|
20
|
+
check_output_includes(
|
21
|
+
"Tracing:#{fullpath('trace')}:4 @break1 = false",
|
22
|
+
"Tracing:#{fullpath('trace')}:5 @break2 = false"
|
23
|
+
)
|
24
|
+
check_output_doesnt_include /Tracing:#{fullpath('trace')}:8 until @break1/
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
it "must show a message it is on" do
|
29
|
+
enter 'trace on'
|
30
|
+
debug_file 'trace'
|
31
|
+
check_output_includes "Tracing on on current thread."
|
32
|
+
end
|
33
|
+
|
34
|
+
it "must be able to use a shortcut" do
|
35
|
+
enter 'tr on'
|
36
|
+
debug_file 'trace'
|
37
|
+
check_output_includes "Tracing on on current thread."
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
it "must show an error message if given subcommand is incorrect" do
|
42
|
+
enter 'trace bla'
|
43
|
+
debug_file 'trace'
|
44
|
+
check_output_includes "expecting 'on', 'off', 'var' or 'variable'; got: bla", interface.error_queue
|
45
|
+
end
|
46
|
+
|
47
|
+
describe "disabling" do
|
48
|
+
it "must stop tracing by setting trace to off" do
|
49
|
+
thnum = nil
|
50
|
+
enter 'trace on', 'next', 'trace off'
|
51
|
+
debug_file('trace')
|
52
|
+
check_output_includes "Tracing:#{fullpath('trace')}:4 $bla = 4"
|
53
|
+
check_output_doesnt_include "Tracing:#{fullpath('trace')}:5 $bla = 5"
|
54
|
+
end
|
55
|
+
|
56
|
+
it "must show a message it is off" do
|
57
|
+
enter 'trace off'
|
58
|
+
debug_file 'trace'
|
59
|
+
check_output_includes "Tracing off on current thread."
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
#
|
65
|
+
# XXX: No thread support
|
66
|
+
#
|
67
|
+
# describe "tracing on all thread" do
|
68
|
+
# describe "enabling" do
|
69
|
+
# it "must trace execution by setting trace to on" do
|
70
|
+
# temporary_set_const(Byebug, "PROG_SCRIPT", fullpath('trace_threads')) do
|
71
|
+
# thnum = nil
|
72
|
+
# enter 'trace on all'
|
73
|
+
# debug_file('trace_threads') { thnum = context.thnum }
|
74
|
+
# check_output_includes(
|
75
|
+
# "Tracing(#{thnum}):#{fullpath('trace_threads')}:4 @break1 = false",
|
76
|
+
# "Tracing(#{thnum}):#{fullpath('trace_threads')}:5 @break2 = false"
|
77
|
+
# )
|
78
|
+
# check_output_includes /Tracing\(\d+\):#{fullpath('trace_threads')}:8 until @break1/
|
79
|
+
# end
|
80
|
+
# end
|
81
|
+
|
82
|
+
# it "must show a message it is on" do
|
83
|
+
# enter 'trace on all'
|
84
|
+
# debug_file 'trace'
|
85
|
+
# check_output_includes "Tracing on all threads."
|
86
|
+
# end
|
87
|
+
# end
|
88
|
+
|
89
|
+
# describe "disabling" do
|
90
|
+
# it "must stop tracing by setting trace to off" do
|
91
|
+
# temporary_set_const(Byebug, "PROG_SCRIPT", fullpath('trace_threads')) do
|
92
|
+
# thnum = nil
|
93
|
+
# enter 'trace on all', 'break 19', 'cont', 'trace off all'
|
94
|
+
# debug_file('trace_threads') { thnum = context.thnum }
|
95
|
+
# check_output_includes /Tracing\(\d+\):#{fullpath('trace_threads')}:8 until @break1/
|
96
|
+
# check_output_includes "Tracing(#{thnum}):#{fullpath('trace_threads')}:19 t1.join"
|
97
|
+
# check_output_doesnt_include "Tracing(#{thnum}):#{fullpath('trace_threads')}:20 t1"
|
98
|
+
# end
|
99
|
+
# end
|
100
|
+
|
101
|
+
# it "must show a message it is off" do
|
102
|
+
# enter 'trace off'
|
103
|
+
# debug_file 'trace'
|
104
|
+
# check_output_includes "Tracing off on current thread."
|
105
|
+
# end
|
106
|
+
# end
|
107
|
+
# end
|
108
|
+
|
109
|
+
describe "tracing global variables" do
|
110
|
+
it "must track global variable" do
|
111
|
+
enter 'trace variable $bla'
|
112
|
+
debug_file 'trace'
|
113
|
+
check_output_includes(
|
114
|
+
"traced variable $bla has value 3",
|
115
|
+
"traced variable $bla has value 7",
|
116
|
+
)
|
117
|
+
end
|
118
|
+
|
119
|
+
it "must be able to use a shortcut" do
|
120
|
+
enter 'trace var $bla'
|
121
|
+
debug_file 'trace'
|
122
|
+
check_output_includes "traced variable $bla has value 3"
|
123
|
+
end
|
124
|
+
|
125
|
+
it "must track global variable with stop" do
|
126
|
+
enter 'trace variable $bla stop', 'break 7', 'cont'
|
127
|
+
debug_file('trace') { state.line.must_equal 4 }
|
128
|
+
end
|
129
|
+
|
130
|
+
it "must track global variable with nostop" do
|
131
|
+
enter 'trace variable $bla nostop', 'break 7', 'cont'
|
132
|
+
debug_file('trace') { state.line.must_equal 7 }
|
133
|
+
end
|
134
|
+
|
135
|
+
describe "errors" do
|
136
|
+
it "must show an error message if there is no such global variable" do
|
137
|
+
enter 'trace variable $foo'
|
138
|
+
debug_file 'trace'
|
139
|
+
check_output_includes "$foo is not a global variable.", interface.error_queue
|
140
|
+
end
|
141
|
+
|
142
|
+
it "must show an error message if subcommand is invalid" do
|
143
|
+
enter 'trace variable $bla foo'
|
144
|
+
debug_file 'trace'
|
145
|
+
check_output_includes "expecting 'stop' or 'nostop'; got foo", interface.error_queue
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
describe "Post Mortem" do
|
151
|
+
it "must work in post-mortem mode" do
|
152
|
+
skip("No post morten mode for now")
|
153
|
+
#enter 'cont', 'trace on'
|
154
|
+
#debug_file 'post_mortem'
|
155
|
+
#check_output_includes "Tracing on on current thread."
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
end
|
@@ -0,0 +1,119 @@
|
|
1
|
+
require_relative 'test_helper'
|
2
|
+
|
3
|
+
describe "Variables Command" do
|
4
|
+
|
5
|
+
extend TestDsl::ClassMethods
|
6
|
+
|
7
|
+
temporary_change_hash_value(Byebug::Command.settings, :width, 40)
|
8
|
+
|
9
|
+
include TestDsl
|
10
|
+
|
11
|
+
describe "class variables" do
|
12
|
+
it "must show variables" do
|
13
|
+
enter 'break 19', 'cont', 'var class'
|
14
|
+
debug_file 'variables'
|
15
|
+
check_output_includes "@@class_c = 3"
|
16
|
+
end
|
17
|
+
|
18
|
+
it "must be able to use shortcut" do
|
19
|
+
enter 'break 19', 'cont', 'v cl'
|
20
|
+
debug_file 'variables'
|
21
|
+
check_output_includes "@@class_c = 3"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
describe "constants" do
|
26
|
+
it "must show constants" do
|
27
|
+
enter 'break 25', 'cont', 'var const VariablesExample'
|
28
|
+
debug_file 'variables'
|
29
|
+
check_output_includes 'SOMECONST => "foo"'
|
30
|
+
end
|
31
|
+
|
32
|
+
it "must be able to use shortcut" do
|
33
|
+
enter 'break 25', 'cont', 'v co VariablesExample'
|
34
|
+
debug_file 'variables'
|
35
|
+
check_output_includes 'SOMECONST => "foo"'
|
36
|
+
end
|
37
|
+
|
38
|
+
it "must show an error message if the given object is not a Class or Module" do
|
39
|
+
enter 'break 25', 'cont', 'var const v'
|
40
|
+
debug_file 'variables'
|
41
|
+
check_output_includes "Should be Class/Module: v"
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe "globals" do
|
46
|
+
it "must show global variables" do
|
47
|
+
enter 'break 25', 'cont', 'var global'
|
48
|
+
debug_file 'variables'
|
49
|
+
check_output_includes '$glob = 100'
|
50
|
+
end
|
51
|
+
|
52
|
+
it "must be able to use shortcut" do
|
53
|
+
enter 'break 25', 'cont', 'v g'
|
54
|
+
debug_file 'variables'
|
55
|
+
check_output_includes '$glob = 100'
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe "instance variables" do
|
60
|
+
it "must show instance variables of the given object" do
|
61
|
+
enter 'break 25', 'cont', 'var instance v'
|
62
|
+
debug_file 'variables'
|
63
|
+
check_output_includes "@inst_a = 1", "@inst_b = 2"
|
64
|
+
end
|
65
|
+
|
66
|
+
it "must show instance variables of self" do
|
67
|
+
enter 'break 11', 'cont', 'var instance'
|
68
|
+
debug_file 'variables'
|
69
|
+
check_output_includes "@inst_a = 1", "@inst_b = 2"
|
70
|
+
end
|
71
|
+
|
72
|
+
it "must show instance variables" do
|
73
|
+
enter 'break 25', 'cont', 'var instance v'
|
74
|
+
debug_file 'variables'
|
75
|
+
check_output_includes "@inst_a = 1", "@inst_b = 2"
|
76
|
+
end
|
77
|
+
|
78
|
+
it "must be able to use shortcut" do
|
79
|
+
enter 'break 25', 'cont', 'v ins v'
|
80
|
+
debug_file 'variables'
|
81
|
+
check_output_includes "@inst_a = 1", "@inst_b = 2"
|
82
|
+
end
|
83
|
+
|
84
|
+
it "must cut long variable values according to :width setting" do
|
85
|
+
temporary_change_hash_value(Byebug::Command.settings, :width, 20) do
|
86
|
+
enter 'break 25', 'cont', 'var instance v'
|
87
|
+
debug_file 'variables'
|
88
|
+
check_output_includes '@inst_c = "1111111111111111...'
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
it "must show fallback message if value doesn't have #to_s or #inspect methods" do
|
93
|
+
enter 'break 25', 'cont', 'var instance v'
|
94
|
+
debug_file 'variables'
|
95
|
+
check_output_includes '@inst_d = *Error in evaluation*'
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
describe "local variables" do
|
100
|
+
it "must show local variables" do
|
101
|
+
enter 'break 17', 'cont', 'var local'
|
102
|
+
debug_file 'variables'
|
103
|
+
check_output_includes "a => 4", "b => nil", "i => 1"
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# TODO: Need to write tests for 'var ct' command, but I can't install the
|
108
|
+
# 'ruby-internal' gem on my machine, it fails to build gem native extension.
|
109
|
+
|
110
|
+
describe "Post Mortem" do
|
111
|
+
it "must work in post-mortem mode" do
|
112
|
+
skip("No post morten mode for now")
|
113
|
+
#enter 'cont', 'var local'
|
114
|
+
#debug_file 'post_mortem'
|
115
|
+
#check_output_includes "x => nil", "z => 4"
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
metadata
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: byebug
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- David Rodríguez
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-03-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: columnize
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.3.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.3.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: debugger-linecache
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.2.0
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.2.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rake
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 10.0.3
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 10.0.3
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rake-compiler
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.8.3
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.8.3
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: mocha
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.13.3
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.13.3
|
94
|
+
description: |
|
95
|
+
Byebug is a Ruby 2.0 debugger. It's implemented using the
|
96
|
+
Ruby 2.0 TracePoint C API. The C extension was forked from debase whereas
|
97
|
+
the rest of the gem was forked from debugger. The core component provides
|
98
|
+
support that front-ends can build on. It provides breakpoint handling,
|
99
|
+
bindings for stack frames among other things.
|
100
|
+
email: deivid.rodriguez@mail.com
|
101
|
+
executables:
|
102
|
+
- byebug
|
103
|
+
extensions:
|
104
|
+
- ext/byebug/extconf.rb
|
105
|
+
extra_rdoc_files:
|
106
|
+
- README.md
|
107
|
+
files:
|
108
|
+
- .gitignore
|
109
|
+
- .travis.yml
|
110
|
+
- AUTHORS
|
111
|
+
- CHANGELOG.md
|
112
|
+
- CONTRIBUTING.md
|
113
|
+
- Gemfile
|
114
|
+
- LICENSE
|
115
|
+
- README.md
|
116
|
+
- Rakefile
|
117
|
+
- byebug.gemspec
|
118
|
+
- doc/hanoi.rb
|
119
|
+
- doc/primes.rb
|
120
|
+
- doc/rdebug-emacs.texi
|
121
|
+
- doc/test-tri2.rb
|
122
|
+
- doc/tri3.rb
|
123
|
+
- doc/triangle.rb
|
124
|
+
- ext/byebug/breakpoint.c
|
125
|
+
- ext/byebug/byebug.c
|
126
|
+
- ext/byebug/byebug.h
|
127
|
+
- ext/byebug/context.c
|
128
|
+
- ext/byebug/extconf.rb
|
129
|
+
- ext/byebug/locker.c
|
130
|
+
- lib/byebug.rb
|
131
|
+
- lib/byebug/command.rb
|
132
|
+
- lib/byebug/commands/breakpoints.rb
|
133
|
+
- lib/byebug/commands/catchpoint.rb
|
134
|
+
- lib/byebug/commands/condition.rb
|
135
|
+
- lib/byebug/commands/continue.rb
|
136
|
+
- lib/byebug/commands/control.rb
|
137
|
+
- lib/byebug/commands/display.rb
|
138
|
+
- lib/byebug/commands/edit.rb
|
139
|
+
- lib/byebug/commands/enable.rb
|
140
|
+
- lib/byebug/commands/eval.rb
|
141
|
+
- lib/byebug/commands/finish.rb
|
142
|
+
- lib/byebug/commands/frame.rb
|
143
|
+
- lib/byebug/commands/help.rb
|
144
|
+
- lib/byebug/commands/info.rb
|
145
|
+
- lib/byebug/commands/irb.rb
|
146
|
+
- lib/byebug/commands/jump.rb
|
147
|
+
- lib/byebug/commands/kill.rb
|
148
|
+
- lib/byebug/commands/list.rb
|
149
|
+
- lib/byebug/commands/method.rb
|
150
|
+
- lib/byebug/commands/quit.rb
|
151
|
+
- lib/byebug/commands/reload.rb
|
152
|
+
- lib/byebug/commands/save.rb
|
153
|
+
- lib/byebug/commands/set.rb
|
154
|
+
- lib/byebug/commands/show.rb
|
155
|
+
- lib/byebug/commands/skip.rb
|
156
|
+
- lib/byebug/commands/source.rb
|
157
|
+
- lib/byebug/commands/stepping.rb
|
158
|
+
- lib/byebug/commands/threads.rb
|
159
|
+
- lib/byebug/commands/tmate.rb
|
160
|
+
- lib/byebug/commands/trace.rb
|
161
|
+
- lib/byebug/commands/variables.rb
|
162
|
+
- lib/byebug/context.rb
|
163
|
+
- lib/byebug/helper.rb
|
164
|
+
- lib/byebug/interface.rb
|
165
|
+
- lib/byebug/processor.rb
|
166
|
+
- lib/byebug/version.rb
|
167
|
+
- man/rdebug.1
|
168
|
+
- test/breakpoints_test.rb
|
169
|
+
- test/conditions_test.rb
|
170
|
+
- test/continue_test.rb
|
171
|
+
- test/display_test.rb
|
172
|
+
- test/edit_test.rb
|
173
|
+
- test/eval_test.rb
|
174
|
+
- test/examples/breakpoint1.rb
|
175
|
+
- test/examples/breakpoint2.rb
|
176
|
+
- test/examples/conditions.rb
|
177
|
+
- test/examples/continue.rb
|
178
|
+
- test/examples/display.rb
|
179
|
+
- test/examples/edit.rb
|
180
|
+
- test/examples/edit2.rb
|
181
|
+
- test/examples/eval.rb
|
182
|
+
- test/examples/finish.rb
|
183
|
+
- test/examples/frame.rb
|
184
|
+
- test/examples/frame_threads.rb
|
185
|
+
- test/examples/help.rb
|
186
|
+
- test/examples/info.rb
|
187
|
+
- test/examples/info2.rb
|
188
|
+
- test/examples/info_threads.rb
|
189
|
+
- test/examples/irb.rb
|
190
|
+
- test/examples/jump.rb
|
191
|
+
- test/examples/kill.rb
|
192
|
+
- test/examples/list.rb
|
193
|
+
- test/examples/method.rb
|
194
|
+
- test/examples/post_mortem.rb
|
195
|
+
- test/examples/quit.rb
|
196
|
+
- test/examples/reload.rb
|
197
|
+
- test/examples/restart.rb
|
198
|
+
- test/examples/save.rb
|
199
|
+
- test/examples/set.rb
|
200
|
+
- test/examples/set_annotate.rb
|
201
|
+
- test/examples/settings.rb
|
202
|
+
- test/examples/show.rb
|
203
|
+
- test/examples/source.rb
|
204
|
+
- test/examples/stepping.rb
|
205
|
+
- test/examples/thread.rb
|
206
|
+
- test/examples/tmate.rb
|
207
|
+
- test/examples/trace.rb
|
208
|
+
- test/examples/trace_threads.rb
|
209
|
+
- test/examples/variables.rb
|
210
|
+
- test/finish_test.rb
|
211
|
+
- test/frame_test.rb
|
212
|
+
- test/help_test.rb
|
213
|
+
- test/info_test.rb
|
214
|
+
- test/irb_test.rb
|
215
|
+
- test/jump_test.rb
|
216
|
+
- test/kill_test.rb
|
217
|
+
- test/list_test.rb
|
218
|
+
- test/method_test.rb
|
219
|
+
- test/post_mortem_test.rb
|
220
|
+
- test/quit_test.rb
|
221
|
+
- test/reload_test.rb
|
222
|
+
- test/restart_test.rb
|
223
|
+
- test/save_test.rb
|
224
|
+
- test/set_test.rb
|
225
|
+
- test/show_test.rb
|
226
|
+
- test/source_test.rb
|
227
|
+
- test/stepping_test.rb
|
228
|
+
- test/support/breakpoint.rb
|
229
|
+
- test/support/context.rb
|
230
|
+
- test/support/matchers.rb
|
231
|
+
- test/support/mocha_extensions.rb
|
232
|
+
- test/support/processor.rb
|
233
|
+
- test/support/test_dsl.rb
|
234
|
+
- test/support/test_interface.rb
|
235
|
+
- test/test_helper.rb
|
236
|
+
- test/tmate_test.rb
|
237
|
+
- test/trace_test.rb
|
238
|
+
- test/variables_test.rb
|
239
|
+
- bin/byebug
|
240
|
+
homepage: http://github.com/deivid-rodriguez/byebug
|
241
|
+
licenses:
|
242
|
+
- MIT
|
243
|
+
post_install_message:
|
244
|
+
rdoc_options: []
|
245
|
+
require_paths:
|
246
|
+
- lib
|
247
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
248
|
+
none: false
|
249
|
+
requirements:
|
250
|
+
- - '>='
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
version: '0'
|
253
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
254
|
+
none: false
|
255
|
+
requirements:
|
256
|
+
- - '>='
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: 1.3.6
|
259
|
+
requirements: []
|
260
|
+
rubyforge_project:
|
261
|
+
rubygems_version: 1.8.25
|
262
|
+
signing_key:
|
263
|
+
specification_version: 3
|
264
|
+
summary: Ruby 2.0 fast debugger - base + cli
|
265
|
+
test_files: []
|