trepanning 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +465 -0
- data/NEWS +26 -1
- data/README.textile +1 -1
- data/app/cmd_parse.kpeg +2 -1
- data/app/cmd_parser.rb +30 -3
- data/app/core.rb +1 -1
- data/app/display.rb +39 -1
- data/app/frame.rb +1 -1
- data/app/irb.rb +42 -40
- data/app/options.rb +3 -2
- data/app/run.rb +21 -7
- data/app/util.rb +12 -2
- data/app/yarv.rb +0 -2
- data/bin/trepan +2 -3
- data/data/perldb.bindings +17 -0
- data/interface/script.rb +1 -1
- data/interface/server.rb +1 -1
- data/interface/user.rb +3 -1
- data/{interface/base_intf.rb → interface.rb} +1 -1
- data/io/input.rb +1 -3
- data/io/null_output.rb +1 -1
- data/io/string_array.rb +1 -2
- data/io/tcpclient.rb +1 -1
- data/io/tcpserver.rb +1 -1
- data/{io/base_io.rb → io.rb} +0 -0
- data/lib/trepanning.rb +2 -1
- data/processor/command/alias.rb +15 -4
- data/processor/command/backtrace.rb +2 -2
- data/processor/command/base/subcmd.rb +1 -5
- data/processor/command/base/submgr.rb +1 -1
- data/processor/command/base/subsubcmd.rb +1 -1
- data/processor/command/base/subsubmgr.rb +4 -4
- data/processor/command/break.rb +1 -1
- data/processor/command/complete.rb +1 -1
- data/processor/command/condition.rb +2 -2
- data/processor/command/continue.rb +1 -1
- data/processor/command/debug.rb +1 -1
- data/processor/command/delete.rb +10 -7
- data/processor/command/directory.rb +1 -1
- data/processor/command/disable.rb +25 -19
- data/processor/command/disassemble.rb +1 -1
- data/processor/command/display.rb +35 -28
- data/processor/command/down.rb +8 -8
- data/processor/command/edit.rb +1 -1
- data/processor/command/enable.rb +10 -12
- data/processor/command/eval.rb +1 -1
- data/processor/command/exit.rb +1 -1
- data/processor/command/finish.rb +1 -1
- data/processor/command/frame.rb +2 -2
- data/processor/command/help.rb +6 -8
- data/processor/command/info.rb +2 -0
- data/processor/command/info_subcmd/files.rb +17 -11
- data/processor/command/info_subcmd/frame.rb +0 -1
- data/processor/command/info_subcmd/locals.rb +6 -73
- data/processor/command/info_subcmd/source.rb +10 -4
- data/processor/command/info_subcmd/variables.rb +34 -0
- data/processor/command/info_subcmd/variables_subcmd/.gitignore +1 -0
- data/processor/command/info_subcmd/variables_subcmd/class.rb +40 -0
- data/processor/command/info_subcmd/variables_subcmd/constant.rb +41 -0
- data/processor/command/info_subcmd/{globals.rb → variables_subcmd/globals.rb} +21 -16
- data/processor/command/info_subcmd/variables_subcmd/instance.rb +41 -0
- data/processor/command/info_subcmd/variables_subcmd/locals.rb +99 -0
- data/processor/command/kill.rb +9 -8
- data/processor/command/list.rb +9 -107
- data/processor/command/macro.rb +27 -9
- data/processor/command/next.rb +1 -1
- data/processor/command/nocache.rb +2 -2
- data/processor/command/parsetree.rb +1 -1
- data/processor/command/pp.rb +1 -1
- data/processor/command/pr.rb +1 -1
- data/processor/command/ps.rb +1 -1
- data/processor/command/quit.rb +18 -7
- data/processor/command/raise.rb +1 -1
- data/processor/command/reload.rb +10 -10
- data/processor/command/restart.rb +1 -1
- data/processor/command/save.rb +1 -1
- data/processor/command/server.rb +1 -1
- data/processor/command/set_subcmd/auto.rb +7 -1
- data/processor/command/set_subcmd/different.rb +5 -4
- data/processor/command/set_subcmd/substitute_subcmd/eval.rb +2 -2
- data/processor/command/set_subcmd/trace.rb +5 -4
- data/processor/command/set_subcmd/trace_subcmd/print.rb +4 -3
- data/processor/command/shell.rb +5 -3
- data/processor/command/show_subcmd/{alias.rb → aliases.rb} +2 -2
- data/processor/command/show_subcmd/auto_subcmd/eval.rb +2 -7
- data/processor/command/show_subcmd/trace_subcmd/print.rb +3 -3
- data/processor/command/show_subcmd/version.rb +24 -0
- data/processor/command/source.rb +1 -1
- data/processor/command/step.rb +1 -1
- data/processor/command/tbreak.rb +1 -1
- data/processor/command/unalias.rb +11 -6
- data/processor/command/undisplay.rb +14 -10
- data/processor/command/up.rb +12 -13
- data/processor/command/watchg.rb +1 -1
- data/processor/{command/base/cmd.rb → command.rb} +3 -2
- data/processor/display.rb +34 -0
- data/processor/frame.rb +2 -2
- data/processor/help.rb +6 -4
- data/processor/hook.rb +95 -96
- data/processor/list.rb +146 -0
- data/processor/location.rb +26 -0
- data/processor/mock.rb +4 -7
- data/processor/msg.rb +54 -42
- data/processor/running.rb +6 -3
- data/processor/subcmd.rb +16 -41
- data/processor/validate.rb +6 -9
- data/{processor/main.rb → processor.rb} +11 -40
- data/sample/rocky-trepan-colors.rb +0 -1
- data/test/data/enable.cmd +1 -1
- data/test/data/trace.cmd +6 -0
- data/test/data/trace.right +39 -0
- data/test/example/gcd.rb +0 -1
- data/test/functional/test-next.rb +1 -1
- data/test/integration/helper.rb +4 -0
- data/test/integration/test-trace.rb +18 -0
- data/test/unit/cmd-helper.rb +4 -4
- data/test/unit/test-app-cmd_parse.rb +1 -1
- data/test/unit/test-app-display.rb +22 -0
- data/test/unit/test-app-options.rb +14 -10
- data/test/unit/test-app-run.rb +7 -1
- data/test/unit/test-base-subcmd.rb +1 -1
- data/test/unit/test-cmd-kill.rb +11 -4
- data/test/unit/test-cmd-parse_list_cmd.rb +1 -1
- data/test/unit/{test-base-cmd.rb → test-command.rb} +1 -1
- data/test/unit/test-proc-eval.rb +1 -2
- data/test/unit/test-proc-frame.rb +1 -2
- data/test/unit/test-proc-list.rb +52 -0
- data/test/unit/test-proc-load_cmds.rb +1 -1
- data/test/unit/test-proc-location.rb +11 -4
- data/test/unit/test-proc-main.rb +1 -1
- data/test/unit/test-proc-validate.rb +1 -2
- data/test/unit/test-subcmd-help.rb +1 -1
- data/trepanning.gemspec +1 -1
- metadata +26 -12
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 4
|
9
|
+
version: 0.1.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- R. Bernstein
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-10-27 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -83,7 +83,7 @@ dependencies:
|
|
83
83
|
segments:
|
84
84
|
- 0
|
85
85
|
version: "0"
|
86
|
-
type: :
|
86
|
+
type: :development
|
87
87
|
version_requirements: *id005
|
88
88
|
description: |
|
89
89
|
A modular, testable, Ruby debugger using some of the best ideas from ruby-debug, other debuggers, and Ruby Rails.
|
@@ -139,16 +139,17 @@ files:
|
|
139
139
|
- data/.gitignore
|
140
140
|
- data/custom_require.rb
|
141
141
|
- data/irbrc
|
142
|
+
- data/perldb.bindings
|
142
143
|
- data/prelude.rb
|
144
|
+
- interface.rb
|
143
145
|
- interface/.gitignore
|
144
|
-
- interface/base_intf.rb
|
145
146
|
- interface/client.rb
|
146
147
|
- interface/comcodes.rb
|
147
148
|
- interface/script.rb
|
148
149
|
- interface/server.rb
|
149
150
|
- interface/user.rb
|
151
|
+
- io.rb
|
150
152
|
- io/.gitignore
|
151
|
-
- io/base_io.rb
|
152
153
|
- io/input.rb
|
153
154
|
- io/null_output.rb
|
154
155
|
- io/string_array.rb
|
@@ -158,14 +159,15 @@ files:
|
|
158
159
|
- lib/.gitignore
|
159
160
|
- lib/Makefile
|
160
161
|
- lib/trepanning.rb
|
162
|
+
- processor.rb
|
161
163
|
- processor/.gitignore
|
162
164
|
- processor/Makefile
|
163
165
|
- processor/breakpoint.rb
|
166
|
+
- processor/command.rb
|
164
167
|
- processor/command/.gitignore
|
165
168
|
- processor/command/Makefile
|
166
169
|
- processor/command/alias.rb
|
167
170
|
- processor/command/backtrace.rb
|
168
|
-
- processor/command/base/cmd.rb
|
169
171
|
- processor/command/base/subcmd.rb
|
170
172
|
- processor/command/base/submgr.rb
|
171
173
|
- processor/command/base/subsubcmd.rb
|
@@ -201,7 +203,6 @@ files:
|
|
201
203
|
- processor/command/info_subcmd/breakpoints.rb
|
202
204
|
- processor/command/info_subcmd/files.rb
|
203
205
|
- processor/command/info_subcmd/frame.rb
|
204
|
-
- processor/command/info_subcmd/globals.rb
|
205
206
|
- processor/command/info_subcmd/iseq.rb
|
206
207
|
- processor/command/info_subcmd/locals.rb
|
207
208
|
- processor/command/info_subcmd/macro.rb
|
@@ -218,6 +219,13 @@ files:
|
|
218
219
|
- processor/command/info_subcmd/source.rb
|
219
220
|
- processor/command/info_subcmd/stack.rb
|
220
221
|
- processor/command/info_subcmd/thread.rb
|
222
|
+
- processor/command/info_subcmd/variables.rb
|
223
|
+
- processor/command/info_subcmd/variables_subcmd/.gitignore
|
224
|
+
- processor/command/info_subcmd/variables_subcmd/class.rb
|
225
|
+
- processor/command/info_subcmd/variables_subcmd/constant.rb
|
226
|
+
- processor/command/info_subcmd/variables_subcmd/globals.rb
|
227
|
+
- processor/command/info_subcmd/variables_subcmd/instance.rb
|
228
|
+
- processor/command/info_subcmd/variables_subcmd/locals.rb
|
221
229
|
- processor/command/kill.rb
|
222
230
|
- processor/command/list.rb
|
223
231
|
- processor/command/macro.rb
|
@@ -279,7 +287,7 @@ files:
|
|
279
287
|
- processor/command/show.rb
|
280
288
|
- processor/command/show_subcmd/.gitignore
|
281
289
|
- processor/command/show_subcmd/abbrev.rb
|
282
|
-
- processor/command/show_subcmd/
|
290
|
+
- processor/command/show_subcmd/aliases.rb
|
283
291
|
- processor/command/show_subcmd/args.rb
|
284
292
|
- processor/command/show_subcmd/auto.rb
|
285
293
|
- processor/command/show_subcmd/auto_subcmd/.gitignore
|
@@ -312,6 +320,7 @@ files:
|
|
312
320
|
- processor/command/show_subcmd/trace_subcmd/.gitignore
|
313
321
|
- processor/command/show_subcmd/trace_subcmd/buffer.rb
|
314
322
|
- processor/command/show_subcmd/trace_subcmd/print.rb
|
323
|
+
- processor/command/show_subcmd/version.rb
|
315
324
|
- processor/command/source.rb
|
316
325
|
- processor/command/step.rb
|
317
326
|
- processor/command/tbreak.rb
|
@@ -326,9 +335,9 @@ files:
|
|
326
335
|
- processor/frame.rb
|
327
336
|
- processor/help.rb
|
328
337
|
- processor/hook.rb
|
338
|
+
- processor/list.rb
|
329
339
|
- processor/load_cmds.rb
|
330
340
|
- processor/location.rb
|
331
|
-
- processor/main.rb
|
332
341
|
- processor/mock.rb
|
333
342
|
- processor/msg.rb
|
334
343
|
- processor/running.rb
|
@@ -352,6 +361,8 @@ files:
|
|
352
361
|
- test/data/quit2.cmd
|
353
362
|
- test/data/quit2.right
|
354
363
|
- test/data/testing.cmd
|
364
|
+
- test/data/trace.cmd
|
365
|
+
- test/data/trace.right
|
355
366
|
- test/example/.gitignore
|
356
367
|
- test/example/debugger-stop.rb
|
357
368
|
- test/example/fname with blank.rb
|
@@ -383,6 +394,7 @@ files:
|
|
383
394
|
- test/integration/test-debugger-stop.rb
|
384
395
|
- test/integration/test-fname-with-blank.rb
|
385
396
|
- test/integration/test-quit.rb
|
397
|
+
- test/integration/test-trace.rb
|
386
398
|
- test/unit/.gitignore
|
387
399
|
- test/unit/Makefile
|
388
400
|
- test/unit/cmd-helper.rb
|
@@ -394,6 +406,7 @@ files:
|
|
394
406
|
- test/unit/test-app-complete.rb
|
395
407
|
- test/unit/test-app-condition.rb
|
396
408
|
- test/unit/test-app-disassemble.rb
|
409
|
+
- test/unit/test-app-display.rb
|
397
410
|
- test/unit/test-app-file.rb
|
398
411
|
- test/unit/test-app-frame.rb
|
399
412
|
- test/unit/test-app-iseq.rb
|
@@ -401,7 +414,6 @@ files:
|
|
401
414
|
- test/unit/test-app-run.rb
|
402
415
|
- test/unit/test-app-thread.rb
|
403
416
|
- test/unit/test-app-util.rb
|
404
|
-
- test/unit/test-base-cmd.rb
|
405
417
|
- test/unit/test-base-subcmd.rb
|
406
418
|
- test/unit/test-base-submgr.rb
|
407
419
|
- test/unit/test-base-subsubcmd.rb
|
@@ -416,6 +428,7 @@ files:
|
|
416
428
|
- test/unit/test-cmd-quit.rb
|
417
429
|
- test/unit/test-cmd-source.rb
|
418
430
|
- test/unit/test-cmd-step.rb
|
431
|
+
- test/unit/test-command.rb
|
419
432
|
- test/unit/test-completion.rb
|
420
433
|
- test/unit/test-intf-user.rb
|
421
434
|
- test/unit/test-io-input.rb
|
@@ -426,6 +439,7 @@ files:
|
|
426
439
|
- test/unit/test-proc-frame.rb
|
427
440
|
- test/unit/test-proc-help.rb
|
428
441
|
- test/unit/test-proc-hook.rb
|
442
|
+
- test/unit/test-proc-list.rb
|
429
443
|
- test/unit/test-proc-load_cmds.rb
|
430
444
|
- test/unit/test-proc-location.rb
|
431
445
|
- test/unit/test-proc-main.rb
|
@@ -441,7 +455,7 @@ rdoc_options:
|
|
441
455
|
- --main
|
442
456
|
- README
|
443
457
|
- --title
|
444
|
-
- Trepan 0.1.
|
458
|
+
- Trepan 0.1.4 Documentation
|
445
459
|
require_paths:
|
446
460
|
- lib
|
447
461
|
required_ruby_version: !ruby/object:Gem::Requirement
|