rbx-trepanning 0.0.1-universal-rubinius

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. data/ChangeLog +376 -0
  2. data/LICENSE +25 -0
  3. data/NEWS +2 -0
  4. data/README.textile +28 -0
  5. data/Rakefile +165 -0
  6. data/THANKS +14 -0
  7. data/app/breakpoint.rb +218 -0
  8. data/app/breakpoint.rbc +3564 -0
  9. data/app/brkptmgr.rb +138 -0
  10. data/app/brkptmgr.rbc +2827 -0
  11. data/app/default.rb +61 -0
  12. data/app/default.rbc +1011 -0
  13. data/app/display.rb +35 -0
  14. data/app/display.rbc +968 -0
  15. data/app/frame.rb +98 -0
  16. data/app/frame.rbc +1808 -0
  17. data/app/irb.rb +112 -0
  18. data/app/irb.rbc +2111 -0
  19. data/app/iseq.rb +95 -0
  20. data/app/iseq.rbc +1801 -0
  21. data/app/method.rb +173 -0
  22. data/app/method.rbc +2492 -0
  23. data/app/mock.rb +13 -0
  24. data/app/mock.rbc +398 -0
  25. data/app/options.rb +123 -0
  26. data/app/options.rbc +2183 -0
  27. data/app/run.rb +86 -0
  28. data/app/run.rbc +1244 -0
  29. data/app/util.rb +49 -0
  30. data/app/util.rbc +1144 -0
  31. data/app/validate.rb +30 -0
  32. data/app/validate.rbc +676 -0
  33. data/bin/trepan.compiled.rbc +1043 -0
  34. data/bin/trepanx +63 -0
  35. data/bin/trepanx.compiled.rbc +985 -0
  36. data/interface/base_intf.rb +95 -0
  37. data/interface/base_intf.rbc +1742 -0
  38. data/interface/script.rb +104 -0
  39. data/interface/script.rbc +1642 -0
  40. data/interface/user.rb +91 -0
  41. data/interface/user.rbc +1418 -0
  42. data/io/base_io.rb +94 -0
  43. data/io/base_io.rbc +1404 -0
  44. data/io/input.rb +112 -0
  45. data/io/input.rbc +1979 -0
  46. data/io/null_output.rb +42 -0
  47. data/io/null_output.rbc +730 -0
  48. data/io/string_array.rb +156 -0
  49. data/io/string_array.rbc +2466 -0
  50. data/lib/trepanning.rb +398 -0
  51. data/lib/trepanning.rbc +6661 -0
  52. data/processor/breakpoint.rb +161 -0
  53. data/processor/command/alias.rb +55 -0
  54. data/processor/command/backtrace.rb +46 -0
  55. data/processor/command/base/cmd.rb +124 -0
  56. data/processor/command/base/subcmd.rb +213 -0
  57. data/processor/command/base/submgr.rb +179 -0
  58. data/processor/command/base/subsubcmd.rb +103 -0
  59. data/processor/command/base/subsubmgr.rb +184 -0
  60. data/processor/command/break.rb +100 -0
  61. data/processor/command/continue.rb +82 -0
  62. data/processor/command/delete.rb +30 -0
  63. data/processor/command/directory.rb +43 -0
  64. data/processor/command/disassemble.rb +103 -0
  65. data/processor/command/down.rb +54 -0
  66. data/processor/command/eval.rb +31 -0
  67. data/processor/command/exit.rb +58 -0
  68. data/processor/command/finish.rb +78 -0
  69. data/processor/command/frame.rb +89 -0
  70. data/processor/command/help.rb +146 -0
  71. data/processor/command/info.rb +28 -0
  72. data/processor/command/info_subcmd/breakpoints.rb +75 -0
  73. data/processor/command/info_subcmd/file.rb +153 -0
  74. data/processor/command/info_subcmd/method.rb +71 -0
  75. data/processor/command/info_subcmd/program.rb +59 -0
  76. data/processor/command/info_subcmd/variables.rb +40 -0
  77. data/processor/command/irb.rb +96 -0
  78. data/processor/command/kill.rb +70 -0
  79. data/processor/command/list.rb +296 -0
  80. data/processor/command/next.rb +66 -0
  81. data/processor/command/nexti.rb +59 -0
  82. data/processor/command/pr.rb +38 -0
  83. data/processor/command/ps.rb +40 -0
  84. data/processor/command/restart.rb +60 -0
  85. data/processor/command/set.rb +47 -0
  86. data/processor/command/set_subcmd/auto.rb +28 -0
  87. data/processor/command/set_subcmd/auto_subcmd/dis.rb +33 -0
  88. data/processor/command/set_subcmd/auto_subcmd/eval.rb +54 -0
  89. data/processor/command/set_subcmd/auto_subcmd/irb.rb +34 -0
  90. data/processor/command/set_subcmd/auto_subcmd/list.rb +34 -0
  91. data/processor/command/set_subcmd/basename.rb +26 -0
  92. data/processor/command/set_subcmd/debug.rb +27 -0
  93. data/processor/command/set_subcmd/debug_subcmd/dbgr.rb +36 -0
  94. data/processor/command/set_subcmd/debug_subcmd/skip.rb +23 -0
  95. data/processor/command/set_subcmd/debug_subcmd/step.rb +23 -0
  96. data/processor/command/set_subcmd/different.rb +60 -0
  97. data/processor/command/set_subcmd/hidelevel.rb +63 -0
  98. data/processor/command/set_subcmd/kernelstep.rb +61 -0
  99. data/processor/command/set_subcmd/max.rb +29 -0
  100. data/processor/command/set_subcmd/max_subcmd/list.rb +49 -0
  101. data/processor/command/set_subcmd/max_subcmd/stack.rb +50 -0
  102. data/processor/command/set_subcmd/max_subcmd/string.rb +54 -0
  103. data/processor/command/set_subcmd/max_subcmd/width.rb +49 -0
  104. data/processor/command/set_subcmd/substitute.rb +25 -0
  105. data/processor/command/set_subcmd/substitute_subcmd/path.rb +56 -0
  106. data/processor/command/set_subcmd/trace.rb +37 -0
  107. data/processor/command/set_subcmd/trace_subcmd/print.rb +57 -0
  108. data/processor/command/show.rb +27 -0
  109. data/processor/command/show_subcmd/alias.rb +43 -0
  110. data/processor/command/show_subcmd/args.rb +26 -0
  111. data/processor/command/show_subcmd/auto.rb +28 -0
  112. data/processor/command/show_subcmd/auto_subcmd/dis.rb +37 -0
  113. data/processor/command/show_subcmd/auto_subcmd/eval.rb +28 -0
  114. data/processor/command/show_subcmd/auto_subcmd/irb.rb +23 -0
  115. data/processor/command/show_subcmd/auto_subcmd/list.rb +22 -0
  116. data/processor/command/show_subcmd/basename.rb +22 -0
  117. data/processor/command/show_subcmd/debug.rb +27 -0
  118. data/processor/command/show_subcmd/debug_subcmd/dbgr.rb +21 -0
  119. data/processor/command/show_subcmd/debug_subcmd/skip.rb +22 -0
  120. data/processor/command/show_subcmd/debug_subcmd/step.rb +22 -0
  121. data/processor/command/show_subcmd/different.rb +27 -0
  122. data/processor/command/show_subcmd/hidelevel.rb +42 -0
  123. data/processor/command/show_subcmd/kernelstep.rb +37 -0
  124. data/processor/command/show_subcmd/max.rb +30 -0
  125. data/processor/command/show_subcmd/max_subcmd/list.rb +38 -0
  126. data/processor/command/show_subcmd/max_subcmd/stack.rb +36 -0
  127. data/processor/command/show_subcmd/max_subcmd/string.rb +42 -0
  128. data/processor/command/show_subcmd/max_subcmd/width.rb +37 -0
  129. data/processor/command/show_subcmd/trace.rb +29 -0
  130. data/processor/command/show_subcmd/trace_subcmd/print.rb +38 -0
  131. data/processor/command/source.rb +83 -0
  132. data/processor/command/step.rb +41 -0
  133. data/processor/command/tbreak.rb +19 -0
  134. data/processor/command/unalias.rb +44 -0
  135. data/processor/command/up.rb +87 -0
  136. data/processor/default.rb +56 -0
  137. data/processor/disassemble.rb +32 -0
  138. data/processor/eval.rb +96 -0
  139. data/processor/frame.rb +211 -0
  140. data/processor/help.rb +72 -0
  141. data/processor/hook.rb +133 -0
  142. data/processor/load_cmds.rb +101 -0
  143. data/processor/location.rb +128 -0
  144. data/processor/main.rb +394 -0
  145. data/processor/mock.rb +137 -0
  146. data/processor/msg.rb +28 -0
  147. data/processor/running.rb +230 -0
  148. data/processor/stepping.rb +115 -0
  149. data/processor/subcmd.rb +160 -0
  150. data/processor/validate.rb +355 -0
  151. data/test/data/enable.right +36 -0
  152. data/test/data/fname-with-blank.cmd +6 -0
  153. data/test/data/fname-with-blank.right +1 -0
  154. data/test/data/quit-Xdebug.right +3 -0
  155. data/test/data/quit.cmd +5 -0
  156. data/test/data/quit.right +0 -0
  157. data/test/example/fname with blank.rb +1 -0
  158. data/test/example/gcd-xx.rb +18 -0
  159. data/test/example/gcd.rb +19 -0
  160. data/test/example/gcd1.rb +24 -0
  161. data/test/example/null.rb +1 -0
  162. data/test/example/thread1.rb +3 -0
  163. data/test/functional/fn_helper.rb +112 -0
  164. data/test/functional/test-break-name.rb +52 -0
  165. data/test/functional/test-break.rb +51 -0
  166. data/test/functional/test-finish.rb +70 -0
  167. data/test/functional/test-fn_helper.rb +43 -0
  168. data/test/functional/test-list.rb +55 -0
  169. data/test/functional/test-next-bug.rb +49 -0
  170. data/test/functional/test-next.rb +101 -0
  171. data/test/functional/test-step.rb +272 -0
  172. data/test/functional/test-step2.rb +35 -0
  173. data/test/functional/test-tbreak.rb +41 -0
  174. data/test/integration/file-diff.rb +89 -0
  175. data/test/integration/helper.rb +78 -0
  176. data/test/integration/test-fname-with-blank.rb +12 -0
  177. data/test/integration/test-quit.rb +25 -0
  178. data/test/unit/cmd-helper.rb +46 -0
  179. data/test/unit/test-app-brkpt.rb +30 -0
  180. data/test/unit/test-app-brkptmgr.rb +51 -0
  181. data/test/unit/test-app-iseq.rb +49 -0
  182. data/test/unit/test-app-method.rb +54 -0
  183. data/test/unit/test-app-options.rb +61 -0
  184. data/test/unit/test-app-run.rb +16 -0
  185. data/test/unit/test-app-util.rb +28 -0
  186. data/test/unit/test-app-validate.rb +18 -0
  187. data/test/unit/test-base-subcmd.rb +61 -0
  188. data/test/unit/test-bin-trepanx.rb +48 -0
  189. data/test/unit/test-cmd-alias.rb +49 -0
  190. data/test/unit/test-cmd-break.rb +23 -0
  191. data/test/unit/test-cmd-exit.rb +27 -0
  192. data/test/unit/test-cmd-help.rb +101 -0
  193. data/test/unit/test-cmd-kill.rb +48 -0
  194. data/test/unit/test-intf-user.rb +46 -0
  195. data/test/unit/test-io-input.rb +27 -0
  196. data/test/unit/test-proc-eval.rb +37 -0
  197. data/test/unit/test-proc-frame.rb +79 -0
  198. data/test/unit/test-proc-help.rb +16 -0
  199. data/test/unit/test-proc-hook.rb +30 -0
  200. data/test/unit/test-proc-load_cmds.rb +41 -0
  201. data/test/unit/test-proc-location.rb +48 -0
  202. data/test/unit/test-proc-main.rb +96 -0
  203. data/test/unit/test-proc-validate.rb +91 -0
  204. data/test/unit/test-subcmd-help.rb +51 -0
  205. metadata +337 -0
