debugger2 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.travis.yml +3 -0
  4. data/AUTHORS +10 -0
  5. data/CHANGELOG.md +65 -0
  6. data/CONTRIBUTING.md +1 -0
  7. data/Gemfile +3 -0
  8. data/LICENSE +23 -0
  9. data/OLDER_CHANGELOG +334 -0
  10. data/OLD_CHANGELOG +5655 -0
  11. data/OLD_README +122 -0
  12. data/README.md +108 -0
  13. data/Rakefile +78 -0
  14. data/bin/rdebug +397 -0
  15. data/debugger2.gemspec +29 -0
  16. data/doc/.cvsignore +42 -0
  17. data/doc/Makefile.am +63 -0
  18. data/doc/emacs-notes.txt +38 -0
  19. data/doc/hanoi.rb +35 -0
  20. data/doc/primes.rb +28 -0
  21. data/doc/rdebug-emacs.texi +1030 -0
  22. data/doc/ruby-debug.texi +3791 -0
  23. data/doc/test-tri2.rb +18 -0
  24. data/doc/tri3.rb +8 -0
  25. data/doc/triangle.rb +12 -0
  26. data/emacs/Makefile.am +130 -0
  27. data/emacs/rdebug-annotate.el +385 -0
  28. data/emacs/rdebug-breaks.el +407 -0
  29. data/emacs/rdebug-cmd.el +92 -0
  30. data/emacs/rdebug-core.el +502 -0
  31. data/emacs/rdebug-dbg.el +62 -0
  32. data/emacs/rdebug-error.el +79 -0
  33. data/emacs/rdebug-fns.el +111 -0
  34. data/emacs/rdebug-frames.el +230 -0
  35. data/emacs/rdebug-gud.el +242 -0
  36. data/emacs/rdebug-help.el +104 -0
  37. data/emacs/rdebug-info.el +83 -0
  38. data/emacs/rdebug-layouts.el +180 -0
  39. data/emacs/rdebug-locring.el +118 -0
  40. data/emacs/rdebug-output.el +106 -0
  41. data/emacs/rdebug-regexp.el +118 -0
  42. data/emacs/rdebug-secondary.el +260 -0
  43. data/emacs/rdebug-shortkey.el +175 -0
  44. data/emacs/rdebug-source.el +568 -0
  45. data/emacs/rdebug-track.el +392 -0
  46. data/emacs/rdebug-varbuf.el +150 -0
  47. data/emacs/rdebug-vars.el +125 -0
  48. data/emacs/rdebug-watch.el +132 -0
  49. data/emacs/rdebug.el +326 -0
  50. data/emacs/test/elk-test.el +242 -0
  51. data/emacs/test/test-annotate.el +103 -0
  52. data/emacs/test/test-cmd.el +116 -0
  53. data/emacs/test/test-core.el +104 -0
  54. data/emacs/test/test-fns.el +65 -0
  55. data/emacs/test/test-frames.el +62 -0
  56. data/emacs/test/test-gud.el +35 -0
  57. data/emacs/test/test-indent.el +58 -0
  58. data/emacs/test/test-regexp.el +144 -0
  59. data/emacs/test/test-shortkey.el +61 -0
  60. data/ext/ruby_debug/breakpoint.c +630 -0
  61. data/ext/ruby_debug/extconf.rb +11 -0
  62. data/ext/ruby_debug/ruby_debug.c +2203 -0
  63. data/ext/ruby_debug/ruby_debug.h +151 -0
  64. data/lib/debugger.rb +5 -0
  65. data/lib/debugger/version.rb +5 -0
  66. data/lib/debugger2.rb +6 -0
  67. data/lib/ruby-debug-base.rb +307 -0
  68. data/lib/ruby-debug.rb +176 -0
  69. data/lib/ruby-debug/command.rb +227 -0
  70. data/lib/ruby-debug/commands/breakpoints.rb +153 -0
  71. data/lib/ruby-debug/commands/catchpoint.rb +55 -0
  72. data/lib/ruby-debug/commands/condition.rb +49 -0
  73. data/lib/ruby-debug/commands/continue.rb +38 -0
  74. data/lib/ruby-debug/commands/control.rb +107 -0
  75. data/lib/ruby-debug/commands/display.rb +120 -0
  76. data/lib/ruby-debug/commands/edit.rb +48 -0
  77. data/lib/ruby-debug/commands/enable.rb +202 -0
  78. data/lib/ruby-debug/commands/eval.rb +176 -0
  79. data/lib/ruby-debug/commands/finish.rb +42 -0
  80. data/lib/ruby-debug/commands/frame.rb +301 -0
  81. data/lib/ruby-debug/commands/help.rb +56 -0
  82. data/lib/ruby-debug/commands/info.rb +467 -0
  83. data/lib/ruby-debug/commands/irb.rb +123 -0
  84. data/lib/ruby-debug/commands/jump.rb +66 -0
  85. data/lib/ruby-debug/commands/kill.rb +51 -0
  86. data/lib/ruby-debug/commands/list.rb +94 -0
  87. data/lib/ruby-debug/commands/method.rb +84 -0
  88. data/lib/ruby-debug/commands/quit.rb +39 -0
  89. data/lib/ruby-debug/commands/reload.rb +40 -0
  90. data/lib/ruby-debug/commands/save.rb +90 -0
  91. data/lib/ruby-debug/commands/set.rb +223 -0
  92. data/lib/ruby-debug/commands/show.rb +247 -0
  93. data/lib/ruby-debug/commands/skip.rb +35 -0
  94. data/lib/ruby-debug/commands/source.rb +36 -0
  95. data/lib/ruby-debug/commands/stepping.rb +81 -0
  96. data/lib/ruby-debug/commands/threads.rb +189 -0
  97. data/lib/ruby-debug/commands/tmate.rb +36 -0
  98. data/lib/ruby-debug/commands/trace.rb +57 -0
  99. data/lib/ruby-debug/commands/variables.rb +199 -0
  100. data/lib/ruby-debug/debugger.rb +5 -0
  101. data/lib/ruby-debug/helper.rb +69 -0
  102. data/lib/ruby-debug/interface.rb +232 -0
  103. data/lib/ruby-debug/processor.rb +474 -0
  104. data/man/rdebug.1 +241 -0
  105. data/old_scripts/Makefile.am +14 -0
  106. data/old_scripts/README.md +2 -0
  107. data/old_scripts/autogen.sh +4 -0
  108. data/old_scripts/configure.ac +12 -0
  109. data/old_scripts/rdbg.rb +33 -0
  110. data/old_scripts/runner.sh +7 -0
  111. data/old_scripts/svn2cl_usermap +3 -0
  112. data/test/.cvsignore +1 -0
  113. data/test/breakpoints_test.rb +366 -0
  114. data/test/conditions_test.rb +77 -0
  115. data/test/continue_test.rb +28 -0
  116. data/test/display_test.rb +143 -0
  117. data/test/edit_test.rb +55 -0
  118. data/test/eval_test.rb +94 -0
  119. data/test/examples/breakpoint1.rb +15 -0
  120. data/test/examples/breakpoint2.rb +7 -0
  121. data/test/examples/conditions.rb +4 -0
  122. data/test/examples/continue.rb +4 -0
  123. data/test/examples/display.rb +5 -0
  124. data/test/examples/edit.rb +3 -0
  125. data/test/examples/edit2.rb +3 -0
  126. data/test/examples/eval.rb +4 -0
  127. data/test/examples/finish.rb +20 -0
  128. data/test/examples/frame.rb +31 -0
  129. data/test/examples/help.rb +2 -0
  130. data/test/examples/info.rb +48 -0
  131. data/test/examples/info2.rb +3 -0
  132. data/test/examples/irb.rb +6 -0
  133. data/test/examples/jump.rb +14 -0
  134. data/test/examples/kill.rb +2 -0
  135. data/test/examples/list.rb +12 -0
  136. data/test/examples/method.rb +15 -0
  137. data/test/examples/post_mortem.rb +19 -0
  138. data/test/examples/quit.rb +2 -0
  139. data/test/examples/reload.rb +6 -0
  140. data/test/examples/restart.rb +6 -0
  141. data/test/examples/save.rb +3 -0
  142. data/test/examples/set.rb +3 -0
  143. data/test/examples/set_annotate.rb +12 -0
  144. data/test/examples/settings.rb +1 -0
  145. data/test/examples/show.rb +2 -0
  146. data/test/examples/source.rb +3 -0
  147. data/test/examples/stepping.rb +21 -0
  148. data/test/examples/thread.rb +32 -0
  149. data/test/examples/tmate.rb +10 -0
  150. data/test/examples/trace.rb +7 -0
  151. data/test/examples/trace_threads.rb +20 -0
  152. data/test/examples/variables.rb +26 -0
  153. data/test/finish_test.rb +49 -0
  154. data/test/frame_test.rb +140 -0
  155. data/test/help_test.rb +51 -0
  156. data/test/info_test.rb +326 -0
  157. data/test/irb_test.rb +82 -0
  158. data/test/jump_test.rb +70 -0
  159. data/test/kill_test.rb +49 -0
  160. data/test/list_test.rb +147 -0
  161. data/test/method_test.rb +72 -0
  162. data/test/post_mortem_test.rb +25 -0
  163. data/test/quit_test.rb +56 -0
  164. data/test/reload_test.rb +47 -0
  165. data/test/restart_test.rb +145 -0
  166. data/test/save_test.rb +94 -0
  167. data/test/set_test.rb +183 -0
  168. data/test/show_test.rb +294 -0
  169. data/test/source_test.rb +46 -0
  170. data/test/stepping_test.rb +122 -0
  171. data/test/support/breakpoint.rb +12 -0
  172. data/test/support/context.rb +14 -0
  173. data/test/support/matchers.rb +67 -0
  174. data/test/support/mocha_extensions.rb +71 -0
  175. data/test/support/processor.rb +7 -0
  176. data/test/support/test_dsl.rb +206 -0
  177. data/test/support/test_interface.rb +66 -0
  178. data/test/test_helper.rb +9 -0
  179. data/test/thread_test.rb +124 -0
  180. data/test/tmate_test.rb +45 -0
  181. data/test/trace_test.rb +156 -0
  182. data/test/variables_test.rb +116 -0
  183. metadata +319 -0
