rbx-trepanning 0.0.6-universal-rubinius-1.2 → 0.0.7-universal-rubinius-1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/ChangeLog +161 -0
- data/Makefile +13 -0
- data/NEWS +11 -0
- data/Rakefile +6 -5
- data/app/.gitignore +2 -0
- data/app/breakpoint.rb +53 -36
- data/app/brkptmgr.rb +10 -0
- data/app/complete.rb +29 -2
- data/app/condition.rb +22 -0
- data/app/default.rb +1 -0
- data/app/eventbuffer.rb +147 -0
- data/app/frame.rb +3 -1
- data/app/options.rb +2 -2
- data/app/run.rb +5 -3
- data/bin/.gitignore +2 -0
- data/data/.gitignore +2 -0
- data/doc/.gitignore +1 -0
- data/doc/debugger.html +108 -0
- data/interface/.gitignore +2 -0
- data/interface/user.rb +8 -7
- data/io/.gitignore +3 -0
- data/io/input.rb +14 -8
- data/lib/.gitignore +2 -0
- data/lib/trepanning.rb +25 -33
- data/processor/.gitignore +3 -0
- data/processor/Makefile +7 -0
- data/processor/breakpoint.rb +4 -0
- data/processor/command/.gitignore +2 -0
- data/processor/command/backtrace.rb +5 -0
- data/processor/command/base/.gitignore +2 -0
- data/processor/command/base/subcmd.rb +2 -1
- data/processor/command/base/subsubcmd.rb +23 -1
- data/processor/command/base/subsubmgr.rb +2 -1
- data/processor/command/complete.rb +2 -1
- data/processor/command/condition.rb +62 -0
- data/processor/command/down.rb +4 -4
- data/processor/command/eval.rb +14 -6
- data/processor/command/exit.rb +8 -7
- data/processor/command/frame.rb +6 -2
- data/processor/command/info_subcmd/.gitignore +3 -0
- data/processor/command/info_subcmd/breakpoints.rb +8 -0
- data/processor/command/info_subcmd/files.rb +1 -1
- data/processor/command/info_subcmd/line.rb +1 -1
- data/processor/command/info_subcmd/ruby.rb +1 -1
- data/processor/command/kill.rb +21 -10
- data/processor/command/macro.rb +15 -23
- data/processor/command/set_subcmd/.gitignore +2 -0
- data/processor/command/set_subcmd/auto_subcmd/.gitignore +2 -0
- data/processor/command/set_subcmd/debug_subcmd/.gitignore +2 -0
- data/processor/command/set_subcmd/different.rb +2 -0
- data/processor/command/set_subcmd/max_subcmd/.gitignore +2 -0
- data/processor/command/set_subcmd/substitute_subcmd/.gitignore +3 -0
- data/processor/command/set_subcmd/trace_subcmd/.gitignore +2 -0
- data/processor/command/set_subcmd/trace_subcmd/buffer.rb +42 -0
- data/processor/command/set_subcmd/trace_subcmd/print.rb +13 -29
- data/processor/command/show_subcmd/.gitignore +3 -0
- data/processor/command/show_subcmd/alias.rb +7 -3
- data/processor/command/show_subcmd/auto_subcmd/.gitignore +3 -0
- data/processor/command/show_subcmd/auto_subcmd/irb.rb +1 -1
- data/processor/command/show_subcmd/debug_subcmd/.gitignore +3 -0
- data/processor/command/show_subcmd/macro.rb +62 -0
- data/processor/command/show_subcmd/max_subcmd/.gitignore +2 -0
- data/processor/command/show_subcmd/trace_subcmd/.gitignore +2 -0
- data/processor/command/show_subcmd/trace_subcmd/buffer.rb +64 -0
- data/processor/command/show_subcmd/trace_subcmd/print.rb +5 -20
- data/processor/command/source.rb +7 -0
- data/processor/command/up.rb +12 -8
- data/processor/eventbuf.rb +101 -0
- data/processor/frame.rb +19 -1
- data/processor/hook.rb +2 -2
- data/processor/load_cmds.rb +57 -49
- data/processor/location.rb +40 -0
- data/processor/main.rb +27 -26
- data/processor/msg.rb +17 -0
- data/processor/stepping.rb +21 -1
- data/processor/validate.rb +1 -0
- data/rbx-trepanning.gemspec +40 -0
- data/sample/.gitignore +2 -0
- data/test/data/.gitignore +1 -0
- data/test/example/.gitignore +2 -0
- data/test/functional/.gitignore +3 -0
- data/test/functional/test-finish.rb +2 -2
- data/test/integration/.gitignore +3 -0
- data/test/unit/.gitignore +3 -0
- data/test/unit/cmd-helper.rb +6 -2
- data/test/unit/test-app-brkpt.rb +14 -12
- data/test/unit/test-app-complete.rb +39 -0
- data/test/unit/test-app-condition.rb +18 -0
- data/test/unit/test-app-options.rb +8 -1
- data/test/unit/test-base-subsubcmd.rb +21 -0
- data/test/unit/test-cmd-finish.rb +4 -0
- data/test/unit/test-completion.rb +11 -6
- data/test/unit/test-proc-load_cmds.rb +2 -2
- metadata +295 -218
- data/app/breakpoint.rbc +0 -3551
- data/app/brkptmgr.rbc +0 -2903
- data/app/client.rbc +0 -1225
- data/app/complete.rbc +0 -1288
- data/app/default.rbc +0 -1132
- data/app/display.rbc +0 -2578
- data/app/frame.rbc +0 -1808
- data/app/irb.rbc +0 -2094
- data/app/iseq.rbc +0 -2192
- data/app/llvm.rbc +0 -2478
- data/app/method.rbc +0 -2492
- data/app/method_name.rbc +0 -2467
- data/app/mock.rbc +0 -398
- data/app/options.rbc +0 -2898
- data/app/rbx-llvm.rbc +0 -2478
- data/app/run.rbc +0 -1244
- data/app/util.rbc +0 -1146
- data/app/validate.rbc +0 -676
- data/bin/trepan.compiled.rbc +0 -1043
- data/bin/trepanx.compiled.rbc +0 -1049
- data/data/irbrc.compiled.rbc +0 -640
- data/interface/base_intf.rbc +0 -1899
- data/interface/client.rbc +0 -1072
- data/interface/comcodes.rbc +0 -385
- data/interface/script.rbc +0 -1642
- data/interface/server.rbc +0 -2213
- data/interface/user.rbc +0 -2867
- data/io/base_io.rbc +0 -2111
- data/io/input.rbc +0 -2528
- data/io/null_output.rbc +0 -730
- data/io/string_array.rbc +0 -2466
- data/io/tcpclient.rbc +0 -2419
- data/io/tcpfns.rbc +0 -694
- data/io/tcpserver.rbc +0 -2638
- data/lib/trepanning.rbc +0 -7705
- data/lib/trepanning2.rb +0 -441
- data/sample/list-terminal-colors.rbc +0 -2318
- data/sample/rocky-trepanx-colors.rbc +0 -530
- data/test/data/step-bug.cmd +0 -11
- data/test/data/step-bug.right +0 -3
- data/test/example/step-bug.rb +0 -14
- data/test/integration/skip-test-step-bug.rb +0 -17
data/data/irbrc.compiled.rbc
DELETED
@@ -1,640 +0,0 @@
|
|
1
|
-
!RBIX
|
2
|
-
0
|
3
|
-
x
|
4
|
-
M
|
5
|
-
1
|
6
|
-
n
|
7
|
-
n
|
8
|
-
x
|
9
|
-
10
|
10
|
-
__script__
|
11
|
-
i
|
12
|
-
267
|
13
|
-
45
|
14
|
-
0
|
15
|
-
1
|
16
|
-
49
|
17
|
-
2
|
18
|
-
0
|
19
|
-
7
|
20
|
-
3
|
21
|
-
7
|
22
|
-
4
|
23
|
-
13
|
24
|
-
18
|
25
|
-
3
|
26
|
-
49
|
27
|
-
5
|
28
|
-
2
|
29
|
-
15
|
30
|
-
15
|
31
|
-
45
|
32
|
-
0
|
33
|
-
6
|
34
|
-
49
|
35
|
-
2
|
36
|
-
0
|
37
|
-
7
|
38
|
-
7
|
39
|
-
49
|
40
|
-
8
|
41
|
-
1
|
42
|
-
7
|
43
|
-
4
|
44
|
-
44
|
45
|
-
43
|
46
|
-
9
|
47
|
-
4
|
48
|
-
5
|
49
|
-
49
|
50
|
-
10
|
51
|
-
1
|
52
|
-
13
|
53
|
-
7
|
54
|
-
11
|
55
|
-
7
|
56
|
-
12
|
57
|
-
64
|
58
|
-
49
|
59
|
-
5
|
60
|
-
2
|
61
|
-
15
|
62
|
-
13
|
63
|
-
7
|
64
|
-
13
|
65
|
-
7
|
66
|
-
14
|
67
|
-
64
|
68
|
-
49
|
69
|
-
5
|
70
|
-
2
|
71
|
-
15
|
72
|
-
13
|
73
|
-
7
|
74
|
-
15
|
75
|
-
7
|
76
|
-
14
|
77
|
-
64
|
78
|
-
49
|
79
|
-
5
|
80
|
-
2
|
81
|
-
15
|
82
|
-
13
|
83
|
-
7
|
84
|
-
16
|
85
|
-
1
|
86
|
-
49
|
87
|
-
5
|
88
|
-
2
|
89
|
-
15
|
90
|
-
13
|
91
|
-
7
|
92
|
-
17
|
93
|
-
7
|
94
|
-
18
|
95
|
-
64
|
96
|
-
49
|
97
|
-
5
|
98
|
-
2
|
99
|
-
15
|
100
|
-
13
|
101
|
-
18
|
102
|
-
3
|
103
|
-
49
|
104
|
-
5
|
105
|
-
2
|
106
|
-
15
|
107
|
-
15
|
108
|
-
5
|
109
|
-
7
|
110
|
-
19
|
111
|
-
64
|
112
|
-
47
|
113
|
-
49
|
114
|
-
20
|
115
|
-
1
|
116
|
-
15
|
117
|
-
5
|
118
|
-
7
|
119
|
-
21
|
120
|
-
64
|
121
|
-
47
|
122
|
-
49
|
123
|
-
20
|
124
|
-
1
|
125
|
-
15
|
126
|
-
99
|
127
|
-
43
|
128
|
-
22
|
129
|
-
7
|
130
|
-
23
|
131
|
-
49
|
132
|
-
24
|
133
|
-
1
|
134
|
-
9
|
135
|
-
127
|
136
|
-
7
|
137
|
-
25
|
138
|
-
8
|
139
|
-
128
|
140
|
-
1
|
141
|
-
13
|
142
|
-
9
|
143
|
-
140
|
144
|
-
15
|
145
|
-
99
|
146
|
-
43
|
147
|
-
22
|
148
|
-
7
|
149
|
-
23
|
150
|
-
49
|
151
|
-
8
|
152
|
-
1
|
153
|
-
9
|
154
|
-
152
|
155
|
-
5
|
156
|
-
7
|
157
|
-
26
|
158
|
-
64
|
159
|
-
47
|
160
|
-
49
|
161
|
-
20
|
162
|
-
1
|
163
|
-
8
|
164
|
-
153
|
165
|
-
1
|
166
|
-
15
|
167
|
-
99
|
168
|
-
43
|
169
|
-
22
|
170
|
-
7
|
171
|
-
27
|
172
|
-
49
|
173
|
-
24
|
174
|
-
1
|
175
|
-
9
|
176
|
-
168
|
177
|
-
7
|
178
|
-
25
|
179
|
-
8
|
180
|
-
169
|
181
|
-
1
|
182
|
-
13
|
183
|
-
9
|
184
|
-
181
|
185
|
-
15
|
186
|
-
99
|
187
|
-
43
|
188
|
-
22
|
189
|
-
7
|
190
|
-
27
|
191
|
-
49
|
192
|
-
8
|
193
|
-
1
|
194
|
-
9
|
195
|
-
193
|
196
|
-
5
|
197
|
-
7
|
198
|
-
28
|
199
|
-
64
|
200
|
-
47
|
201
|
-
49
|
202
|
-
20
|
203
|
-
1
|
204
|
-
8
|
205
|
-
194
|
206
|
-
1
|
207
|
-
15
|
208
|
-
99
|
209
|
-
43
|
210
|
-
22
|
211
|
-
7
|
212
|
-
29
|
213
|
-
49
|
214
|
-
24
|
215
|
-
1
|
216
|
-
9
|
217
|
-
209
|
218
|
-
7
|
219
|
-
25
|
220
|
-
8
|
221
|
-
210
|
222
|
-
1
|
223
|
-
13
|
224
|
-
9
|
225
|
-
222
|
226
|
-
15
|
227
|
-
99
|
228
|
-
43
|
229
|
-
22
|
230
|
-
7
|
231
|
-
29
|
232
|
-
49
|
233
|
-
8
|
234
|
-
1
|
235
|
-
9
|
236
|
-
234
|
237
|
-
5
|
238
|
-
7
|
239
|
-
30
|
240
|
-
64
|
241
|
-
47
|
242
|
-
49
|
243
|
-
20
|
244
|
-
1
|
245
|
-
8
|
246
|
-
235
|
247
|
-
1
|
248
|
-
15
|
249
|
-
99
|
250
|
-
7
|
251
|
-
31
|
252
|
-
1
|
253
|
-
45
|
254
|
-
0
|
255
|
-
32
|
256
|
-
49
|
257
|
-
33
|
258
|
-
3
|
259
|
-
13
|
260
|
-
99
|
261
|
-
12
|
262
|
-
7
|
263
|
-
34
|
264
|
-
12
|
265
|
-
7
|
266
|
-
35
|
267
|
-
12
|
268
|
-
65
|
269
|
-
12
|
270
|
-
49
|
271
|
-
36
|
272
|
-
4
|
273
|
-
15
|
274
|
-
49
|
275
|
-
34
|
276
|
-
0
|
277
|
-
15
|
278
|
-
2
|
279
|
-
11
|
280
|
-
I
|
281
|
-
6
|
282
|
-
I
|
283
|
-
0
|
284
|
-
I
|
285
|
-
0
|
286
|
-
I
|
287
|
-
0
|
288
|
-
n
|
289
|
-
p
|
290
|
-
37
|
291
|
-
x
|
292
|
-
3
|
293
|
-
IRB
|
294
|
-
n
|
295
|
-
x
|
296
|
-
4
|
297
|
-
conf
|
298
|
-
x
|
299
|
-
11
|
300
|
-
PROMPT_MODE
|
301
|
-
x
|
302
|
-
6
|
303
|
-
SIMPLE
|
304
|
-
x
|
305
|
-
3
|
306
|
-
[]=
|
307
|
-
n
|
308
|
-
x
|
309
|
-
6
|
310
|
-
PROMPT
|
311
|
-
x
|
312
|
-
2
|
313
|
-
[]
|
314
|
-
x
|
315
|
-
4
|
316
|
-
Hash
|
317
|
-
x
|
318
|
-
16
|
319
|
-
new_from_literal
|
320
|
-
x
|
321
|
-
8
|
322
|
-
PROMPT_C
|
323
|
-
s
|
324
|
-
11
|
325
|
-
trepanx ?>
|
326
|
-
x
|
327
|
-
8
|
328
|
-
PROMPT_I
|
329
|
-
s
|
330
|
-
11
|
331
|
-
trepanx >>
|
332
|
-
x
|
333
|
-
8
|
334
|
-
PROMPT_N
|
335
|
-
x
|
336
|
-
8
|
337
|
-
PROMPT_S
|
338
|
-
x
|
339
|
-
6
|
340
|
-
RETURN
|
341
|
-
s
|
342
|
-
6
|
343
|
-
=> %s
|
344
|
-
|
345
|
-
s
|
346
|
-
69
|
347
|
-
You are in a trepan session. You should have access to program scope.
|
348
|
-
x
|
349
|
-
4
|
350
|
-
puts
|
351
|
-
s
|
352
|
-
59
|
353
|
-
'dbgr', 'step', 'ne', 'q', 'cont' commands have been added.
|
354
|
-
x
|
355
|
-
7
|
356
|
-
Globals
|
357
|
-
x
|
358
|
-
8
|
359
|
-
$trepanx
|
360
|
-
x
|
361
|
-
4
|
362
|
-
key?
|
363
|
-
s
|
364
|
-
15
|
365
|
-
global-variable
|
366
|
-
s
|
367
|
-
69
|
368
|
-
You should have access to debugger state via global variable $trepanx
|
369
|
-
x
|
370
|
-
14
|
371
|
-
$trepanx_frame
|
372
|
-
s
|
373
|
-
78
|
374
|
-
You should have access to the program frame via global variable $trepanx_frame
|
375
|
-
x
|
376
|
-
16
|
377
|
-
$trepanx_cmdproc
|
378
|
-
s
|
379
|
-
84
|
380
|
-
You should have access to the command processor via global variable $trepanx_cmdproc
|
381
|
-
x
|
382
|
-
7
|
383
|
-
Context
|
384
|
-
n
|
385
|
-
x
|
386
|
-
16
|
387
|
-
open_class_under
|
388
|
-
x
|
389
|
-
14
|
390
|
-
__class_init__
|
391
|
-
M
|
392
|
-
1
|
393
|
-
n
|
394
|
-
n
|
395
|
-
x
|
396
|
-
7
|
397
|
-
Context
|
398
|
-
i
|
399
|
-
26
|
400
|
-
5
|
401
|
-
66
|
402
|
-
5
|
403
|
-
7
|
404
|
-
0
|
405
|
-
7
|
406
|
-
1
|
407
|
-
47
|
408
|
-
49
|
409
|
-
2
|
410
|
-
2
|
411
|
-
15
|
412
|
-
99
|
413
|
-
7
|
414
|
-
1
|
415
|
-
7
|
416
|
-
3
|
417
|
-
65
|
418
|
-
67
|
419
|
-
49
|
420
|
-
4
|
421
|
-
0
|
422
|
-
49
|
423
|
-
5
|
424
|
-
4
|
425
|
-
11
|
426
|
-
I
|
427
|
-
5
|
428
|
-
I
|
429
|
-
0
|
430
|
-
I
|
431
|
-
0
|
432
|
-
I
|
433
|
-
0
|
434
|
-
n
|
435
|
-
p
|
436
|
-
6
|
437
|
-
x
|
438
|
-
26
|
439
|
-
_trepanx_original_evaluate
|
440
|
-
x
|
441
|
-
8
|
442
|
-
evaluate
|
443
|
-
x
|
444
|
-
12
|
445
|
-
alias_method
|
446
|
-
M
|
447
|
-
1
|
448
|
-
n
|
449
|
-
n
|
450
|
-
x
|
451
|
-
8
|
452
|
-
evaluate
|
453
|
-
i
|
454
|
-
21
|
455
|
-
99
|
456
|
-
43
|
457
|
-
0
|
458
|
-
7
|
459
|
-
1
|
460
|
-
20
|
461
|
-
0
|
462
|
-
49
|
463
|
-
2
|
464
|
-
2
|
465
|
-
15
|
466
|
-
5
|
467
|
-
20
|
468
|
-
0
|
469
|
-
20
|
470
|
-
1
|
471
|
-
47
|
472
|
-
49
|
473
|
-
3
|
474
|
-
2
|
475
|
-
11
|
476
|
-
I
|
477
|
-
5
|
478
|
-
I
|
479
|
-
2
|
480
|
-
I
|
481
|
-
2
|
482
|
-
I
|
483
|
-
2
|
484
|
-
n
|
485
|
-
p
|
486
|
-
4
|
487
|
-
x
|
488
|
-
7
|
489
|
-
Globals
|
490
|
-
x
|
491
|
-
23
|
492
|
-
$trepanx_irb_statements
|
493
|
-
x
|
494
|
-
3
|
495
|
-
[]=
|
496
|
-
x
|
497
|
-
26
|
498
|
-
_trepanx_original_evaluate
|
499
|
-
p
|
500
|
-
7
|
501
|
-
I
|
502
|
-
0
|
503
|
-
I
|
504
|
-
24
|
505
|
-
I
|
506
|
-
0
|
507
|
-
I
|
508
|
-
25
|
509
|
-
I
|
510
|
-
b
|
511
|
-
I
|
512
|
-
26
|
513
|
-
I
|
514
|
-
15
|
515
|
-
x
|
516
|
-
50
|
517
|
-
/home/rocky-rvm/.rvm/src/rbx-trepanning/data/irbrc
|
518
|
-
p
|
519
|
-
2
|
520
|
-
x
|
521
|
-
4
|
522
|
-
line
|
523
|
-
x
|
524
|
-
7
|
525
|
-
line_no
|
526
|
-
x
|
527
|
-
17
|
528
|
-
method_visibility
|
529
|
-
x
|
530
|
-
15
|
531
|
-
add_defn_method
|
532
|
-
p
|
533
|
-
5
|
534
|
-
I
|
535
|
-
2
|
536
|
-
I
|
537
|
-
23
|
538
|
-
I
|
539
|
-
c
|
540
|
-
I
|
541
|
-
24
|
542
|
-
I
|
543
|
-
1a
|
544
|
-
x
|
545
|
-
50
|
546
|
-
/home/rocky-rvm/.rvm/src/rbx-trepanning/data/irbrc
|
547
|
-
p
|
548
|
-
0
|
549
|
-
x
|
550
|
-
13
|
551
|
-
attach_method
|
552
|
-
p
|
553
|
-
41
|
554
|
-
I
|
555
|
-
0
|
556
|
-
I
|
557
|
-
6
|
558
|
-
I
|
559
|
-
12
|
560
|
-
I
|
561
|
-
7
|
562
|
-
I
|
563
|
-
1f
|
564
|
-
I
|
565
|
-
c
|
566
|
-
I
|
567
|
-
28
|
568
|
-
I
|
569
|
-
8
|
570
|
-
I
|
571
|
-
32
|
572
|
-
I
|
573
|
-
9
|
574
|
-
I
|
575
|
-
3c
|
576
|
-
I
|
577
|
-
a
|
578
|
-
I
|
579
|
-
46
|
580
|
-
I
|
581
|
-
b
|
582
|
-
I
|
583
|
-
4e
|
584
|
-
I
|
585
|
-
c
|
586
|
-
I
|
587
|
-
5f
|
588
|
-
I
|
589
|
-
14
|
590
|
-
I
|
591
|
-
68
|
592
|
-
I
|
593
|
-
15
|
594
|
-
I
|
595
|
-
71
|
596
|
-
I
|
597
|
-
17
|
598
|
-
I
|
599
|
-
8e
|
600
|
-
I
|
601
|
-
18
|
602
|
-
I
|
603
|
-
98
|
604
|
-
I
|
605
|
-
17
|
606
|
-
I
|
607
|
-
9a
|
608
|
-
I
|
609
|
-
1a
|
610
|
-
I
|
611
|
-
b7
|
612
|
-
I
|
613
|
-
1b
|
614
|
-
I
|
615
|
-
c1
|
616
|
-
I
|
617
|
-
1a
|
618
|
-
I
|
619
|
-
c3
|
620
|
-
I
|
621
|
-
1d
|
622
|
-
I
|
623
|
-
e0
|
624
|
-
I
|
625
|
-
1e
|
626
|
-
I
|
627
|
-
ea
|
628
|
-
I
|
629
|
-
1d
|
630
|
-
I
|
631
|
-
ec
|
632
|
-
I
|
633
|
-
22
|
634
|
-
I
|
635
|
-
10b
|
636
|
-
x
|
637
|
-
50
|
638
|
-
/home/rocky-rvm/.rvm/src/rbx-trepanning/data/irbrc
|
639
|
-
p
|
640
|
-
0
|