@@ -0,0 +1,96 @@
1
+ #!/usr/bin/env ruby
2
+ require 'test/unit'
3
+ require 'rubygems'; require 'require_relative'
4
+ require_relative 'cmd-helper'
5
+ require_relative '../../processor/main'
6
+ ## require_relative '../../app/core'
7
+
8
+ # Test Trepan:CmdProcessor
9
+ class TestCmdProcessor < Test::Unit::TestCase
10
+
11
+ include UnitHelper
12
+ def setup
13
+ common_setup
14
+ @cmds = @cmdproc.instance_variable_get('@commands')
15
+ end
16
+
17
+ # See that we have can load up commands
18
+ def test_command_load
19
+ assert @cmds.is_a?(Hash), 'Should have gotten a command hash'
20
+ assert @cmds.keys.size > 0, 'Should have found at least one command'
21
+ cmd_name, cmd_obj = @cmds.first
22
+ assert cmd_name.is_a?(String), 'Should have string name for a command'
23
+ assert(cmd_obj.kind_of?(Trepan::Command),
24
+ 'Command should be a Trapan::Command')
25
+ assert cmd_obj.respond_to?(:run), 'Command should have a run method'
26
+ end
27
+
28
+ def no_test_compute_prompt
29
+ assert_equal('(rbdbgr): ', @cmdproc.compute_prompt)
30
+ Thread.new{ assert_equal('(rbdbgr@55): ', @cmdproc.compute_prompt.gsub(/@\d+/, '@55'))}.join
31
+ x = Thread.new{ Thread.pass; x = 1 }
32
+ assert_equal('(rbdbgr@main): ', @cmdproc.compute_prompt)
33
+ x.join
34
+ @cmdproc.debug_nest += 1
35
+ assert_equal('((rbdbgr)): ', @cmdproc.compute_prompt)
36
+ @cmdproc.debug_nest -= 1
37
+ end
38
+
39
+ # See that each command has required constants defined. Possibly in
40
+ # a strongly-typed language we wouldn't need to do much of this.
41
+ def test_command_class_vars
42
+ @cmds.each do |cmd_name, cmd|
43
+ %w(HELP CATEGORY NAME SHORT_HELP).each do
44
+ |const|
45
+ value = cmd.class.const_get(const)
46
+ assert(value.is_a?(String),
47
+ "#{const} in command #{cmd_name} should be a String; got #{value}.")
48
+ end
49
+ %w(MIN_ARGS MAX_ARGS).each do
50
+ |const|
51
+ value = cmd.class.const_get(const)
52
+ assert(value.is_a?(Fixnum) || value.nil?,
53
+ "#{const} in command #{cmd_name} should be a Fixnum or nil; got #{value}.")
54
+ end
55
+ %w(ALIASES).each do
56
+ |const|
57
+ next unless cmd.class.constants.member?(:ALIASES)
58
+ ary = cmd.class.const_get(const)
59
+ assert(ary.is_a?(Array),
60
+ "#{const} in command #{cmd_name} should be an Array")
61
+
62
+ ary.each do |v|
63
+ assert(v.is_a?(String),
64
+ "#{const} in command #{cmd_name} should be Array of Strings; got #{v}.")
65
+ end
66
+ end
67
+ end
68
+ end
69
+
70
+ def no__test_run_command
71
+ def run_and_check(cmd, expect_msgs, expect_errmsgs, add_msg)
72
+ $errs = []; $msgs = []
73
+ @cmdproc.run_command(cmd)
74
+ assert_equal(expect_msgs, $msgs,
75
+ "#{add_msg}: mismatched messages from #{caller[0]}")
76
+ assert_equal(expect_errmsgs, $errs,
77
+ "Mismatched error messages from #{caller[0]}")
78
+ end
79
+ def @cmdproc.msg(mess)
80
+ $msgs << "#{mess}"
81
+ end
82
+ def @cmdproc.errmsg(mess)
83
+ $errs << "#{mess}"
84
+ end
85
+ run_and_check('!s=1', ['D=> 1'], [], "! evaluation")
86
+ run_and_check('print "foo"', ['foo'], [], "print command")
87
+ run_and_check('set autoeval off',
88
+ ['Evaluation of unrecognized debugger commands is off.'], [],
89
+ "autoeval set")
90
+ run_and_check('asdf', [],
91
+ ['Undefined command: "asdf". Try "help".'],
92
+ "invalid command")
93
+
94
+ end
95
+
96
+ end
@@ -0,0 +1,91 @@
1
+ #!/usr/bin/env ruby
2
+ require 'test/unit'
3
+ require 'rubygems'; require 'require_relative'
4
+ require_relative '../../processor/main' # Have to include before validate!
5
+ # FIXME
6
+ require_relative '../../processor/validate'
7
+ require_relative '../../app/mock'
8
+
9
+ $errors = []
10
+ $msgs = []
11
+
12
+ # Test Trepan::CmdProcessor Validation portion
13
+ class TestValidate < Test::Unit::TestCase
14
+
15
+ def setup
16
+ $errors = []
17
+ $msgs = []
18
+ @proc = Trepan::CmdProcessor.new(Trepan::MockCore.new())
19
+
20
+ class << @proc
21
+ def errmsg(msg)
22
+ $errors << msg
23
+ end
24
+ def print_location
25
+ # $msgs << "#{@frame.source_container} #{@frame.source_location[0]}"
26
+ $msgs << "#{@frame.source_container} "
27
+ # puts $msgs
28
+ end
29
+ end
30
+ end
31
+
32
+ # See that we have can load up commands
33
+ def test_basic
34
+ onoff =
35
+ [['1', true], ['on', true],
36
+ ['0', false], ['off', false]].each do |arg, expected|
37
+ assert_equal(expected, @proc.get_onoff(arg))
38
+ end
39
+ [['1', 1], ['1E', nil], ['bad', nil], ['1+1', 2], ['-5', -5]].each do
40
+ |arg, expected|
41
+ assert_equal(expected, @proc.get_int_noerr(arg))
42
+ end
43
+ end
44
+
45
+ def no_test_breakpoint_position
46
+ require 'thread_frame'
47
+ tf = RubyVM::ThreadFrame.current
48
+ @proc.frame_setup(tf)
49
+
50
+ def munge(args)
51
+ args[1] = 'bogus'
52
+ args
53
+ end
54
+
55
+ assert_equal([0, 'bogus', true, 'true', nil],
56
+ munge(@proc.breakpoint_position(%w(O0))))
57
+ assert_equal([1, 'bogus', false, 'true', nil],
58
+ munge(@proc.breakpoint_position(%w(1))))
59
+ assert_equal([2, 'bogus', false, 'a > b', nil],
60
+ munge(@proc.breakpoint_position(%w(2 if a > b))))
61
+ end
62
+
63
+ def test_int_list
64
+ assert_equal([1,2,3], @proc.get_int_list(%w(1+0 3-1 3)))
65
+ assert_equal(0, $errors.size)
66
+ assert_equal([2,3], @proc.get_int_list(%w(a 2 3)))
67
+ assert_equal(1, $errors.size)
68
+ end
69
+
70
+ def no__test_method?
71
+ def foo; 5 end
72
+
73
+ # require_relative '../../lib/rbdbgr'
74
+ # dbgr = Trepan.new(:set_restart => true)
75
+ # FIXME: 'foo', 'errmsg'
76
+ ['Array#map', 'Trepan::CmdProcessor.new'
77
+ ].each do |str|
78
+ # dbgr.debugger if 'foo' == str
79
+ assert_equal(true, @proc.method?(str),
80
+ "#{str} should be known as a method")
81
+ end
82
+ ['food', '.errmsg'
83
+ ].each do |str|
84
+ # dbgr.debugger if 'foo' == str
85
+ assert_equal(false, @proc.method?(str),
86
+ "#{str} should be known as a method")
87
+ end
88
+
89
+ end
90
+
91
+ end
@@ -0,0 +1,51 @@
1
+ #!/usr/bin/env ruby
2
+ require 'test/unit'
3
+ require 'rubygems'; require 'require_relative'
4
+ require_relative '../../processor/main'
5
+ # require_relative '../../app/core'
6
+
7
+ # Mock debugger stub. FIXME: put in comment helper routine.
8
+ class Trepan
9
+ end
10
+
11
+ # Test Trepan::CmdProcessor
12
+ class TestSubCmdHelp < Test::Unit::TestCase
13
+
14
+ def setup
15
+ @dbg = Trepan.new
16
+ # @core = Trepan::Core.new(@dbg)
17
+ @cmdproc = Trepan::CmdProcessor.new(@dbg)
18
+ @cmds = @cmdproc.instance_variable_get('@commands')
19
+ end
20
+
21
+ # See that subcommand class constants exist.
22
+ def test_required_class_constants
23
+ puts 'Still need HELP const for subcmds?'
24
+ @cmds.each do |cmd_name, cmd|
25
+ if cmd.is_a?(Trepan::SubcommandMgr)
26
+ cmd.subcmds.subcmds.each do |subcmd_name, subcmd|
27
+ where = "of subcommand #{subcmd_name} in command #{cmd_name}"
28
+ # %w(HELP NAME SHORT_HELP).each do
29
+ %w(NAME SHORT_HELP).each do
30
+ |const|
31
+ value = subcmd.my_const(const)
32
+ assert_equal(true, value.is_a?(String),
33
+ "#{const} #{where} should be a String; got #{value}.")
34
+ end
35
+ value = subcmd.my_const('MIN_ABBREV')
36
+ assert(value.is_a?(Fixnum),
37
+ "MIN_ABBREV #{where} should be a Fixnum; got #{value}.")
38
+
39
+ if 'show' == cmd_name
40
+ short_help = subcmd.my_const('SHORT_HELP')
41
+ needed_start = 'Show '
42
+ assert_equal(needed_start, short_help[0..needed_start.size-1],
43
+ "Short help #{where} should start: \"#{needed_start}\"; got #{short_help}")
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+
50
+
51
+ end
metadata ADDED
@@ -0,0 +1,337 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rbx-trepanning
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: universal-rubinius
12
+ authors:
13
+ - R. Bernstein
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-12-25 00:00:00 -05:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: columnize
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: diff-lcs
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ type: :runtime
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: rbx-require-relative
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ type: :runtime
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ name: rbx-linecache
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ~>
70
+ - !ruby/object:Gem::Version
71
+ hash: 83
72
+ segments:
73
+ - 0
74
+ - 44
75
+ version: "0.44"
76
+ type: :runtime
77
+ version_requirements: *id004
78
+ description: |
79
+ A modular, testable, Ruby debugger using some of good ideas from
80
+ ruby-debug, other debuggers, and Ruby Rails.
81
+
82
+ Some of the core debugger concepts have been rethought. As a result,
83
+ some of this may be experimental.
84
+
85
+ This version works only Rubinus 1.2 or higher.
86
+
87
+ email: rockyb@rubyforge.net
88
+ executables:
89
+ - trepanx
90
+ extensions: []
91
+
92
+ extra_rdoc_files: []
93
+
94
+ files:
95
+ - README.textile
96
+ - ChangeLog
97
+ - LICENSE
98
+ - NEWS
99
+ - Rakefile
100
+ - THANKS
101
+ - app/mock.rb
102
+ - app/brkptmgr.rbc
103
+ - app/display.rb
104
+ - app/frame.rb
105
+ - app/display.rbc
106
+ - app/util.rb
107
+ - app/method.rbc
108
+ - app/options.rb
109
+ - app/mock.rbc
110
+ - app/irb.rb
111
+ - app/method.rb
112
+ - app/default.rbc
113
+ - app/breakpoint.rb
114
+ - app/brkptmgr.rb
115
+ - app/run.rbc
116
+ - app/validate.rb
117
+ - app/default.rb
118
+ - app/irb.rbc
119
+ - app/run.rb
120
+ - app/iseq.rb
121
+ - app/iseq.rbc
122
+ - app/frame.rbc
123
+ - app/util.rbc
124
+ - app/options.rbc
125
+ - app/breakpoint.rbc
126
+ - app/validate.rbc
127
+ - bin/trepanx
128
+ - bin/trepanx.compiled.rbc
129
+ - bin/trepan.compiled.rbc
130
+ - interface/script.rb
131
+ - interface/script.rbc
132
+ - interface/base_intf.rb
133
+ - interface/user.rb
134
+ - interface/base_intf.rbc
135
+ - interface/user.rbc
136
+ - io/null_output.rbc
137
+ - io/base_io.rb
138
+ - io/input.rbc
139
+ - io/null_output.rb
140
+ - io/string_array.rb
141
+ - io/input.rb
142
+ - io/base_io.rbc
143
+ - io/string_array.rbc
144
+ - lib/trepanning.rbc
145
+ - lib/trepanning.rb
146
+ - processor/main.rb
147
+ - processor/mock.rb
148
+ - processor/frame.rb
149
+ - processor/running.rb
150
+ - processor/msg.rb
151
+ - processor/disassemble.rb
152
+ - processor/breakpoint.rb
153
+ - processor/validate.rb
154
+ - processor/default.rb
155
+ - processor/stepping.rb
156
+ - processor/subcmd.rb
157
+ - processor/help.rb
158
+ - processor/eval.rb
159
+ - processor/location.rb
160
+ - processor/load_cmds.rb
161
+ - processor/hook.rb
162
+ - processor/command/pr.rb
163
+ - processor/command/break.rb
164
+ - processor/command/source.rb
165
+ - processor/command/set.rb
166
+ - processor/command/restart.rb
167
+ - processor/command/list.rb
168
+ - processor/command/nexti.rb
169
+ - processor/command/frame.rb
170
+ - processor/command/alias.rb
171
+ - processor/command/show.rb
172
+ - processor/command/exit.rb
173
+ - processor/command/tbreak.rb
174
+ - processor/command/next.rb
175
+ - processor/command/irb.rb
176
+ - processor/command/up.rb
177
+ - processor/command/kill.rb
178
+ - processor/command/disassemble.rb
179
+ - processor/command/delete.rb
180
+ - processor/command/directory.rb
181
+ - processor/command/ps.rb
182
+ - processor/command/finish.rb
183
+ - processor/command/down.rb
184
+ - processor/command/help.rb
185
+ - processor/command/eval.rb
186
+ - processor/command/step.rb
187
+ - processor/command/unalias.rb
188
+ - processor/command/info.rb
189
+ - processor/command/continue.rb
190
+ - processor/command/backtrace.rb
191
+ - processor/command/set_subcmd/substitute.rb
192
+ - processor/command/set_subcmd/debug.rb
193
+ - processor/command/set_subcmd/hidelevel.rb
194
+ - processor/command/set_subcmd/trace.rb
195
+ - processor/command/set_subcmd/max.rb
196
+ - processor/command/set_subcmd/basename.rb
197
+ - processor/command/set_subcmd/kernelstep.rb
198
+ - processor/command/set_subcmd/auto.rb
199
+ - processor/command/set_subcmd/different.rb
200
+ - processor/command/base/submgr.rb
201
+ - processor/command/base/subsubcmd.rb
202
+ - processor/command/base/subcmd.rb
203
+ - processor/command/base/cmd.rb
204
+ - processor/command/base/subsubmgr.rb
205
+ - processor/command/info_subcmd/breakpoints.rb
206
+ - processor/command/info_subcmd/file.rb
207
+ - processor/command/info_subcmd/variables.rb
208
+ - processor/command/info_subcmd/method.rb
209
+ - processor/command/info_subcmd/program.rb
210
+ - processor/command/show_subcmd/debug.rb
211
+ - processor/command/show_subcmd/args.rb
212
+ - processor/command/show_subcmd/hidelevel.rb
213
+ - processor/command/show_subcmd/trace.rb
214
+ - processor/command/show_subcmd/alias.rb
215
+ - processor/command/show_subcmd/max.rb
216
+ - processor/command/show_subcmd/basename.rb
217
+ - processor/command/show_subcmd/kernelstep.rb
218
+ - processor/command/show_subcmd/auto.rb
219
+ - processor/command/show_subcmd/different.rb
220
+ - processor/command/show_subcmd/debug_subcmd/dbgr.rb
221
+ - processor/command/show_subcmd/debug_subcmd/skip.rb
222
+ - processor/command/show_subcmd/debug_subcmd/step.rb
223
+ - processor/command/show_subcmd/auto_subcmd/list.rb
224
+ - processor/command/show_subcmd/auto_subcmd/dis.rb
225
+ - processor/command/show_subcmd/auto_subcmd/irb.rb
226
+ - processor/command/show_subcmd/auto_subcmd/eval.rb
227
+ - processor/command/show_subcmd/trace_subcmd/print.rb
228
+ - processor/command/show_subcmd/max_subcmd/list.rb
229
+ - processor/command/show_subcmd/max_subcmd/string.rb
230
+ - processor/command/show_subcmd/max_subcmd/width.rb
231
+ - processor/command/show_subcmd/max_subcmd/stack.rb
232
+ - processor/command/set_subcmd/debug_subcmd/dbgr.rb
233
+ - processor/command/set_subcmd/debug_subcmd/skip.rb
234
+ - processor/command/set_subcmd/debug_subcmd/step.rb
235
+ - processor/command/set_subcmd/auto_subcmd/list.rb
236
+ - processor/command/set_subcmd/auto_subcmd/dis.rb
237
+ - processor/command/set_subcmd/auto_subcmd/irb.rb
238
+ - processor/command/set_subcmd/auto_subcmd/eval.rb
239
+ - processor/command/set_subcmd/trace_subcmd/print.rb
240
+ - processor/command/set_subcmd/max_subcmd/list.rb
241
+ - processor/command/set_subcmd/max_subcmd/string.rb
242
+ - processor/command/set_subcmd/max_subcmd/width.rb
243
+ - processor/command/set_subcmd/max_subcmd/stack.rb
244
+ - processor/command/set_subcmd/substitute_subcmd/path.rb
245
+ - test/data/quit.cmd
246
+ - test/data/fname-with-blank.cmd
247
+ - test/data/quit-Xdebug.right
248
+ - test/data/enable.right
249
+ - test/data/quit.right
250
+ - test/data/fname-with-blank.right
251
+ - test/example/fname with blank.rb
252
+ - test/example/null.rb
253
+ - test/example/thread1.rb
254
+ - test/example/gcd.rb
255
+ - test/example/gcd-xx.rb
256
+ - test/example/gcd1.rb
257
+ - test/unit/test-intf-user.rb
258
+ - test/unit/test-app-options.rb
259
+ - test/unit/test-base-subcmd.rb
260
+ - test/unit/test-cmd-exit.rb
261
+ - test/unit/test-app-run.rb
262
+ - test/unit/test-proc-main.rb
263
+ - test/unit/test-app-iseq.rb
264
+ - test/unit/test-io-input.rb
265
+ - test/unit/test-app-brkptmgr.rb
266
+ - test/unit/test-proc-validate.rb
267
+ - test/unit/test-proc-frame.rb
268
+ - test/unit/test-app-brkpt.rb
269
+ - test/unit/test-proc-location.rb
270
+ - test/unit/test-proc-eval.rb
271
+ - test/unit/test-proc-help.rb
272
+ - test/unit/cmd-helper.rb
273
+ - test/unit/test-subcmd-help.rb
274
+ - test/unit/test-app-util.rb
275
+ - test/unit/test-app-method.rb
276
+ - test/unit/test-cmd-help.rb
277
+ - test/unit/test-cmd-kill.rb
278
+ - test/unit/test-proc-load_cmds.rb
279
+ - test/unit/test-proc-hook.rb
280
+ - test/unit/test-cmd-alias.rb
281
+ - test/unit/test-bin-trepanx.rb
282
+ - test/unit/test-app-validate.rb
283
+ - test/unit/test-cmd-break.rb
284
+ - test/integration/file-diff.rb
285
+ - test/integration/helper.rb
286
+ - test/integration/test-fname-with-blank.rb
287
+ - test/integration/test-quit.rb
288
+ - test/functional/test-next.rb
289
+ - test/functional/test-break-name.rb
290
+ - test/functional/test-break.rb
291
+ - test/functional/fn_helper.rb
292
+ - test/functional/test-fn_helper.rb
293
+ - test/functional/test-step.rb
294
+ - test/functional/test-next-bug.rb
295
+ - test/functional/test-tbreak.rb
296
+ - test/functional/test-step2.rb
297
+ - test/functional/test-list.rb
298
+ - test/functional/test-finish.rb
299
+ has_rdoc: true
300
+ homepage: http://wiki.github.com/rocky/rbx-trepanning
301
+ licenses:
302
+ - MIT
303
+ post_install_message:
304
+ rdoc_options:
305
+ - --title
306
+ - Trepan 0.0.1 Documentation
307
+ require_paths:
308
+ - lib
309
+ required_ruby_version: !ruby/object:Gem::Requirement
310
+ none: false
311
+ requirements:
312
+ - - ~>
313
+ - !ruby/object:Gem::Version
314
+ hash: 57
315
+ segments:
316
+ - 1
317
+ - 8
318
+ - 7
319
+ version: 1.8.7
320
+ required_rubygems_version: !ruby/object:Gem::Requirement
321
+ none: false
322
+ requirements:
323
+ - - ">="
324
+ - !ruby/object:Gem::Version
325
+ hash: 3
326
+ segments:
327
+ - 0
328
+ version: "0"
329
+ requirements: []
330
+
331
+ rubyforge_project:
332
+ rubygems_version: 1.3.7
333
+ signing_key:
334
+ specification_version: 3
335
+ summary: Trepan Ruby Debugger for Rubinius 1.2 and higher
336
+ test_files: []
337
+