rbx-trepanning 0.0.5-universal-rubinius-1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +2002 -0
- data/LICENSE +25 -0
- data/NEWS +31 -0
- data/README.textile +34 -0
- data/Rakefile +165 -0
- data/THANKS +14 -0
- data/app/breakpoint.rb +219 -0
- data/app/breakpoint.rbc +3551 -0
- data/app/brkptmgr.rb +140 -0
- data/app/brkptmgr.rbc +2903 -0
- data/app/client.rb +61 -0
- data/app/client.rbc +1225 -0
- data/app/complete.rb +52 -0
- data/app/complete.rbc +1288 -0
- data/app/default.rb +71 -0
- data/app/default.rbc +1132 -0
- data/app/display.rb +148 -0
- data/app/display.rbc +2578 -0
- data/app/frame.rb +98 -0
- data/app/frame.rbc +1808 -0
- data/app/irb.rb +111 -0
- data/app/irb.rbc +2094 -0
- data/app/iseq.rb +117 -0
- data/app/iseq.rbc +2192 -0
- data/app/llvm.rbc +2478 -0
- data/app/method.rb +173 -0
- data/app/method.rbc +2492 -0
- data/app/method_name.rbc +2467 -0
- data/app/mock.rb +13 -0
- data/app/mock.rbc +398 -0
- data/app/options.rb +137 -0
- data/app/options.rbc +2898 -0
- data/app/rbx-llvm.rb +165 -0
- data/app/rbx-llvm.rbc +2478 -0
- data/app/run.rb +86 -0
- data/app/run.rbc +1244 -0
- data/app/util.rb +49 -0
- data/app/util.rbc +1146 -0
- data/app/validate.rb +30 -0
- data/app/validate.rbc +676 -0
- data/bin/trepan.compiled.rbc +1043 -0
- data/bin/trepanx +69 -0
- data/bin/trepanx.compiled.rbc +1049 -0
- data/data/irbrc +41 -0
- data/data/irbrc.compiled.rbc +640 -0
- data/interface/base_intf.rb +105 -0
- data/interface/base_intf.rbc +1899 -0
- data/interface/client.rb +80 -0
- data/interface/client.rbc +1072 -0
- data/interface/comcodes.rb +20 -0
- data/interface/comcodes.rbc +385 -0
- data/interface/script.rb +104 -0
- data/interface/script.rbc +1642 -0
- data/interface/server.rb +143 -0
- data/interface/server.rbc +2213 -0
- data/interface/user.rb +150 -0
- data/interface/user.rbc +2867 -0
- data/io/base_io.rb +148 -0
- data/io/base_io.rbc +2111 -0
- data/io/input.rb +135 -0
- data/io/input.rbc +2528 -0
- data/io/null_output.rb +42 -0
- data/io/null_output.rbc +730 -0
- data/io/string_array.rb +156 -0
- data/io/string_array.rbc +2466 -0
- data/io/tcpclient.rb +129 -0
- data/io/tcpclient.rbc +2419 -0
- data/io/tcpfns.rb +33 -0
- data/io/tcpfns.rbc +694 -0
- data/io/tcpserver.rb +141 -0
- data/io/tcpserver.rbc +2638 -0
- data/lib/trepanning.rb +474 -0
- data/lib/trepanning.rbc +7705 -0
- data/lib/trepanning2.rb +441 -0
- data/processor/breakpoint.rb +164 -0
- data/processor/command/alias.rb +55 -0
- data/processor/command/backtrace.rb +76 -0
- data/processor/command/base/cmd.rb +173 -0
- data/processor/command/base/subcmd.rb +229 -0
- data/processor/command/base/submgr.rb +182 -0
- data/processor/command/base/subsubcmd.rb +103 -0
- data/processor/command/base/subsubmgr.rb +195 -0
- data/processor/command/break.rb +100 -0
- data/processor/command/complete.rb +37 -0
- data/processor/command/continue.rb +91 -0
- data/processor/command/delete.rb +30 -0
- data/processor/command/directory.rb +51 -0
- data/processor/command/disassemble.rb +145 -0
- data/processor/command/display.rb +82 -0
- data/processor/command/down.rb +54 -0
- data/processor/command/eval.rb +51 -0
- data/processor/command/exit.rb +62 -0
- data/processor/command/finish.rb +80 -0
- data/processor/command/frame.rb +89 -0
- data/processor/command/help.rb +251 -0
- data/processor/command/info.rb +28 -0
- data/processor/command/info_subcmd/breakpoints.rb +73 -0
- data/processor/command/info_subcmd/files.rb +209 -0
- data/processor/command/info_subcmd/line.rb +86 -0
- data/processor/command/info_subcmd/method.rb +71 -0
- data/processor/command/info_subcmd/program.rb +49 -0
- data/processor/command/info_subcmd/ruby.rb +62 -0
- data/processor/command/info_subcmd/variables.rb +48 -0
- data/processor/command/irb.rb +128 -0
- data/processor/command/kill.rb +70 -0
- data/processor/command/list.rb +300 -0
- data/processor/command/macro.rb +76 -0
- data/processor/command/next.rb +66 -0
- data/processor/command/nexti.rb +59 -0
- data/processor/command/pr.rb +38 -0
- data/processor/command/ps.rb +40 -0
- data/processor/command/restart.rb +60 -0
- data/processor/command/server.rb +72 -0
- data/processor/command/set.rb +47 -0
- data/processor/command/set_subcmd/auto.rb +27 -0
- data/processor/command/set_subcmd/auto_subcmd/dis.rb +33 -0
- data/processor/command/set_subcmd/auto_subcmd/eval.rb +54 -0
- data/processor/command/set_subcmd/auto_subcmd/irb.rb +34 -0
- data/processor/command/set_subcmd/auto_subcmd/list.rb +34 -0
- data/processor/command/set_subcmd/basename.rb +25 -0
- data/processor/command/set_subcmd/confirm.rb +24 -0
- data/processor/command/set_subcmd/debug.rb +26 -0
- data/processor/command/set_subcmd/debug_subcmd/dbgr.rb +36 -0
- data/processor/command/set_subcmd/debug_subcmd/skip.rb +23 -0
- data/processor/command/set_subcmd/debug_subcmd/step.rb +23 -0
- data/processor/command/set_subcmd/different.rb +59 -0
- data/processor/command/set_subcmd/hidelevel.rb +62 -0
- data/processor/command/set_subcmd/highlight.rb +33 -0
- data/processor/command/set_subcmd/kernelstep.rb +60 -0
- data/processor/command/set_subcmd/max.rb +26 -0
- data/processor/command/set_subcmd/max_subcmd/list.rb +49 -0
- data/processor/command/set_subcmd/max_subcmd/stack.rb +50 -0
- data/processor/command/set_subcmd/max_subcmd/string.rb +76 -0
- data/processor/command/set_subcmd/max_subcmd/width.rb +49 -0
- data/processor/command/set_subcmd/substitute.rb +24 -0
- data/processor/command/set_subcmd/substitute_subcmd/path.rb +56 -0
- data/processor/command/set_subcmd/trace.rb +36 -0
- data/processor/command/set_subcmd/trace_subcmd/print.rb +57 -0
- data/processor/command/show.rb +38 -0
- data/processor/command/show_subcmd/alias.rb +42 -0
- data/processor/command/show_subcmd/args.rb +25 -0
- data/processor/command/show_subcmd/auto.rb +28 -0
- data/processor/command/show_subcmd/auto_subcmd/dis.rb +37 -0
- data/processor/command/show_subcmd/auto_subcmd/eval.rb +28 -0
- data/processor/command/show_subcmd/auto_subcmd/irb.rb +23 -0
- data/processor/command/show_subcmd/auto_subcmd/list.rb +22 -0
- data/processor/command/show_subcmd/basename.rb +20 -0
- data/processor/command/show_subcmd/confirm.rb +18 -0
- data/processor/command/show_subcmd/debug.rb +26 -0
- data/processor/command/show_subcmd/debug_subcmd/dbgr.rb +21 -0
- data/processor/command/show_subcmd/debug_subcmd/skip.rb +22 -0
- data/processor/command/show_subcmd/debug_subcmd/step.rb +22 -0
- data/processor/command/show_subcmd/different.rb +26 -0
- data/processor/command/show_subcmd/hidelevel.rb +41 -0
- data/processor/command/show_subcmd/highlight.rb +24 -0
- data/processor/command/show_subcmd/kernelstep.rb +34 -0
- data/processor/command/show_subcmd/max.rb +27 -0
- data/processor/command/show_subcmd/max_subcmd/list.rb +38 -0
- data/processor/command/show_subcmd/max_subcmd/stack.rb +36 -0
- data/processor/command/show_subcmd/max_subcmd/string.rb +42 -0
- data/processor/command/show_subcmd/max_subcmd/width.rb +37 -0
- data/processor/command/show_subcmd/trace.rb +27 -0
- data/processor/command/show_subcmd/trace_subcmd/print.rb +38 -0
- data/processor/command/show_subcmd/version.rb +23 -0
- data/processor/command/source.rb +126 -0
- data/processor/command/step.rb +84 -0
- data/processor/command/tbreak.rb +19 -0
- data/processor/command/unalias.rb +44 -0
- data/processor/command/undisplay.rb +59 -0
- data/processor/command/up.rb +86 -0
- data/processor/default.rb +58 -0
- data/processor/disassemble.rb +46 -0
- data/processor/display.rb +18 -0
- data/processor/eval.rb +96 -0
- data/processor/frame.rb +211 -0
- data/processor/help.rb +72 -0
- data/processor/hook.rb +133 -0
- data/processor/load_cmds.rb +185 -0
- data/processor/location.rb +137 -0
- data/processor/main.rb +412 -0
- data/processor/mock.rb +144 -0
- data/processor/msg.rb +43 -0
- data/processor/running.rb +234 -0
- data/processor/stepping.rb +114 -0
- data/processor/subcmd.rb +161 -0
- data/processor/validate.rb +355 -0
- data/sample/list-terminal-colors.rb +139 -0
- data/sample/list-terminal-colors.rbc +2318 -0
- data/sample/rocky-dot-trepanxrc +14 -0
- data/sample/rocky-trepanx-colors.rb +47 -0
- data/sample/rocky-trepanx-colors.rbc +530 -0
- data/test/data/enable.right +36 -0
- data/test/data/fname-with-blank.cmd +6 -0
- data/test/data/fname-with-blank.right +4 -0
- data/test/data/inline-call.cmd +6 -0
- data/test/data/inline-call.right +13 -0
- data/test/data/quit-Xdebug.right +3 -0
- data/test/data/quit.cmd +5 -0
- data/test/data/quit.right +2 -0
- data/test/data/quit2.cmd +6 -0
- data/test/data/quit2.right +3 -0
- data/test/data/step-bug.cmd +11 -0
- data/test/data/step-bug.right +3 -0
- data/test/example/fname with blank.rb +1 -0
- data/test/example/gcd-server.rb +22 -0
- data/test/example/gcd.rb +19 -0
- data/test/example/inline-call.rb +23 -0
- data/test/example/null.rb +1 -0
- data/test/example/step-bug.rb +14 -0
- data/test/example/thread1.rb +3 -0
- data/test/functional/fn_helper.rb +112 -0
- data/test/functional/test-break-name.rb +52 -0
- data/test/functional/test-break.rb +51 -0
- data/test/functional/test-finish.rb +70 -0
- data/test/functional/test-fn_helper.rb +43 -0
- data/test/functional/test-list.rb +55 -0
- data/test/functional/test-next-bug.rb +49 -0
- data/test/functional/test-next.rb +101 -0
- data/test/functional/test-step.rb +272 -0
- data/test/functional/test-step2.rb +35 -0
- data/test/functional/test-tbreak.rb +41 -0
- data/test/integration/file-diff.rb +89 -0
- data/test/integration/helper.rb +78 -0
- data/test/integration/skip-test-step-bug.rb +17 -0
- data/test/integration/test-fname-with-blank.rb +16 -0
- data/test/integration/test-inline-call.rb +20 -0
- data/test/integration/test-quit.rb +47 -0
- data/test/unit/cmd-helper.rb +50 -0
- data/test/unit/mock-helper.rb +10 -0
- data/test/unit/test-app-brkpt.rb +29 -0
- data/test/unit/test-app-brkptmgr.rb +51 -0
- data/test/unit/test-app-iseq.rb +64 -0
- data/test/unit/test-app-method.rb +54 -0
- data/test/unit/test-app-options.rb +82 -0
- data/test/unit/test-app-run.rb +16 -0
- data/test/unit/test-app-util.rb +27 -0
- data/test/unit/test-app-validate.rb +18 -0
- data/test/unit/test-base-cmd.rb +47 -0
- data/test/unit/test-base-subcmd.rb +61 -0
- data/test/unit/test-base-submgr.rb +24 -0
- data/test/unit/test-bin-trepanx.rb +48 -0
- data/test/unit/test-cmd-alias.rb +48 -0
- data/test/unit/test-cmd-break.rb +22 -0
- data/test/unit/test-cmd-exit.rb +27 -0
- data/test/unit/test-cmd-finish.rb +27 -0
- data/test/unit/test-cmd-help.rb +104 -0
- data/test/unit/test-cmd-kill.rb +47 -0
- data/test/unit/test-cmd-source.rb +34 -0
- data/test/unit/test-cmd-step.rb +29 -0
- data/test/unit/test-completion.rb +38 -0
- data/test/unit/test-intf-user.rb +46 -0
- data/test/unit/test-io-input.rb +27 -0
- data/test/unit/test-io-tcp.rb +33 -0
- data/test/unit/test-io-tcpclient.rb +54 -0
- data/test/unit/test-io-tcpfns.rb +17 -0
- data/test/unit/test-io-tcpserver.rb +50 -0
- data/test/unit/test-proc-eval.rb +36 -0
- data/test/unit/test-proc-frame.rb +79 -0
- data/test/unit/test-proc-help.rb +16 -0
- data/test/unit/test-proc-hook.rb +30 -0
- data/test/unit/test-proc-load_cmds.rb +50 -0
- data/test/unit/test-proc-location.rb +53 -0
- data/test/unit/test-proc-main.rb +99 -0
- data/test/unit/test-proc-validate.rb +91 -0
- data/test/unit/test-subcmd-help.rb +47 -0
- metadata +398 -0
data/data/irbrc
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# -*- Ruby -*-
|
2
|
+
# Copyright (C) 2010 Rocky Bernstein <rockyb@rubyforge.net>
|
3
|
+
# We use this as the default startup file for irb inside trepan
|
4
|
+
# Down the line we will have a way for folks to add/override this
|
5
|
+
# with their own file.
|
6
|
+
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
7
|
+
IRB.conf[:PROMPT][:SIMPLE] =
|
8
|
+
{:PROMPT_C=>"trepanx ?> ",
|
9
|
+
:PROMPT_I=>"trepanx >> ",
|
10
|
+
:PROMPT_N=>"trepanx >> ",
|
11
|
+
:PROMPT_S=>nil,
|
12
|
+
:RETURN=>"=> %s\n"}
|
13
|
+
|
14
|
+
# Using dbgr to issue a debugger statement inside irb:
|
15
|
+
# dbgr %w(info program)
|
16
|
+
# dbgr 'info program' # also works
|
17
|
+
# But...
|
18
|
+
# dbgr info program # wrong!
|
19
|
+
#
|
20
|
+
puts "You are in a trepan session. You should have access to program scope."
|
21
|
+
puts "'dbgr', 'step', 'ne', 'q', 'cont' commands have been added."
|
22
|
+
|
23
|
+
if defined?($trepanx) && $trepanx
|
24
|
+
puts 'You should have access to debugger state via global variable $trepanx'
|
25
|
+
end
|
26
|
+
if defined?($trepanx_frame) && $trepanx_frame
|
27
|
+
puts 'You should have access to the program frame via global variable $trepanx_frame'
|
28
|
+
end
|
29
|
+
if defined?($trepanx_cmdproc) && $trepanx_cmdproc
|
30
|
+
puts 'You should have access to the command processor via global variable $trepanx_cmdproc'
|
31
|
+
end
|
32
|
+
|
33
|
+
# Monkeypatch to save the current IRB statement to be run.
|
34
|
+
class IRB::Context
|
35
|
+
alias_method :_trepanx_original_evaluate, :evaluate
|
36
|
+
def evaluate(line, line_no)
|
37
|
+
$trepanx_irb_statements = line
|
38
|
+
_trepanx_original_evaluate(line, line_no)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
@@ -0,0 +1,640 @@
|
|
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
|