ruby-debug-ide 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +465 -0
- data/Rakefile +1 -1
- data/lib/ruby-debug-ide.rb +1 -1
- data/lib/ruby-debug/commands/variables.rb +7 -2
- data/test/rd_test_base.rb +1 -1
- metadata +44 -32
data/ChangeLog
CHANGED
@@ -0,0 +1,465 @@
|
|
1
|
+
2009-08-31 12:00 Martin Krauskopf
|
2
|
+
|
3
|
+
* ChangeLog: ChangeLog update
|
4
|
+
|
5
|
+
2009-08-31 11:59 Martin Krauskopf
|
6
|
+
|
7
|
+
* Rakefile, bin/rdebug-ide, ext/extconf.rb, ext/mkrf_conf.rb,
|
8
|
+
lib/ruby-debug-ide.rb, lib/ruby-debug.rb, test/rd_test_base.rb:
|
9
|
+
1)fixed bug #27009, 2)rename to ruby-debug-ide.rb (both by Mark
|
10
|
+
Moseley)
|
11
|
+
|
12
|
+
- to not collide with lib/ruby-debug.rb from ruby-debug-cli
|
13
|
+
|
14
|
+
2009-08-26 19:06 Martin Krauskopf
|
15
|
+
|
16
|
+
* ChangeLog, Rakefile, bin/rdebug-ide, ext, ext/extconf.rb,
|
17
|
+
lib/ruby-debug.rb, lib/ruby-debug/command.rb,
|
18
|
+
lib/ruby-debug/event_processor.rb, lib/ruby-debug/processor.rb,
|
19
|
+
lib/ruby-debug/xml_printer.rb: Patch by Mark Moseley supporting
|
20
|
+
ruby-debug-base19.
|
21
|
+
|
22
|
+
Dynamically installs right ruby-debug-base dependency depending
|
23
|
+
on the version
|
24
|
+
of a Ruby platform being used. ruby-debug-base19 is the only
|
25
|
+
solution these
|
26
|
+
days for 1.9 debugging, so might be temporary solution until
|
27
|
+
ruby-debug
|
28
|
+
projects brings official version.
|
29
|
+
|
30
|
+
2009-08-26 17:36 Martin Krauskopf
|
31
|
+
|
32
|
+
* lib/ruby-debug.rb: One more try for the right value for default
|
33
|
+
'host' value.
|
34
|
+
|
35
|
+
127.0.0.1 seemingly works with all systems and with IPv6 as well.
|
36
|
+
"localhost" and nil on have problems on some systems.
|
37
|
+
|
38
|
+
2009-08-21 08:43 Martin Krauskopf
|
39
|
+
|
40
|
+
* lib/ruby-debug.rb: Ruby 1.9.x vs Java vs 'localhost' seems to be
|
41
|
+
problematic as well
|
42
|
+
|
43
|
+
2009-06-04 16:02 Martin Krauskopf
|
44
|
+
|
45
|
+
* Rakefile, lib/ruby-debug.rb, test/rd_test_base.rb: Increasing
|
46
|
+
trung version
|
47
|
+
|
48
|
+
2009-06-04 15:59 Martin Krauskopf
|
49
|
+
|
50
|
+
* ChangeLog, bin/rdebug-ide: Mentioning RubyMine among
|
51
|
+
ruby-debug-ide clients.
|
52
|
+
|
53
|
+
2009-05-21 18:16 Martin Krauskopf
|
54
|
+
|
55
|
+
* ChangeLog: Changelog update
|
56
|
+
|
57
|
+
2009-05-21 18:01 Martin Krauskopf
|
58
|
+
|
59
|
+
* Rakefile, doc/protocol-spec.texi, lib/ruby-debug.rb,
|
60
|
+
test/rd_test_base.rb: Added Debugger::start_server (ticket
|
61
|
+
#25972), patch by Tim Hanson
|
62
|
+
|
63
|
+
2009-03-12 11:38 Martin Krauskopf
|
64
|
+
|
65
|
+
* ChangeLog, Rakefile, doc/protocol-spec.texi, lib/ruby-debug.rb,
|
66
|
+
test/rd_test_base.rb: Oops. 0.4.5 was not released yet, so it is
|
67
|
+
the rigth version, not 0.4.6, reverting.
|
68
|
+
|
69
|
+
2009-03-12 11:31 Martin Krauskopf
|
70
|
+
|
71
|
+
* Rakefile, doc/protocol-spec.texi, lib/ruby-debug.rb,
|
72
|
+
lib/ruby-debug/commands/catchpoint.rb, test/rd_test_base.rb:
|
73
|
+
Possibility to remove catchpoints (patch by Chris Williams)
|
74
|
+
|
75
|
+
2009-02-03 09:34 Martin Krauskopf
|
76
|
+
|
77
|
+
* Rakefile, bin/rdebug-ide, doc/protocol-spec.texi,
|
78
|
+
lib/ruby-debug.rb, test/rd_test_base.rb: 1) bugfix: syntax error
|
79
|
+
with Ruby 1.9 (patch by Mikael Rudberg) 2) 0.4.5 territory
|
80
|
+
|
81
|
+
2009-01-14 07:19 Martin Krauskopf
|
82
|
+
|
83
|
+
* doc/protocol-spec.texi: completeng missing changes
|
84
|
+
|
85
|
+
2009-01-13 10:00 Martin Krauskopf
|
86
|
+
|
87
|
+
* Rakefile, doc/protocol-spec.texi, lib/ruby-debug.rb,
|
88
|
+
test/rd_test_base.rb: 1) bugfix: print out backtrace when
|
89
|
+
debuggee fails. 2) version to 0.4.4
|
90
|
+
|
91
|
+
2009-01-13 09:54 Martin Krauskopf
|
92
|
+
|
93
|
+
* Rakefile: Release appropriate files like license, tests, changes,
|
94
|
+
... withing the gem.
|
95
|
+
|
96
|
+
2008-12-19 08:23 Martin Krauskopf
|
97
|
+
|
98
|
+
* Rakefile, lib/ruby-debug.rb, test/rd_test_base.rb: Depends on the
|
99
|
+
"~> 0.10.3.x", rather then on 0.10.3 exactly. Increasing version
|
100
|
+
to 0.4.3.
|
101
|
+
|
102
|
+
2008-12-19 08:20 Martin Krauskopf
|
103
|
+
|
104
|
+
* doc/protocol-spec.texi: typo
|
105
|
+
|
106
|
+
2008-11-24 12:59 Martin Krauskopf
|
107
|
+
|
108
|
+
* doc/protocol-spec.texi: Changes between 0.3.1 and 0.3.2
|
109
|
+
|
110
|
+
2008-11-21 10:56 Martin Krauskopf
|
111
|
+
|
112
|
+
* ChangeLog, Rakefile, doc/protocol-spec.texi,
|
113
|
+
etc/build_and_install.sh, lib/ruby-debug.rb,
|
114
|
+
test/rd_test_base.rb: Dependency changed to
|
115
|
+
ruby-debug-base-0.10.3 which fixes various bugs and contains
|
116
|
+
bunch of RFEs
|
117
|
+
|
118
|
+
2008-11-10 09:22 Martin Krauskopf
|
119
|
+
|
120
|
+
* ChangeLog, doc/protocol-spec.texi: Changes for 0.4.1
|
121
|
+
|
122
|
+
2008-11-10 08:15 Martin Krauskopf
|
123
|
+
|
124
|
+
* bin/rdebug-ide, lib/ruby-debug.rb, lib/ruby-debug/xml_printer.rb:
|
125
|
+
Making '-x' switch actually work. Commenting out sending <trace>
|
126
|
+
elements to the debugger. To be decided. There are large amount
|
127
|
+
of such events. For now servers rather for developers.
|
128
|
+
|
129
|
+
2008-11-09 23:39 Martin Krauskopf
|
130
|
+
|
131
|
+
* bin/rdebug-ide, lib/ruby-debug.rb: --stop switch: stop at the
|
132
|
+
first line when the script is loaded. Utilized by remote
|
133
|
+
debugging.
|
134
|
+
s/Debugger#main/Debugger#debug_program (similarly to ruby-debug)
|
135
|
+
|
136
|
+
2008-11-09 00:28 Martin Krauskopf
|
137
|
+
|
138
|
+
* lib/ruby-debug/commands/eval.rb,
|
139
|
+
lib/ruby-debug/commands/frame.rb, lib/ruby-debug/xml_printer.rb:
|
140
|
+
Fixing CLI verbose when -d is used. Some usused code
|
141
|
+
|
142
|
+
2008-11-08 18:43 Martin Krauskopf
|
143
|
+
|
144
|
+
* doc/protocol-spec.texi, lib/ruby-debug/xml_printer.rb,
|
145
|
+
test/ruby-debug/xml_printer_test.rb: Ensure suspension's file
|
146
|
+
attribute contains absolute path.
|
147
|
+
|
148
|
+
2008-11-08 18:33 Martin Krauskopf
|
149
|
+
|
150
|
+
* Rakefile, doc/protocol-spec.texi, etc/build_and_install.sh,
|
151
|
+
lib/ruby-debug.rb, lib/ruby-debug/xml_printer.rb,
|
152
|
+
nbproject/project.properties, test/rd_test_base.rb,
|
153
|
+
test/ruby-debug/xml_printer_test.rb: Ensure frame file attribute
|
154
|
+
contains absolute path. Increasing trunk version to 0.4.1
|
155
|
+
|
156
|
+
2008-11-02 11:19 Martin Krauskopf
|
157
|
+
|
158
|
+
* doc/protocol-spec.texi: noting <message> element/event
|
159
|
+
|
160
|
+
2008-10-30 02:14 Martin Krauskopf
|
161
|
+
|
162
|
+
* Rakefile, bin/rdebug-ide, doc/protocol-spec.texi,
|
163
|
+
etc/build_and_install.sh, lib/ruby-debug.rb,
|
164
|
+
lib/ruby-debug/xml_printer.rb, test/rd_test_base.rb,
|
165
|
+
test/ruby-debug, test/ruby-debug/xml_printer_test.rb: New
|
166
|
+
--xml-debug switch. To be used by frontend to not mess up
|
167
|
+
debuggee output with debugger's debug messages.
|
168
|
+
|
169
|
+
- increasing version to 0.4.0 (new <message debug='true'...>
|
170
|
+
attribute)
|
171
|
+
- more robust failures handling in DebugThread
|
172
|
+
- some XmlPrinterTest sanity tests
|
173
|
+
|
174
|
+
2008-10-13 13:48 Martin Krauskopf
|
175
|
+
|
176
|
+
* doc/protocol-spec.texi: Mentioning 0.3.1 changes
|
177
|
+
|
178
|
+
2008-10-09 06:48 Martin Krauskopf
|
179
|
+
|
180
|
+
* Rakefile, bin/rdebug-ide, etc/build_and_install.sh,
|
181
|
+
lib/ruby-debug.rb, test/rd_test_base.rb: Support for
|
182
|
+
'--load-mode' option. Hotfix, likely workaround, for GlassFish
|
183
|
+
debugging. Experimental, might be removed in the future.
|
184
|
+
|
185
|
+
If option is used, it calls Debugger#debug_load with
|
186
|
+
increment_start=true
|
187
|
+
Increasing version to 0.3.1
|
188
|
+
|
189
|
+
2008-09-08 15:17 Martin Krauskopf
|
190
|
+
|
191
|
+
* ChangeLog: ChangeLog update before 0.3.0 release
|
192
|
+
|
193
|
+
2008-09-05 11:52 Martin Krauskopf
|
194
|
+
|
195
|
+
* Rakefile, doc/protocol-spec.texi, etc/build_and_install.sh,
|
196
|
+
lib/ruby-debug.rb, lib/ruby-debug/commands/catchpoint.rb,
|
197
|
+
lib/ruby-debug/xml_printer.rb, test-base/readers.rb,
|
198
|
+
test-base/test_base.rb, test/rd_catchpoint_test.rb,
|
199
|
+
test/rd_test_base.rb: Setting catchpoint now answers with
|
200
|
+
<conditionSet> instead of just <message> providing better control
|
201
|
+
at frontend side.
|
202
|
+
Increasing version to 0.3.0 (incompatible protocol change)
|
203
|
+
|
204
|
+
2008-09-03 14:14 Martin Krauskopf
|
205
|
+
|
206
|
+
* lib/ruby-debug/processor.rb: Do not swallow exceptions
|
207
|
+
|
208
|
+
2008-09-02 18:24 Martin Krauskopf
|
209
|
+
|
210
|
+
* test-base/test_base.rb: Be sure socket is flushed during tests
|
211
|
+
|
212
|
+
2008-09-02 13:55 Martin Krauskopf
|
213
|
+
|
214
|
+
* test-base/stepping_breakpoints_test.rb: ruby-debug-base fixes
|
215
|
+
stepping behaviour. Re-enabling common tests again
|
216
|
+
|
217
|
+
2008-09-02 13:54 Martin Krauskopf
|
218
|
+
|
219
|
+
* test-base/test_base.rb, test/rd_test_base.rb: Do not hardcode
|
220
|
+
port for test server. Find always free one to prevent batch test
|
221
|
+
fails.
|
222
|
+
|
223
|
+
2008-09-02 13:49 Martin Krauskopf
|
224
|
+
|
225
|
+
* nbproject/project.properties, nbproject/project.xml: Tweaking
|
226
|
+
NetBeans project metadata to include bin directory as a source
|
227
|
+
root
|
228
|
+
|
229
|
+
2008-09-02 13:48 Martin Krauskopf
|
230
|
+
|
231
|
+
* Rakefile: Switching trunk dependency on recently released
|
232
|
+
ruby-debug-base 0.10.2
|
233
|
+
|
234
|
+
2008-08-12 16:10 Martin Krauskopf
|
235
|
+
|
236
|
+
* ChangeLog, Rakefile, doc/protocol-spec.texi,
|
237
|
+
etc/build_and_install.sh, lib/ruby-debug.rb: Switching trunk to
|
238
|
+
0.2.2
|
239
|
+
|
240
|
+
2008-08-12 16:00 Martin Krauskopf
|
241
|
+
|
242
|
+
* lib/ruby-debug/xml_printer.rb, test-base/variables_test.rb:
|
243
|
+
debugging is terminated when object's to_s method raises an
|
244
|
+
exception
|
245
|
+
|
246
|
+
2008-07-31 15:10 Martin Krauskopf
|
247
|
+
|
248
|
+
* nbproject: ignore private folder
|
249
|
+
|
250
|
+
2008-07-31 15:09 Martin Krauskopf
|
251
|
+
|
252
|
+
* nbproject, nbproject/project.properties, nbproject/project.xml:
|
253
|
+
Adding NetBeans project metadata.
|
254
|
+
|
255
|
+
2008-07-31 13:39 Martin Krauskopf
|
256
|
+
|
257
|
+
* doc/protocol-spec.texi: - pushing changes to website
|
258
|
+
- fixing typo s/workardouning/workarounding
|
259
|
+
|
260
|
+
2008-07-31 13:23 Martin Krauskopf
|
261
|
+
|
262
|
+
* ChangeLog: ChangeLog update before tagging 0.2.1
|
263
|
+
|
264
|
+
2008-07-31 13:20 Martin Krauskopf
|
265
|
+
|
266
|
+
* doc/protocol-spec.texi: Updating Changes between 0.2.0 and 0.2.1
|
267
|
+
|
268
|
+
2008-07-31 13:13 Martin Krauskopf
|
269
|
+
|
270
|
+
* test-base/stepping_breakpoints_test.rb: tweaking tests for bugs
|
271
|
+
in MRI to catch it once it is fixed
|
272
|
+
|
273
|
+
2008-07-31 13:12 Martin Krauskopf
|
274
|
+
|
275
|
+
* Rakefile, lib/ruby-debug.rb: Hotfixing problem with running Ruby
|
276
|
+
on Mac. See 'Debugger timing out' thread:
|
277
|
+
http://ruby.netbeans.org/servlets/BrowseList?list=users&by=thread&from=861334
|
278
|
+
Still continuing on 0.2.x row (changing dependeny on
|
279
|
+
ruby-debug-base back to 0.10.1)
|
280
|
+
|
281
|
+
2008-07-14 22:40 Martin Krauskopf
|
282
|
+
|
283
|
+
* Rakefile: Make trunk dependent on ruby-debug-base 0.10.2 which
|
284
|
+
fixed important "finish" bug
|
285
|
+
|
286
|
+
2008-06-22 07:10 Martin Krauskopf
|
287
|
+
|
288
|
+
* CHANGES, Rakefile, etc/build_and_install.sh, lib/ruby-debug.rb:
|
289
|
+
increasing trunk version to 0.2.1
|
290
|
+
- CHANGES no longer maintained
|
291
|
+
|
292
|
+
2008-06-22 06:58 Martin Krauskopf
|
293
|
+
|
294
|
+
* ChangeLog: ChangeLog update before tagging 0.2.0
|
295
|
+
|
296
|
+
2008-06-17 12:40 Martin Krauskopf
|
297
|
+
|
298
|
+
* test/rd_test_base.rb: Fixing test loadpath
|
299
|
+
|
300
|
+
2008-06-17 11:52 Martin Krauskopf
|
301
|
+
|
302
|
+
* test-base/variables_test.rb: New version of Rubies (Ruby 1.8.7
|
303
|
+
and JRuby 1.1.2) handle stack differently
|
304
|
+
|
305
|
+
2008-06-17 09:20 Martin Krauskopf
|
306
|
+
|
307
|
+
* lib/ruby-debug.rb: s/Debugger::VERSION/0.2.0; former one points
|
308
|
+
to ruby-debug-base version
|
309
|
+
|
310
|
+
2008-06-12 06:41 Martin Krauskopf
|
311
|
+
|
312
|
+
* CHANGES, Rakefile, doc/protocol-spec.texi,
|
313
|
+
etc/build_and_install.sh: New version will be 0.2.0, since there
|
314
|
+
is slight incompatible change (see spec)
|
315
|
+
|
316
|
+
2008-05-23 12:48 Martin Krauskopf
|
317
|
+
|
318
|
+
* doc/protocol-spec.texi: - documenting catchpoitns
|
319
|
+
- mentioning "catch off" in uncompatible changes
|
320
|
+
|
321
|
+
2008-05-21 14:01 Martin Krauskopf
|
322
|
+
|
323
|
+
* ChangeLog, test/rd_catchpoint_test.rb: Adding test for catchpoint
|
324
|
+
|
325
|
+
2008-05-21 13:32 Martin Krauskopf
|
326
|
+
|
327
|
+
* doc/protocol-spec.texi: s/0.1.1/trunk (not sure whether it will
|
328
|
+
be 0.1.11 or 0.2.0)
|
329
|
+
- since tag for enable/disable command
|
330
|
+
|
331
|
+
2008-05-21 13:22 Martin Krauskopf
|
332
|
+
|
333
|
+
* doc/protocol-spec.texi: - enabled/disable breakpoint feature
|
334
|
+
- typo in delete command
|
335
|
+
|
336
|
+
2008-05-21 13:21 Martin Krauskopf
|
337
|
+
|
338
|
+
* lib/ruby-debug/command.rb, lib/ruby-debug/commands/enable.rb,
|
339
|
+
lib/ruby-debug/helper.rb, lib/ruby-debug/xml_printer.rb,
|
340
|
+
test-base/readers.rb, test-base/test_base.rb,
|
341
|
+
test/rd_enable_disable_test.rb: Enabled/Disable breakpoint
|
342
|
+
feature
|
343
|
+
|
344
|
+
2008-05-21 12:39 Martin Krauskopf
|
345
|
+
|
346
|
+
* doc/protocol-spec.texi: Deleting Breakpoint
|
347
|
+
|
348
|
+
2008-05-17 21:06 Martin Krauskopf
|
349
|
+
|
350
|
+
* doc/protocol-spec.texi: - changes section
|
351
|
+
- continuing with protocol description
|
352
|
+
|
353
|
+
2008-05-17 21:04 Martin Krauskopf
|
354
|
+
|
355
|
+
* lib/ruby-debug/commands/catchpoint.rb, test-base/inspect_test.rb,
|
356
|
+
test-base/readers.rb, test-base/test_base.rb: Tweaking
|
357
|
+
catchpoint.rb and addng basic test
|
358
|
+
|
359
|
+
2008-05-15 20:59 Martin Krauskopf
|
360
|
+
|
361
|
+
* lib/ruby-debug/event_processor.rb: I've got the deadlock
|
362
|
+
suggesting that Debugger::DebuggerThread instance was being
|
363
|
+
traced from tests. Putting 'assertion' forbidding it
|
364
|
+
|
365
|
+
2008-05-15 20:56 Martin Krauskopf
|
366
|
+
|
367
|
+
* lib/ruby-debug.rb: Sanity check whether control thread starts up
|
368
|
+
(#20121)
|
369
|
+
|
370
|
+
2008-05-15 14:13 Martin Krauskopf
|
371
|
+
|
372
|
+
* doc/protocol-spec.texi: - fixing version
|
373
|
+
- RDEBUG_IDE variable
|
374
|
+
|
375
|
+
2008-05-15 13:52 Martin Krauskopf
|
376
|
+
|
377
|
+
* doc/protocol-spec.texi: Fixing 'cond' section
|
378
|
+
|
379
|
+
2008-05-15 10:58 Martin Krauskopf
|
380
|
+
|
381
|
+
* lib/ruby-debug/event_processor.rb: Preventing possible race
|
382
|
+
condition between a program thread and control thread
|
383
|
+
|
384
|
+
2008-05-14 21:16 Martin Krauskopf
|
385
|
+
|
386
|
+
* lib/ruby-debug/processor.rb: State and ControlState does not need
|
387
|
+
to keep commands' classes
|
388
|
+
(they are used in CLI debugger from 'help' command)
|
389
|
+
|
390
|
+
2008-05-13 18:58 Martin Krauskopf
|
391
|
+
|
392
|
+
* doc, doc/protocol-spec.texi: Some works on ruby-debug-ide
|
393
|
+
protocol specification, far from complete
|
394
|
+
|
395
|
+
2008-05-13 18:04 Martin Krauskopf
|
396
|
+
|
397
|
+
* lib/ruby-debug/command.rb, lib/ruby-debug/commands/condition.rb,
|
398
|
+
lib/ruby-debug/xml_printer.rb, test-base/condition_test.rb,
|
399
|
+
test-base/readers.rb, test-base/test_base.rb,
|
400
|
+
test/rd_condition_test.rb: Support for setting condition on
|
401
|
+
breakpoints
|
402
|
+
- condition.rb copy-pasted (then tweaked) from ruby-debug until
|
403
|
+
we find better way
|
404
|
+
|
405
|
+
2008-05-09 14:56 Martin Krauskopf
|
406
|
+
|
407
|
+
* lib/ruby-debug.rb, lib/ruby-debug/event_processor.rb,
|
408
|
+
test-base/stepping_breakpoints_test.rb,
|
409
|
+
test-base/threads_and_frames_test.rb: - implementing
|
410
|
+
Context#at_return to make 'finish' work with MRI (not used by
|
411
|
+
JRuby yet)
|
412
|
+
- tweaking test for different behaviours of interpreters
|
413
|
+
|
414
|
+
2008-05-08 21:40 Martin Krauskopf
|
415
|
+
|
416
|
+
* test-base/threads_and_frames_test.rb: Adding test for 'finish'.
|
417
|
+
Currently does not work with MRI:
|
418
|
+
ruby-debug issue: [#20039] Finish does not work correctly
|
419
|
+
|
420
|
+
2008-05-08 16:49 Martin Krauskopf
|
421
|
+
|
422
|
+
* Rakefile: - switching trunk to ruby-debug-base(s) 0.10.1
|
423
|
+
- remove README to pass the 'gem' task. So far we have no any
|
424
|
+
README
|
425
|
+
|
426
|
+
2008-05-08 12:55 Martin Krauskopf
|
427
|
+
|
428
|
+
* ., ChangeLog, ChangeLog.archive, svn2cl_usermap: - archiving
|
429
|
+
before-division ChangeLogs
|
430
|
+
- ignore pkg and private configuration
|
431
|
+
|
432
|
+
2008-05-08 12:17 Martin Krauskopf
|
433
|
+
|
434
|
+
* ., CHANGES, ChangeLog, MIT-LICENSE, Rakefile, bin,
|
435
|
+
bin/rdebug-ide, config.yaml, etc, etc/build_and_install.sh,
|
436
|
+
etc/kill_debugger, lib, lib/ruby-debug, lib/ruby-debug.rb,
|
437
|
+
lib/ruby-debug/command.rb, lib/ruby-debug/commands,
|
438
|
+
lib/ruby-debug/commands/breakpoints.rb,
|
439
|
+
lib/ruby-debug/commands/catchpoint.rb,
|
440
|
+
lib/ruby-debug/commands/control.rb,
|
441
|
+
lib/ruby-debug/commands/eval.rb,
|
442
|
+
lib/ruby-debug/commands/frame.rb,
|
443
|
+
lib/ruby-debug/commands/inspect.rb,
|
444
|
+
lib/ruby-debug/commands/load.rb,
|
445
|
+
lib/ruby-debug/commands/stepping.rb,
|
446
|
+
lib/ruby-debug/commands/threads.rb,
|
447
|
+
lib/ruby-debug/commands/variables.rb,
|
448
|
+
lib/ruby-debug/event_processor.rb, lib/ruby-debug/helper.rb,
|
449
|
+
lib/ruby-debug/interface.rb, lib/ruby-debug/printers.rb,
|
450
|
+
lib/ruby-debug/processor.rb, lib/ruby-debug/xml_printer.rb, test,
|
451
|
+
test-base, test-base/basic_test.rb, test-base/inspect_test.rb,
|
452
|
+
test-base/readers.rb, test-base/stepping_breakpoints_test.rb,
|
453
|
+
test-base/test_base.rb, test-base/threads_and_frames_test.rb,
|
454
|
+
test-base/variables_test.rb, test/rd_basic_test.rb,
|
455
|
+
test/rd_inspect_test.rb, test/rd_stepping_breakpoints_test.rb,
|
456
|
+
test/rd_test_base.rb, test/rd_threads_and_frames_test.rb,
|
457
|
+
test/rd_variables_test.rb: Dividing 'debug-commons' into two
|
458
|
+
projects:
|
459
|
+
- ruby-debug-ide: wrapper for ruby-debug-base
|
460
|
+
- classic-debug-ide: wrapper for classic debug.rb
|
461
|
+
to make further development more smooth. classic-debug-ide is
|
462
|
+
getting
|
463
|
+
deprecated by availability of ruby-debug-base for MRI, JRuby and
|
464
|
+
Rubinius
|
465
|
+
|
data/Rakefile
CHANGED
data/lib/ruby-debug-ide.rb
CHANGED
@@ -125,7 +125,7 @@ module Debugger
|
|
125
125
|
return if @control_thread
|
126
126
|
@control_thread = DebugThread.new do
|
127
127
|
begin
|
128
|
-
$stderr.printf "Fast Debugger (ruby-debug-ide 0.4.
|
128
|
+
$stderr.printf "Fast Debugger (ruby-debug-ide 0.4.10) listens on #{host}:#{port}\n"
|
129
129
|
# 127.0.0.1 seemingly works with all systems and with IPv6 as well.
|
130
130
|
# "localhost" and nil on have problems on some systems.
|
131
131
|
host ||= '127.0.0.1'
|
@@ -114,8 +114,13 @@ module Debugger
|
|
114
114
|
|
115
115
|
def execute
|
116
116
|
locals = @state.context.frame_locals(@state.frame_pos)
|
117
|
-
_self = @state.context.frame_self(@state.frame_pos)
|
118
|
-
|
117
|
+
_self = @state.context.frame_self(@state.frame_pos)
|
118
|
+
begin
|
119
|
+
locals['self'] = _self unless _self.to_s == "main"
|
120
|
+
rescue => ex
|
121
|
+
locals['self'] = "<Cannot evaluate self>"
|
122
|
+
$stderr << "Cannot evaluate self\n#{ex.class.name}: #{ex.message}\n #{ex.backtrace.join("\n ")}"
|
123
|
+
end
|
119
124
|
print_variables(locals.keys, 'local') do |var|
|
120
125
|
locals[var]
|
121
126
|
end
|
data/test/rd_test_base.rb
CHANGED
@@ -22,7 +22,7 @@ class RDTestBase < TestBase
|
|
22
22
|
cmd = "#{interpreter}"
|
23
23
|
cmd << " --debug" if jruby?
|
24
24
|
cmd << " -J-Xdebug -J-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y" if jruby? and debug_jruby?
|
25
|
-
cmd << " -I '#{File.dirname(script)}' #{@rdebug_ide} _0.4.
|
25
|
+
cmd << " -I '#{File.dirname(script)}' #{@rdebug_ide} _0.4.10_" +
|
26
26
|
(@verbose_server ? " -d" : "") +
|
27
27
|
" -p #{port} -- '#{script}'"
|
28
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-debug-ide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 4
|
8
|
+
- 10
|
9
|
+
version: 0.4.10
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Markus Barchfeld, Martin Krauskopf
|
@@ -9,20 +14,26 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-04-14 00:00:00 +02:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: rake
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 8
|
30
|
+
- 1
|
23
31
|
version: 0.8.1
|
24
|
-
|
25
|
-
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
description: |
|
35
|
+
An interface which glues ruby-debug to IDEs like Eclipse (RDT) and NetBeans.
|
36
|
+
|
26
37
|
email: rubyeclipse-dev-list@sourceforge.net
|
27
38
|
executables:
|
28
39
|
- rdebug-ide
|
@@ -37,41 +48,38 @@ files:
|
|
37
48
|
- MIT-LICENSE
|
38
49
|
- Rakefile
|
39
50
|
- bin/rdebug-ide
|
40
|
-
- lib/ruby-debug
|
41
|
-
- lib/ruby-debug
|
51
|
+
- lib/ruby-debug/helper.rb
|
52
|
+
- lib/ruby-debug/processor.rb
|
42
53
|
- lib/ruby-debug/command.rb
|
43
|
-
- lib/ruby-debug/event_processor.rb
|
44
|
-
- lib/ruby-debug/xml_printer.rb
|
45
54
|
- lib/ruby-debug/interface.rb
|
46
|
-
- lib/ruby-debug/printers.rb
|
47
|
-
- lib/ruby-debug/helper.rb
|
48
|
-
- lib/ruby-debug/commands
|
49
|
-
- lib/ruby-debug/commands/catchpoint.rb
|
50
|
-
- lib/ruby-debug/commands/eval.rb
|
51
55
|
- lib/ruby-debug/commands/variables.rb
|
52
|
-
- lib/ruby-debug/commands/
|
53
|
-
- lib/ruby-debug/commands/stepping.rb
|
54
|
-
- lib/ruby-debug/commands/breakpoints.rb
|
56
|
+
- lib/ruby-debug/commands/load.rb
|
55
57
|
- lib/ruby-debug/commands/condition.rb
|
58
|
+
- lib/ruby-debug/commands/breakpoints.rb
|
56
59
|
- lib/ruby-debug/commands/inspect.rb
|
57
|
-
- lib/ruby-debug/commands/
|
60
|
+
- lib/ruby-debug/commands/threads.rb
|
61
|
+
- lib/ruby-debug/commands/catchpoint.rb
|
62
|
+
- lib/ruby-debug/commands/eval.rb
|
63
|
+
- lib/ruby-debug/commands/stepping.rb
|
58
64
|
- lib/ruby-debug/commands/frame.rb
|
59
65
|
- lib/ruby-debug/commands/enable.rb
|
60
|
-
- lib/ruby-debug/commands/
|
61
|
-
- lib/ruby-debug/
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
66
|
+
- lib/ruby-debug/commands/control.rb
|
67
|
+
- lib/ruby-debug/xml_printer.rb
|
68
|
+
- lib/ruby-debug/printers.rb
|
69
|
+
- lib/ruby-debug/event_processor.rb
|
70
|
+
- lib/ruby-debug-ide.rb
|
65
71
|
- test/rd_variables_test.rb
|
72
|
+
- test/ruby-debug/xml_printer_test.rb
|
66
73
|
- test/rd_test_base.rb
|
74
|
+
- test/rd_basic_test.rb
|
75
|
+
- test/rd_threads_and_frames_test.rb
|
76
|
+
- test/rd_inspect_test.rb
|
77
|
+
- test/rd_stepping_breakpoints_test.rb
|
67
78
|
- test/rd_condition_test.rb
|
68
79
|
- test/rd_catchpoint_test.rb
|
69
|
-
- test/rd_threads_and_frames_test.rb
|
70
|
-
- test/ruby-debug
|
71
|
-
- test/ruby-debug/xml_printer_test.rb
|
72
80
|
- test/rd_enable_disable_test.rb
|
73
81
|
- ext/mkrf_conf.rb
|
74
|
-
has_rdoc:
|
82
|
+
has_rdoc: true
|
75
83
|
homepage: http://rubyforge.org/projects/debug-commons/
|
76
84
|
licenses: []
|
77
85
|
|
@@ -84,18 +92,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
92
|
requirements:
|
85
93
|
- - ">="
|
86
94
|
- !ruby/object:Gem::Version
|
95
|
+
segments:
|
96
|
+
- 1
|
97
|
+
- 8
|
98
|
+
- 2
|
87
99
|
version: 1.8.2
|
88
|
-
version:
|
89
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
101
|
requirements:
|
91
102
|
- - ">="
|
92
103
|
- !ruby/object:Gem::Version
|
104
|
+
segments:
|
105
|
+
- 0
|
93
106
|
version: "0"
|
94
|
-
version:
|
95
107
|
requirements: []
|
96
108
|
|
97
109
|
rubyforge_project: debug-commons
|
98
|
-
rubygems_version: 1.3.
|
110
|
+
rubygems_version: 1.3.6
|
99
111
|
signing_key:
|
100
112
|
specification_version: 3
|
101
113
|
summary: IDE interface for ruby-debug.
|