forked from rocky/rbx-trepanning
/
ChangeLog
1223 lines (869 loc) · 43.9 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2010-12-30 brainopia <ravwar@gmail.com>
* processor/command/up.rb: Remove unneeded require with explicit
location
2010-12-28 rocky <rockyb@rubyforge.org>
* test/unit/cmd-helper.rb, test/unit/mock-helper.rb,
test/unit/test-cmd-alias.rb, test/unit/test-cmd-break.rb,
test/unit/test-cmd-exit.rb, test/unit/test-cmd-finish.rb,
test/unit/test-cmd-help.rb, test/unit/test-cmd-kill.rb,
test/unit/test-cmd-step.rb, test/unit/test-proc-eval.rb,
test/unit/test-proc-main.rb: DRY code just a little more.
2010-12-27 rocky <rockyb@rubyforge.org>
* processor/command/list.rb: list.rb: help text corrections.
2010-12-27 rocky <rockyb@rubyforge.org>
* processor/command/finish.rb, processor/command/step.rb,
processor/main.rb, processor/running.rb: Add finish+ to step one in
calling method rather than stop before method return.
2010-12-27 rocky <rockyb@rubyforge.org>
* processor/command/finish.rb, processor/command/step.rb,
processor/stepping.rb, test/unit/test-cmd-finish.rb,
test/unit/test-cmd-step.rb, test/unit/test-proc-location.rb:
step.rb: Add "step into" "step over" and "step out" as alternates
for "step", "next", and "finish" Add standalone and unit tests for
step and finish.
2010-12-26 rocky <rockyb@rubyforge.org>
* processor/stepping.rb, test/integration/helper.rb,
test/integration/test-quit.rb: stepping.rb: Address another bug in
stepping from the begging of a file. test-quit.rb: Simple check of
.rbxrc for calling Trepan.start helper.rb: redirect stderr to stdout
2010-12-26 rocky <rockyb@rubyforge.org>
* .gemspec, NEWS, Rakefile, lib/trepanning.rb,
processor/command/step.rb: Repackage so gem will find on rubinius
1.2.
2010-12-25 rocky <rockyb@rubyforge.org>
* README.textile: Oops... wrong require
2010-12-25 rocky <rockyb@rubyforge.org>
* NEWS, README.textile, lib/trepanning.rb: Update README.textile
which was horribly out of date for something so new.
2010-12-24 rocky <rockyb@rubyforge.org>
* THANKS: Fix some of my usual spelling and grammar mistakes.
2010-12-23 rocky <rockyb@rubyforge.org>
* : commit b1d2605001d04ff6672c1c567fe887a2485a2b1b Author: rocky
<rockyb@rubyforge.org> Date: Thu Dec 23 11:46:30 2010 -0500
2010-12-23 rocky <rockyb@rubyforge.org>
* Rakefile, app/frame.rb, app/iseq.rb, lib/trepanning.rb,
processor/command/disassemble.rb, processor/command/frame.rb,
processor/command/list.rb, processor/disassemble.rb,
processor/frame.rb, processor/location.rb, processor/main.rb,
processor/mock.rb, processor/running.rb,
test/unit/test-proc-eval.rb, test/unit/test-proc-frame.rb: location
-> vm_location where location is of type Rubinius::Location.
2010-12-19 rocky <rockyb@rubyforge.org>
* processor/command/base/submgr.rb,
processor/command/disassemble.rb, processor/command/irb.rb,
processor/command/kill.rb: Sync with rb-trepanning.
2010-12-15 rocky <rockyb@rubyforge.org>
* test/integration/helper.rb: Check $?.exitstatus after running
debugger.
2010-12-15 rocky <rockyb@rubyforge.org>
* test/data/quit-Xdebug.right, test/integration/helper.rb,
test/integration/test-quit.rb: Add minimal -Xdebug integration test
2010-12-15 rocky <rockyb@rubyforge.org>
* .gemspec, Rakefile, app/options.rb, lib/trepanning.rb,
test/data/.gitignore, test/data/enable.right,
test/data/fname-with-blank.cmd, test/data/fname-with-blank.right,
test/data/quit.cmd, test/data/quit.right, test/example/.gitignore,
test/example/fname with blank.rb, test/example/gcd-xx.rb,
test/example/gcd.rb, test/example/gcd1.rb, test/example/null.rb,
test/example/thread1.rb, test/integration/.gitignore,
test/integration/file-diff.rb, test/integration/helper.rb,
test/integration/test-fname-with-blank.rb,
test/integration/test-quit.rb: Start integration tests. Wasn't
packaging test/data/. Turn on "set kernelstep off" for now.
2010-12-15 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb: Turn of kernelstep for now and leave that for
the user to turn on. When things go wrong, we need this on. So
until everything is more robust leave out.
2010-12-14 rocky <rockyb@rubyforge.org>
* processor/stepping.rb: Give error message if we can't step to
parent.
2010-12-14 rocky <rockyb@rubyforge.org>
* NEWS, THANKS: Cleaning up in preparation for release.
2010-12-14 rocky <rockyb@rubyforge.org>
* .gemspec, Rakefile, app/frame.rb, app/method.rb,
lib/trepanning.rb, processor/command/disassemble.rb,
processor/command/info_subcmd/program.rb,
processor/command/nexti.rb, processor/disassemble.rb,
processor/location.rb, processor/stepping.rb: Adapt to recent ip
changes - need to use next_ip rather than ip sometimes. Rakefile:
Require newer linecache and Rubinius; make gem Rubinius specific.
2010-12-05 rocky <rockyb@rubyforge.org>
* processor/location.rb, test/functional/fn_helper.rb: Add IP when
showing location.
2010-12-05 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb, processor/command/set_subcmd/basename.rb,
processor/command/set_subcmd/kernelstep.rb,
processor/command/show_subcmd/basename.rb,
processor/command/show_subcmd/kernelstep.rb, processor/main.rb,
processor/running.rb: "set kernelstep on/off": filter out stepping
into the kernel.
2010-12-05 rocky <rockyb@rubyforge.org>
* processor/command/base/subcmd.rb,
processor/command/set_subcmd/different.rb,
processor/command/set_subcmd/hidelevel.rb,
processor/command/show_subcmd/alias.rb, processor/running.rb: add
subcmd#prefix to DRY demo code more. Start ignore_file_re to ignore
kernel fns.
2010-11-28 rocky <rockyb@rubyforge.org>
* Rakefile: Add rake tasts to run standalone in bulk.
2010-11-28 rocky <rockyb@rubyforge.org>
* processor/command/info_subcmd/breakpoints.rb,
processor/command/set_subcmd/different.rb,
processor/command/set_subcmd/hidelevel.rb,
processor/command/set_subcmd/trace.rb,
processor/command/show_subcmd/alias.rb,
processor/command/show_subcmd/args.rb,
processor/command/show_subcmd/different.rb, processor/mock.rb: DRY
subcommand standalone code.
2010-11-28 rocky <rockyb@rubyforge.org>
* processor/breakpoint.rb, processor/validate.rb: Method parsing
from "list" and "disassemble" command reused in "breakpoint" and
"continue".
2010-11-28 rocky <rockyb@rubyforge.org>
* processor/breakpoint.rb, processor/validate.rb: Small changes.
2010-11-28 rocky <rockyb@rubyforge.org>
* processor/command/disassemble.rb, processor/command/list.rb,
processor/validate.rb: Allow method names in the "list" command.
2010-11-28 rvm <rocky@gnu.org>
* processor/command/disassemble.rb, processor/eval.rb: Handle method
names with '.' in disassembly. e.g. Object.is_a? or [1,2].max
2010-11-27 rocky <rockyb@rubyforge.org>
* processor/command/set_subcmd/auto_subcmd/dis.rb,
processor/command/set_subcmd/auto_subcmd/eval.rb,
processor/command/set_subcmd/auto_subcmd/irb.rb,
processor/command/set_subcmd/auto_subcmd/list.rb,
processor/command/set_subcmd/debug_subcmd/dbgr.rb,
processor/command/set_subcmd/debug_subcmd/skip.rb,
processor/command/set_subcmd/debug_subcmd/step.rb,
processor/command/show_subcmd/auto_subcmd/eval.rb,
processor/command/show_subcmd/auto_subcmd/irb.rb,
processor/command/show_subcmd/auto_subcmd/list.rb,
processor/command/show_subcmd/debug_subcmd/dbgr.rb,
processor/command/show_subcmd/debug_subcmd/skip.rb,
processor/command/show_subcmd/debug_subcmd/step.rb,
processor/mock.rb: Start much-needed DRY of subsubcommand standalone
code. Another half remain to be shortened.
2010-11-27 rvm <rocky@gnu.org>
* processor/command/show_subcmd/debug_subcmd/skip.rb,
processor/command/show_subcmd/debug_subcmd/step.rb: Last bugfixes
before we *really* DRY this redundant code.
2010-11-27 rvm <rocky@gnu.org>
* app/method.rb: meth->cm
2010-11-27 rvm <rocky@gnu.org>
* app/iseq.rb, processor/command/disassemble.rb,
processor/command/nexti.rb,
processor/command/set_subcmd/debug_subcmd/skip.rb,
processor/command/set_subcmd/debug_subcmd/step.rb,
processor/command/show_subcmd/debug_subcmd/step.rb,
processor/main.rb, processor/stepping.rb: Fix bug in nexti.rb. Add
set/show debug step. More standalone code. Start great rewrite
method/meth -> cm.
2010-11-27 rvm <rocky@gnu.org>
* app/method.rb, processor/command/disassemble.rb: Show lines
numbers in method disassembly.
2010-11-27 rocky <rockyb@rubyforge.org>
* processor/command/set_subcmd/auto_subcmd/dis.rb,
processor/command/show_subcmd/auto_subcmd/dis.rb,
processor/command/show_subcmd/auto_subcmd/eval.rb,
processor/command/show_subcmd/auto_subcmd/irb.rb,
processor/command/show_subcmd/auto_subcmd/list.rb,
processor/hook.rb, processor/main.rb, processor/stepping.rb: Add
"auto dis" which might be short-lived. Uncomment and fix some of the
standalone code for subcommands.
2010-11-27 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb, processor/location.rb: Small changes.
2010-11-21 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb: Add Kernel.debugger
2010-11-21 rocky <rockyb@rubyforge.org>
* test/functional/test-next-bug.rb: Code function may be less
puzzling, not that it really matters.
2010-11-21 rocky <rockyb@rubyforge.org>
* app/method.rb, app/run.rb, processor/command/disassemble.rb,
processor/command/next.rb, processor/main.rb, processor/running.rb,
processor/stepping.rb, test/functional/test-next-bug.rb: Fix bug in
'next' when a line has discontinuous ips. Fix broken bin/trepanx due
to interface change in ignored_methods. Allow disassembly of methods
in "disassemble" command.
2010-11-20 rocky <rockyb@rubyforge.org>
* processor/command/continue.rb, processor/location.rb: continue.rb:
forgotting to update a call for an interface change => brokenness.
2010-11-20 rocky <rockyb@rubyforge.org>
* : commit a8f1ffc2c3c2d3c4417ffb9c931af78ad7b6c0c8 Author: rocky
<rockyb@rubyforge.org> Date: Sat Nov 20 21:08:40 2010 -0500
2010-11-19 rvm <rocky@gnu.org>
* lib/trepanning.rb, processor/main.rb, processor/stepping.rb,
test/functional/test-step2.rb: Fix bug where stepping from of a
return doesn't stop on outside frame.
2010-11-19 rocky <rockyb@rubyforge.org>
* app/iseq.rb, lib/trepanning.rb, processor/command/disassemble.rb,
processor/command/up.rb, processor/disassemble.rb,
processor/frame.rb, processor/main.rb, processor/running.rb,
processor/stepping.rb, processor/validate.rb,
test/functional/test-finish.rb, test/unit/test-app-iseq.rb: Towards
handing step across return. Nicer disassembly single statements.
Fixed method filtering iseq.c: go_between: now understands that a
return breaks the flow too lib/trepannig.rb: add initialize routine
to ignored list of filtered fns command/disassemble.rb: reorganize
so we can handle disassemble of individual methods command/up.rb:
fix comment processor/disassemble.rb: use
Rubinius::CompiledMethod::Instruction to shorten code and get
comments in output frame.rb: common routine to get parent frame.
processor/running.rb: remove bug in method filter test.
processor/stepping.rb: better generalization of related breakpoint
handling.
2010-11-17 rocky <rockyb@rubyforge.org>
* app/method.rb, app/validate.rb, processor/breakpoint.rb,
processor/command/break.rb, processor/command/continue.rb,
processor/validate.rb, test/functional/test-tbreak.rb,
test/unit/test-app-method.rb, test/unit/test-app-validate.rb: Can
now set breakpoints on IPs. Fix status and setting of some temporary
breakpoints.
2010-11-16 rocky <rockyb@rubyforge.org>
* .gemspec, processor/command/list.rb, processor/location.rb,
processor/validate.rb, test/functional/test-break-name.rb: Use
script caching recently added to linecache for eval-like things. As
a result, "list" now works. validate: bug in regexp was not
catching !,? or = at the end.
2010-11-15 rvm <rocky@gnu.org>
* app/frame.rb, processor/location.rb: We pick up the eval_string
now. Thanks again, evan! (More could be done to cache info as a
file.)
2010-11-14 rvm <rocky@gnu.org>
* processor/breakpoint.rb: Remove extraneous comment.
2010-11-14 rvm <rocky@gnu.org>
* processor/breakpoint.rb, processor/main.rb: Delete temporary
breakpoints after hitting them.
2010-11-14 rvm <rocky@gnu.org>
* app/irb.rb, app/iseq.rb, processor/command/disassemble.rb,
processor/command/info_subcmd/program.rb, processor/disassemble.rb,
test/unit/test-app-iseq.rb: Tag disassemble output with IP location
and breakpoints set.
2010-11-13 rvm <rocky@gnu.org>
* app/util.rb, lib/trepanning.rb,
processor/command/set_subcmd/hidelevel.rb, processor/frame.rb:
Hiding levels below "main" for -Xdebug and trepanx better. util.rb:
Don't need dollar_0 routine anymore. set_subcmd/hidelevel.rb:
recalculate level on resetting.
2010-11-12 rvm <rocky@gnu.org>
* app/default.rb, processor/command/restart.rb,
processor/command/show_subcmd/args.rb, processor/mock.rb: Synch with
rb-trepannning
2010-11-11 rvm <rocky@gnu.org>
* app/method.rb, test/unit/test-app-method.rb: Add locate_line test.
Some other small changes.
2010-11-10 rvm <rocky@gnu.org>
* app/iseq.rb, processor/running.rb, processor/stepping.rb,
test/unit/test-app-iseq.rb: "finish" should include "yield" ops in
addition to "return" ops.
2010-11-09 rvm <rocky@gnu.org>
* data/irbrc: One more small name change.
2010-11-09 rvm <rocky@gnu.org>
* data/irbrc, processor/command/irb.rb: trepan -> trepanx
2010-11-09 rvm <rocky@gnu.org>
* data/irbrc, processor/command/set_subcmd/trace_subcmd/.gitignore,
processor/command/show_subcmd/trace_subcmd/.gitignore: Monkeypatch
in the proper way.
2010-11-09 rocky <rockyb@rubyforge.org>
* app/default.rb, app/run.rb, bin/trepanx, lib/trepanning.rb,
processor/command/restart.rb,
processor/command/show_subcmd/args.rb, processor/location.rb,
processor/mock.rb, test/unit/test-app-run.rb: Greatly simplify
restart code and it's now more reliable thanks to the addition of
Rubinuis::OS_ARGV and Rubinius::OS_STARTUP_DIR. Thanks, Evan!
2010-11-08 rocky <rockyb@rubyforge.org>
* app/default.rb, app/run.rb, lib/trepanning.rb: Generalize
standalone hack so and include -Xdebug.
2010-11-08 rocky <rockyb@rubyforge.org>
* processor/command/backtrace.rb: Wasn't starting from top if we had
adjusted the frame. Add position indicator in backtrace and make it
look more like trepan (and gdb).
2010-11-08 rvm <rocky@gnu.org>
* app/method.rb, app/run.rb, interface/script.rb, io/base_io.rb,
io/null_output.rb, processor/command/set_subcmd/max.rb,
processor/command/set_subcmd/max_subcmd/list.rb,
processor/command/set_subcmd/substitute.rb,
processor/command/set_subcmd/trace.rb,
processor/command/set_subcmd/trace_subcmd/.gitignore,
processor/command/set_subcmd/trace_subcmd/print.rb,
processor/command/show_subcmd/max.rb,
processor/command/show_subcmd/max_subcmd/list.rb,
processor/command/show_subcmd/trace.rb,
processor/command/show_subcmd/trace_subcmd/.gitignore,
processor/command/show_subcmd/trace_subcmd/print.rb,
processor/command/source.rb, processor/frame.rb: bin/trepanx now
stops in user script rather than the loader. It does this by rather
hacky means, but it's the best I can find for now. Added a null
output routine and the -q (silence) option on the source command.
2010-11-08 rvm <rocky@gnu.org>
* processor/command/finish.rb, processor/command/list.rb: list.rb:
make it I hope more rational. finish.rb: some cut-and-past typos.
2010-11-07 rvm <rocky@gnu.org>
* processor/frame.rb, test/functional/fn_helper.rb,
test/functional/test-list.rb: Fix bug in handling "list" command
after changing frames.
2010-11-07 rvm <rocky@gnu.org>
* : commit de520fc0cd97e910e70ee6db496a0fc13344a815 Author: rvm
<rocky@gnu.org> Date: Sun Nov 7 10:09:00 2010 -0500
2010-11-06 rocky <rockyb@rubyforge.org>
* app/method.rb, test/functional/test-break.rb: Work on setting
breakpoints via line numbers.
2010-11-06 rvm <rocky@gnu.org>
* app/breakpoint.rb, lib/trepanning.rb,
processor/command/continue.rb, test/functional/fn_helper.rb,
test/functional/test-tbreak.rb: Had broken temporary breakpoints.
Add now a tbreak test.
2010-11-06 rvm <rocky@gnu.org>
* lib/trepanning.rb, processor/command/finish.rb,
processor/main.rb, processor/running.rb: Code clean up due to
differen handling of stepping breakpoints.
2010-11-06 rocky <rockyb@rubyforge.org>
* app/breakpoint.rb, app/frame.rb, lib/trepanning.rb,
processor/command/nexti.rb, processor/stepping.rb,
test/functional/test-finish.rb, test/functional/test-next.rb: Allow
breakpoints to be scoped. Fixes bugs in handling recursive "next"
and "finish". Based on Rubinius commit # 3a1c111. See issue
Rubinius issue #558
2010-11-06 rocky <rockyb@rubyforge.org>
* processor/breakpoint.rb, processor/command/continue.rb,
processor/main.rb: Start "continue" with a target. Temp breakpoints
are borked though.
2010-11-05 rocky <rockyb@rubyforge.org>
* app/run.rb, lib/trepanning.rb, processor/command/list.rb,
processor/running.rb: Work more on ignoring methods we don't want to
stop in.
2010-11-05 rocky <rockyb@rubyforge.org>
* app/run.rb, processor/mock.rb, processor/running.rb: Skip over
debug_program method (used in standalone).
2010-11-05 rocky <rockyb@rubyforge.org>
* processor/location.rb, test/unit/test-proc-location.rb: Fix bug in
not picking up remapped files the first time around.
2010-11-05 rocky <rockyb@rubyforge.org>
* processor/command/next.rb, processor/command/step.rb,
processor/main.rb, processor/running.rb,
test/unit/test-bin-trepan.rb, test/unit/test-bin-trepanx.rb: "set
different" now works properly.
2010-11-04 rocky <rockyb@rubyforge.org>
* processor/command/set_subcmd/hidelevel.rb, processor/default.rb,
processor/frame.rb: Some small bugs and keep in sync with
rb-trepanning.
2010-11-04 rocky <rockyb@rubyforge.org>
* .gemspec, bin/trepan, bin/trepanx: bin/trepan -> bin/trepanx
2010-11-04 rvm <rocky@gnu.org>
* app/run.rb, processor/command/base/subcmd.rb,
processor/command/set_subcmd/debug_subcmd/stack.rb,
processor/command/set_subcmd/different.rb,
processor/command/set_subcmd/hidelevel.rb,
processor/command/show_subcmd/debug_subcmd/stack.rb,
processor/command/show_subcmd/different.rb,
processor/command/show_subcmd/hidelevel.rb,
processor/command/show_subcmd/max_subcmd/list.rb,
processor/command/show_subcmd/max_subcmd/stack.rb,
processor/command/show_subcmd/max_subcmd/string.rb,
processor/command/show_subcmd/max_subcmd/width.rb,
processor/default.rb, processor/frame.rb, processor/validate.rb:
Replace "set debug stack" with more general "set hidelevel". Fix up
some standalone code running. Use SubSubcommand where appropriate.
2010-11-04 rvm <rocky@gnu.org>
* lib/trepanning.rb, processor/main.rb,
test/functional/test-finish.rb, test/functional/test-next.rb,
test/functional/test-step.rb: start now stops by default at
*following* steppable statement. If you want to stop at the "start"
location, use Trepan.start{:immediate => true}
2010-11-03 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb, processor/command/info_subcmd/program.rb,
processor/main.rb, test/functional/test-finish.rb: Nil breakpoint
means "stepping call" event.
2010-11-01 rocky <rockyb@rubyforge.org>
* test/functional/test-finish.rb, test/functional/test-next.rb:
First test of "finish" command. Todo: Looks like it's buggy when we
have recursive functions.
2010-10-21 rocky <rockyb@rubyforge.org>
* app/util.rb, test/unit/test-app-util.rb: Try elision of long
strings in the middle of the string.
2010-10-21 rocky <rockyb@rubyforge.org>
* app/brkptmgr.rb, app/method.rb, app/run.rb, lib/trepanning.rb,
processor/breakpoint.rb, processor/command/break.rb,
processor/command/disassemble.rb, processor/validate.rb,
test/functional/test-next.rb: Fix bug in breakpoint numbering. Fix
bug in restart when running bin/trepan breakpoint allows forms
nothing (current line) line as well as previous forms.
app/brkptmgr.rb: max should start off 0. app/method.rb: routines
for working with compiled methods app/run.rb: use dbgr passed in.
Don't smash restart_args, via set_restart, allow opts to be passed
in lib/trepanning merge dbussink's fix in rbx-head to reference
debugger command/disassemble.rb: had tropped off section header for
"all" processor/validate.rb: common routine to parse a breakpoint
position.
2010-10-19 rvm <rocky@gnu.org>
* test/functional/test-next.rb: Add 'next' functional test.
2010-10-19 rocky <rockyb@rubyforge.org>
* Rakefile, lib/trepanning.rb, processor/frame.rb,
processor/main.rb, processor/running.rb: Rakefile: add functional
testing lib/trepanning.rb: honor input and output interfaces when
passed processor/frame.rb: RDoc appeasement processor/main.rb:
Change commen so it makes more sense when viewed in RDoc
processor/running.rb: remove debug output.
2010-10-19 rocky <rockyb@rubyforge.org>
* test/functional/test-step.rb: First functional test of single
stepping. WOOT!
2010-10-19 rocky <rockyb@rubyforge.org>
* test/functional/.gitignore, test/functional/fn_helper.rb,
test/functional/test-fn_helper.rb: Baby steps toward adding
functional test: test the test helper. Some RDoc appeasements.
2010-10-19 rocky <rockyb@rubyforge.org>
* app/breakpoint.rb, processor/breakpoint.rb,
processor/command/finish.rb, processor/running.rb,
processor/stepping.rb: Add finish (step out) command.
app/breakpoint.rb: generalize paired breakpoints to more than two
which is needed for finish. processor/breakpoint.rb: fix bugs
caused by refactoring
2010-10-18 rvm <rocky@gnu.org>
* app/iseq.rb, processor/stepping.rb, test/unit/test-app-iseq.rb:
Extract, test, and fix more instruction sequence routines.
2010-10-18 rvm <rocky@gnu.org>
* app/iseq.rb, processor/command/set_subcmd/debug_subcmd/skip.rb,
processor/command/show_subcmd/debug_subcmd/skip.rb,
processor/main.rb, processor/mock.rb, processor/stepping.rb,
test/unit/test-cmd-alias.rb, test/unit/test-proc-eval.rb,
test/unit/test-proc-main.rb: Add set/show debug skip. Start moving
out instruction sequence code to module.
2010-10-18 rvm <rocky@gnu.org>
* app/run.rb, lib/trepanning.rb, processor/command/disassemble.rb,
processor/frame.rb, processor/main.rb, processor/running.rb,
processor/stepping.rb: Hide level only if it makes sense. Start work
on finish. (Not complete). Fix But in stepping test.
2010-10-17 rvm <rocky@gnu.org>
* processor/command/next.rb, processor/command/step.rb,
processor/main.rb, processor/running.rb: Next/step <count> now
works.
2010-10-17 rvm <rocky@gnu.org>
* processor/command/continue.rb, processor/command/next.rb,
processor/command/nexti.rb, processor/command/step.rb,
processor/main.rb, processor/running.rb, processor/stepping.rb: Move
return-to-program control into main.rb. Facilitates handling step
filtering.
2010-10-17 rvm <rocky@gnu.org>
* processor/command/next.rb, processor/command/step.rb,
processor/main.rb, processor/stepping.rb: Move stepping code to
Trepan::CmdProcessor in file processor/stepping.rb
2010-10-16 rvm <rocky@gnu.org>
* processor/mock.rb, test/unit/test-cmd-help.rb: Reinstate expect
message on assert
2010-10-16 rvm <rocky@gnu.org>
* processor/command/alias.rb, processor/command/list.rb,
processor/command/pr.rb, processor/command/show.rb: DRY code with
respect to Mock setup. less hard-coding of command names via #{NAME}
2010-10-16 rvm <rocky@gnu.org>
* : commit 3309874e7bfd623ce4c93e08812ee343f4f98d16 Author: rvm
<rocky@gnu.org> Date: Sat Oct 16 10:16:11 2010 -0400
2010-10-14 rocky <rockyb@rubyforge.org>
* processor/command/pr.rb: Add print/eval with truncated output for
long strings.
2010-10-14 rocky <rockyb@rubyforge.org>
* processor/command/set_subcmd/debug_subcmd/dbgr.rb,
processor/command/show_subcmd/debug_subcmd/dbgr.rb,
processor/command/step.rb, processor/main.rb, processor/running.rb,
test/unit/test-base-subcmd.rb: running.rb, step.rb: More work trying
to put into a normal command loop. Add "set debug dbgr". Add test
of base commands.
2010-10-14 rvm <rocky@gnu.org>
* lib/trepanning.rb, processor/breakpoint.rb, processor/main.rb,
processor/running.rb: Add Trepan.breakpoint instance variable. Start
to get step count and stuff in place for step filtering.
2010-10-13 rvm <rocky@gnu.org>
* app/irb.rb, data/.gitignore, data/irbrc,
processor/command/irb.rb,
processor/command/set_subcmd/auto_subcmd/irb.rb,
processor/command/show_subcmd/auto_subcmd/irb.rb, processor/mock.rb:
Add debugger 'irb' command and set/show autoirb.
2010-10-13 rocky <rockyb@rubyforge.org>
* processor/hook.rb: Add set/show debug dbgr.
2010-10-13 rocky <rockyb@rubyforge.org>
* processor/command/set_subcmd/auto.rb,
processor/command/set_subcmd/debug.rb,
processor/command/set_subcmd/debug_subcmd/.gitignore,
processor/command/set_subcmd/debug_subcmd/stack.rb,
processor/command/show_subcmd/args.rb,
processor/command/show_subcmd/debug.rb,
processor/command/show_subcmd/debug_subcmd/.gitignore,
processor/command/show_subcmd/debug_subcmd/stack.rb,
processor/command/show_subcmd/max.rb: Add set/show debug stack - to
hide/show least-recent boilerplate frames that are generally not a
programmer's concern.
2010-10-13 rocky <rockyb@rubyforge.org>
* app/util.rb, processor/command/backtrace.rb, processor/frame.rb,
test/unit/test-app-util.rb, test/unit/test-proc-frame.rb: Start
hiding boilerplate start-up frames. set debug stack (which has not
been put in yet) will let you see these frames.
2010-10-12 rocky <rockyb@rubyforge.org>
* processor/mock.rb, test/unit/cmd-helper.rb,
test/unit/test-cmd-break.rb: First breakpoint unit test. Yay!
2010-10-12 rocky <rockyb@rubyforge.org>
* processor/frame.rb, processor/mock.rb, processor/validate.rb,
test/unit/test-proc-frame.rb: Reinstate most of the processor/frame
unit test from rb-trepanning.
2010-10-12 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb, processor/frame.rb, processor/main.rb: Small
frame code cleanups.
2010-10-12 rvm <rocky@gnu.org>
* app/brkptmgr.rb, app/frame.rb, lib/trepanning.rb,
processor/breakpoint.rb, processor/command/break.rb: Address
breakpoints broken in last breakpoint reorganization.
2010-10-12 rvm <rocky@gnu.org>
* processor/command/continue.rb, processor/command/next.rb,
processor/command/nexti.rb, processor/command/step.rb,
processor/main.rb, processor/running.rb: Start to get control over
what happens before and after returning to debugged program. This
will be needed to handle filtering stops (used for example when
running the debugger from the outset) and recording events in an
event buffer.
2010-10-11 rvm <rocky@gnu.org>
* lib/trepanning.rb, processor/frame.rb, processor/main.rb:
processor/frame.rb: show location in usual format, not the backtrace
format processor/main.rb: reinstate code with print_loatio
lib/trepanning.rb: spelling correction in comment.
2010-10-08 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb, processor/command/disassemble.rb,
processor/disassemble.rb, processor/frame.rb,
processor/location.rb, processor/main.rb: Move some disassembly code
from lib/trepanning.rb to processor/disassemble.rb
2010-10-08 rocky <rockyb@rubyforge.org>
* Makefile, processor/Makefile: Add boilerplate Makefile's
2010-10-08 rocky <rockyb@rubyforge.org>
* test/unit/test-unit-exit.rb: How did this get in there?
2010-10-08 rocky <rockyb@rubyforge.org>
* processor/command/info_subcmd/breakpoints.rb,
test/unit/test-cmd-exit.rb: Add unit test for exit. Add help for
"info breakpoints". Copied from rb-trepanning - Not quite accurate
yet.
2010-10-08 rocky <rockyb@rubyforge.org>
* processor/command/source.rb: Small things to sync up with
rb-trepanning
2010-10-08 rocky <rockyb@rubyforge.org>
* app/breakpoint.rb, app/brkptmgr.rb, lib/trepanning.rb,
processor/command/break.rb, processor/command/next.rb,
processor/command/nexti.rb, processor/command/tbreak.rb,
test/unit/test-app-brkpt.rb, test/unit/test-app-brkptmgr.rb: Small
things to sync up with rb-trepanning
2010-10-07 rocky <rockyb@rubyforge.org>
* processor/command/list.rb: Add current-line indicator.
2010-10-07 rocky <rockyb@rubyforge.org>
* Rakefile, app/breakpoint.rb, app/brkptmgr.rb, lib/trepanning.rb,
processor/command/info.rb,
processor/command/info_subcmd/breakpoints.rb,
processor/command/tbreak.rb, test/unit/test-app-brkptmgr.rb: More
better tests of breakpoint manager. There is some breakage remaining
though. info_subcmd/breakpoints.rb: work on this. Again there's
some breakage from the bp manager merge Rakefile: add task
check:app. Correct check:command.
2010-10-07 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb, processor/location.rb: Show location in same
format as 1.9.2 debugger (and other gdb-like debuggers).
2010-10-07 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb, processor/command/info_subcmd/program.rb,
processor/command/next.rb, processor/command/nexti.rb,
processor/location.rb, processor/main.rb: lib/trepanning.rb,
nexti.rb, next.rb: make event names match rb-trepanning. Use string
not symbol. location.rb: Reinstate print_location.
2010-10-07 rocky <rockyb@rubyforge.org>
* app/breakpoint.rb, lib/trepanning.rb, processor/command/break.rb,
processor/command/info_subcmd/program.rb,
processor/command/next.rb, processor/command/nexti.rb: Start to add
stopped event types.
2010-10-07 rocky <rockyb@rubyforge.org>
* app/brkptmgr.rb, lib/trepanning.rb, processor/breakpoint.rb,
processor/command/break.rb, processor/command/next.rb: Move
set-breakpoint_method from lib/trepanning.rb into
processor/breakpoint.rb brktmgr.rb: add rest of demo code
lib/trepanning.rb: Don't need @breakpoints anymore. Use
@processor.brkpts next.rb: typo.
2010-10-05 rocky <rockyb@rubyforge.org>
* app/breakpoint.rb, lib/trepanning.rb, test/unit/test-app-brkpt.rb:
breakpoint.rb: respect setting id value when passed. Add some demo
code. Add unit test for app/breakpoint.rb
2010-10-04 rocky <rockyb@rubyforge.org>
* app/brkptmgr.rb: Start Breakpoint manager.
2010-10-04 rocky <rockyb@rubyforge.org>
* app/breakpoint.rb, lib/trepanning.rb, processor/command/next.rb,
processor/command/nexti.rb: Baby step towards merging breakpoint
handling with rb-trepanning.
2010-09-29 rocky <rockyb@rubyforge.org>
* processor/command/set_subcmd/substitute.rb,
processor/command/set_subcmd/substitute_subcmd/.gitignore,
processor/command/set_subcmd/substitute_subcmd/path.rb: Add "set
substitute ppath" command.
2010-09-27 rocky <rockyb@rubyforge.org>
* processor/command/info_subcmd/file.rb: Add "info file".
2010-09-27 rocky <rockyb@rubyforge.org>
* ChangeLog, processor/location.rb: Track rbx-linecache change which
was tracking a change from linecache-tf...
2010-09-27 rocky <rockyb@rubyforge.org>
* README.textile: README tyhpo
2010-09-27 rocky <rockyb@rubyforge.org>
* README.textile: Add rbx-require-relative to README
2010-09-27 rocky <rockyb@rubyforge.org>
* README.textile: Readme typo
2010-09-27 rocky <rockyb@rubyforge.org>
* README.textile: Readme typo
2010-09-27 rocky <rockyb@rubyforge.org>
* README.textile: Small readme tweak
2010-09-27 rocky <rockyb@rubyforge.org>
* .gemspec, README.textile: Add README
2010-09-27 rocky <rockyb@rubyforge.org>
* test/unit/test-bin-trepan.rb: Add unit test for bin/trepan
2010-09-27 rocky <rockyb@rubyforge.org>
* lib/trepanning.rb, processor/main.rb,
test/unit/test-app-options.rb, test/unit/test-app-run.rb: Run
debugger user profile and set initial directory. Add options test.
2010-09-27 rocky <rockyb@rubyforge.org>
* processor/command/set_subcmd/max_subcmd/list.rb,
processor/command/show_subcmd/max_subcmd/list.rb: Add "set/show max
list"
2010-09-27 rocky <rockyb@rubyforge.org>
* processor/command/list.rb,
processor/command/set_subcmd/max_subcmd/stack.rb,
processor/default.rb: Add "set/show max list"
2010-09-27 rocky <rockyb@rubyforge.org>
* app/frame.rb, processor/command/continue.rb,
processor/command/list.rb, processor/command/nexti.rb,
processor/command/set_subcmd/auto_subcmd/list.rb,
processor/command/show_subcmd/auto_subcmd/list.rb,
processor/command/step.rb, processor/frame.rb, processor/main.rb,
processor/mock.rb, processor/validate.rb: Add "list" and set/show
autolist commands. Somewhat buggy.
2010-09-27 rocky <rockyb@rubyforge.org>
* .gemspec, lib/trepanning.rb, processor/command/directory.rb,
processor/command/kill.rb, processor/default.rb,
processor/location.rb, processor/main.rb: Add gdb-like 'directory'
command so we can trace into rubinius source.
2010-09-26 rocky <rockyb@rubyforge.org>
* .gemspec, Rakefile, lib/trepanning.rb: Need require-relative
dependency.
2010-09-26 rocky <rockyb@rubyforge.org>
* processor/command/restart.rb: Sync with rb-trepanning
2010-09-26 rocky <rockyb@rubyforge.org>
* Rakefile, app/default.rb, app/options.rb, app/run.rb, bin/trepan,
lib/trepanning.rb, processor/command/restart.rb,
processor/default.rb, processor/mock.rb, processor/validate.rb,
test/unit/test-app-run.rb: Rbdbgr->Trepanning
2010-09-26 rocky <rockyb@rubyforge.org>
* THANKS: Text hacking
2010-09-26 rocky <rockyb@rubyforge.org>
* THANKS: Text hacking
2010-09-26 rocky <rockyb@rubyforge.org>
* processor/command/down.rb, processor/command/up.rb: Add "up" and
"down" commands - this time, for sure!
2010-09-26 rocky <rockyb@rubyforge.org>
* doc/debugger.html, lib/trepanning.rb, processor/command/frame.rb,
processor/frame.rb, processor/main.rb: Add "up" and "down" commands.
Renstatate more of trepan's CmdProcessor frame routines.
2010-09-25 rocky <rockyb@rubyforge.org>
* .gemspec, app/default.rb, app/options.rb: Add executable. Pick up
right command init file.
2010-09-25 rocky <rockyb@rubyforge.org>
* .gemspec, AUTHORS, Rakefile, THANKS, app/options.rb, app/run.rb,
bin/.gitignore, bin/trepan, processor/command/break.rb: Add code to
invoke from outset. Complete with debugger options. Needs
improvement to skip over the crap before main.__script__ starts. Numerous other small changes.
2010-09-25 rocky <rockyb@rubyforge.org>
* .gemspec, .gitignore, AUTHORS, ChangeLog, NEWS, Rakefile,
debugger.rb, lib/.gitignore, lib/trepanning.rb, processor/eval.rb,
processor/mock.rb: Administrivia: do things to make a gem.
debugger.rb -> lib/trepanning.rb So you now: require 'trepanning'
2010-09-25 rocky <rockyb@rubyforge.org>
* doc/.gitignore, doc/debugger.html: Start revised documentation.
2010-09-25 rocky <rockyb@rubyforge.org>
* app/default.rb, debugger.rb, processor/command/restart.rb,
processor/command/show_subcmd/args.rb, processor/mock.rb: Add
"restart" command. YAY! Means we also have "show args".
2010-09-25 rocky <rockyb@rubyforge.org>
* app/run.rb, debugger.rb, processor/command/break.rb,
processor/eval.rb, processor/main.rb, test/unit/test-app-run.rb:
Bang on eval(). I think I've got it this time. Start run/restart.
2010-09-25 rocky <rockyb@rubyforge.org>
* app/frame.rb, test/unit/test-proc-help.rb,
test/unit/test-proc-hook.rb, test/unit/test-subcmd-help.rb:
Stuffthat didn't seem to get committed last time.
2010-09-25 rocky <rockyb@rubyforge.org>
* processor/command/base/cmd.rb, processor/eval.rb,
processor/main.rb: Add more tests back in. Attempt to disembowl eval
code. I think some bugs were fixed.
2010-09-25 rocky <rockyb@rubyforge.org>
* app/breakpoint.rb, app/frame.rb, debugger.rb,
processor/breakpoint.rb, processor/command/backtrace.rb,
processor/command/base/cmd.rb, processor/command/break.rb,
processor/command/delete.rb, processor/command/source.rb,