metadata ADDED
@@ -0,0 +1,319 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: debugger2
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.beta1
5
+ platform: ruby
6
+ authors:
7
+ - Koichi Sasada
8
+ - Zachary Scott
9
+ - Kent Sibilev
10
+ - Mark Moseley
11
+ - Gabriel Horner
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+ date: 2013-03-19 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: columnize
19
+ requirement: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - '>='
22
+ - !ruby/object:Gem::Version
23
+ version: 0.3.1
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - '>='
29
+ - !ruby/object:Gem::Version
30
+ version: 0.3.1
31
+ - !ruby/object:Gem::Dependency
32
+ name: debugger-linecache
33
+ requirement: !ruby/object:Gem::Requirement
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
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: 1.2.0
45
+ - !ruby/object:Gem::Dependency
46
+ name: rake
47
+ requirement: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ~>
50
+ - !ruby/object:Gem::Version
51
+ version: 0.9.2.2
52
+ type: :development
53
+ prerelease: false
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ version: 0.9.2.2
59
+ - !ruby/object:Gem::Dependency
60
+ name: rake-compiler
61
+ requirement: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 0.8.0
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ~>
71
+ - !ruby/object:Gem::Version
72
+ version: 0.8.0
73
+ - !ruby/object:Gem::Dependency
74
+ name: minitest
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: 2.12.1
80
+ type: :development
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: 2.12.1
87
+ - !ruby/object:Gem::Dependency
88
+ name: mocha
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.13.0
94
+ type: :development
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ~>
99
+ - !ruby/object:Gem::Version
100
+ version: 0.13.0
101
+ description: |
102
+ debugger is a fast implementation of the standard Ruby debugger debug.rb.
103
+ It is implemented by utilizing a new Ruby C API hook. The core component
104
+ provides support that front-ends can build on. It provides breakpoint
105
+ handling, bindings for stack frames among other things.
106
+ email: ko1@atdot.net
107
+ executables:
108
+ - rdebug
109
+ extensions:
110
+ - ext/ruby_debug/extconf.rb
111
+ extra_rdoc_files:
112
+ - README.md
113
+ files:
114
+ - .gitignore
115
+ - .travis.yml
116
+ - AUTHORS
117
+ - CHANGELOG.md
118
+ - CONTRIBUTING.md
119
+ - Gemfile
120
+ - LICENSE
121
+ - OLDER_CHANGELOG
122
+ - OLD_CHANGELOG
123
+ - OLD_README
124
+ - README.md
125
+ - Rakefile
126
+ - bin/rdebug
127
+ - debugger2.gemspec
128
+ - doc/.cvsignore
129
+ - doc/Makefile.am
130
+ - doc/emacs-notes.txt
131
+ - doc/hanoi.rb
132
+ - doc/primes.rb
133
+ - doc/rdebug-emacs.texi
134
+ - doc/ruby-debug.texi
135
+ - doc/test-tri2.rb
136
+ - doc/tri3.rb
137
+ - doc/triangle.rb
138
+ - emacs/Makefile.am
139
+ - emacs/rdebug-annotate.el
140
+ - emacs/rdebug-breaks.el
141
+ - emacs/rdebug-cmd.el
142
+ - emacs/rdebug-core.el
143
+ - emacs/rdebug-dbg.el
144
+ - emacs/rdebug-error.el
145
+ - emacs/rdebug-fns.el
146
+ - emacs/rdebug-frames.el
147
+ - emacs/rdebug-gud.el
148
+ - emacs/rdebug-help.el
149
+ - emacs/rdebug-info.el
150
+ - emacs/rdebug-layouts.el
151
+ - emacs/rdebug-locring.el
152
+ - emacs/rdebug-output.el
153
+ - emacs/rdebug-regexp.el
154
+ - emacs/rdebug-secondary.el
155
+ - emacs/rdebug-shortkey.el
156
+ - emacs/rdebug-source.el
157
+ - emacs/rdebug-track.el
158
+ - emacs/rdebug-varbuf.el
159
+ - emacs/rdebug-vars.el
160
+ - emacs/rdebug-watch.el
161
+ - emacs/rdebug.el
162
+ - emacs/test/elk-test.el
163
+ - emacs/test/test-annotate.el
164
+ - emacs/test/test-cmd.el
165
+ - emacs/test/test-core.el
166
+ - emacs/test/test-fns.el
167
+ - emacs/test/test-frames.el
168
+ - emacs/test/test-gud.el
169
+ - emacs/test/test-indent.el
170
+ - emacs/test/test-regexp.el
171
+ - emacs/test/test-shortkey.el
172
+ - ext/ruby_debug/breakpoint.c
173
+ - ext/ruby_debug/extconf.rb
174
+ - ext/ruby_debug/ruby_debug.c
175
+ - ext/ruby_debug/ruby_debug.h
176
+ - lib/debugger.rb
177
+ - lib/debugger/version.rb
178
+ - lib/debugger2.rb
179
+ - lib/ruby-debug-base.rb
180
+ - lib/ruby-debug.rb
181
+ - lib/ruby-debug/command.rb
182
+ - lib/ruby-debug/commands/breakpoints.rb
183
+ - lib/ruby-debug/commands/catchpoint.rb
184
+ - lib/ruby-debug/commands/condition.rb
185
+ - lib/ruby-debug/commands/continue.rb
186
+ - lib/ruby-debug/commands/control.rb
187
+ - lib/ruby-debug/commands/display.rb
188
+ - lib/ruby-debug/commands/edit.rb
189
+ - lib/ruby-debug/commands/enable.rb
190
+ - lib/ruby-debug/commands/eval.rb
191
+ - lib/ruby-debug/commands/finish.rb
192
+ - lib/ruby-debug/commands/frame.rb
193
+ - lib/ruby-debug/commands/help.rb
194
+ - lib/ruby-debug/commands/info.rb
195
+ - lib/ruby-debug/commands/irb.rb
196
+ - lib/ruby-debug/commands/jump.rb
197
+ - lib/ruby-debug/commands/kill.rb
198
+ - lib/ruby-debug/commands/list.rb
199
+ - lib/ruby-debug/commands/method.rb
200
+ - lib/ruby-debug/commands/quit.rb
201
+ - lib/ruby-debug/commands/reload.rb
202
+ - lib/ruby-debug/commands/save.rb
203
+ - lib/ruby-debug/commands/set.rb
204
+ - lib/ruby-debug/commands/show.rb
205
+ - lib/ruby-debug/commands/skip.rb
206
+ - lib/ruby-debug/commands/source.rb
207
+ - lib/ruby-debug/commands/stepping.rb
208
+ - lib/ruby-debug/commands/threads.rb
209
+ - lib/ruby-debug/commands/tmate.rb
210
+ - lib/ruby-debug/commands/trace.rb
211
+ - lib/ruby-debug/commands/variables.rb
212
+ - lib/ruby-debug/debugger.rb
213
+ - lib/ruby-debug/helper.rb
214
+ - lib/ruby-debug/interface.rb
215
+ - lib/ruby-debug/processor.rb
216
+ - man/rdebug.1
217
+ - old_scripts/Makefile.am
218
+ - old_scripts/README.md
219
+ - old_scripts/autogen.sh
220
+ - old_scripts/configure.ac
221
+ - old_scripts/rdbg.rb
222
+ - old_scripts/runner.sh
223
+ - old_scripts/svn2cl_usermap
224
+ - test/.cvsignore
225
+ - test/breakpoints_test.rb
226
+ - test/conditions_test.rb
227
+ - test/continue_test.rb
228
+ - test/display_test.rb
229
+ - test/edit_test.rb
230
+ - test/eval_test.rb
231
+ - test/examples/breakpoint1.rb
232
+ - test/examples/breakpoint2.rb
233
+ - test/examples/conditions.rb
234
+ - test/examples/continue.rb
235
+ - test/examples/display.rb
236
+ - test/examples/edit.rb
237
+ - test/examples/edit2.rb
238
+ - test/examples/eval.rb
239
+ - test/examples/finish.rb
240
+ - test/examples/frame.rb
241
+ - test/examples/help.rb
242
+ - test/examples/info.rb
243
+ - test/examples/info2.rb
244
+ - test/examples/irb.rb
245
+ - test/examples/jump.rb
246
+ - test/examples/kill.rb
247
+ - test/examples/list.rb
248
+ - test/examples/method.rb
249
+ - test/examples/post_mortem.rb
250
+ - test/examples/quit.rb
251
+ - test/examples/reload.rb
252
+ - test/examples/restart.rb
253
+ - test/examples/save.rb
254
+ - test/examples/set.rb
255
+ - test/examples/set_annotate.rb
256
+ - test/examples/settings.rb
257
+ - test/examples/show.rb
258
+ - test/examples/source.rb
259
+ - test/examples/stepping.rb
260
+ - test/examples/thread.rb
261
+ - test/examples/tmate.rb
262
+ - test/examples/trace.rb
263
+ - test/examples/trace_threads.rb
264
+ - test/examples/variables.rb
265
+ - test/finish_test.rb
266
+ - test/frame_test.rb
267
+ - test/help_test.rb
268
+ - test/info_test.rb
269
+ - test/irb_test.rb
270
+ - test/jump_test.rb
271
+ - test/kill_test.rb
272
+ - test/list_test.rb
273
+ - test/method_test.rb
274
+ - test/post_mortem_test.rb
275
+ - test/quit_test.rb
276
+ - test/reload_test.rb
277
+ - test/restart_test.rb
278
+ - test/save_test.rb
279
+ - test/set_test.rb
280
+ - test/show_test.rb
281
+ - test/source_test.rb
282
+ - test/stepping_test.rb
283
+ - test/support/breakpoint.rb
284
+ - test/support/context.rb
285
+ - test/support/matchers.rb
286
+ - test/support/mocha_extensions.rb
287
+ - test/support/processor.rb
288
+ - test/support/test_dsl.rb
289
+ - test/support/test_interface.rb
290
+ - test/test_helper.rb
291
+ - test/thread_test.rb
292
+ - test/tmate_test.rb
293
+ - test/trace_test.rb
294
+ - test/variables_test.rb
295
+ homepage: https://github.com/ko1/debugger2
296
+ licenses:
297
+ - BSD
298
+ metadata: {}
299
+ post_install_message:
300
+ rdoc_options: []
301
+ require_paths:
302
+ - lib
303
+ required_ruby_version: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - '>='
306
+ - !ruby/object:Gem::Version
307
+ version: '0'
308
+ required_rubygems_version: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - '>='
311
+ - !ruby/object:Gem::Version
312
+ version: 1.3.6
313
+ requirements: []
314
+ rubyforge_project:
315
+ rubygems_version: 2.0.0
316
+ signing_key:
317
+ specification_version: 4
318
+ summary: Fast Ruby debugger - base + cli
319
+ test_files: []