ruby-debug-base 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +94 -2
- data/README +30 -1
- data/Rakefile +55 -24
- data/ext/breakpoint.c +581 -0
- data/ext/ruby_debug.c +178 -754
- data/ext/ruby_debug.h +121 -0
- data/lib/ChangeLog +0 -579
- data/lib/ruby-debug-base.rb +67 -38
- data/test/{test-ruby-debug-base.rb → base/base.rb} +27 -29
- data/test/base/binding.rb +31 -0
- data/test/base/catchpoint.rb +26 -0
- metadata +23 -10
- data/ext/ChangeLog +0 -793
data/ext/ruby_debug.h
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
#include <ruby.h>
|
2
|
+
/* Context info */
|
3
|
+
enum ctx_stop_reason {CTX_STOP_NONE, CTX_STOP_STEP, CTX_STOP_BREAKPOINT,
|
4
|
+
CTX_STOP_CATCHPOINT};
|
5
|
+
|
6
|
+
/* Context flags */
|
7
|
+
#define CTX_FL_SUSPEND (1<<1)
|
8
|
+
#define CTX_FL_TRACING (1<<2)
|
9
|
+
#define CTX_FL_SKIPPED (1<<3)
|
10
|
+
#define CTX_FL_IGNORE (1<<4)
|
11
|
+
#define CTX_FL_DEAD (1<<5)
|
12
|
+
#define CTX_FL_WAS_RUNNING (1<<6)
|
13
|
+
#define CTX_FL_ENABLE_BKPT (1<<7)
|
14
|
+
#define CTX_FL_STEPPED (1<<8)
|
15
|
+
#define CTX_FL_FORCE_MOVE (1<<9)
|
16
|
+
|
17
|
+
#define CTX_FL_TEST(c,f) ((c)->flags & (f))
|
18
|
+
#define CTX_FL_SET(c,f) do { (c)->flags |= (f); } while (0)
|
19
|
+
#define CTX_FL_UNSET(c,f) do { (c)->flags &= ~(f); } while (0)
|
20
|
+
|
21
|
+
typedef struct {
|
22
|
+
int argc; /* Number of arguments a frame should have. */
|
23
|
+
VALUE binding;
|
24
|
+
ID id;
|
25
|
+
ID orig_id;
|
26
|
+
int line;
|
27
|
+
const char * file;
|
28
|
+
short dead;
|
29
|
+
VALUE self;
|
30
|
+
VALUE arg_ary;
|
31
|
+
union {
|
32
|
+
struct {
|
33
|
+
struct FRAME *frame;
|
34
|
+
struct SCOPE *scope;
|
35
|
+
struct RVarmap *dyna_vars;
|
36
|
+
} runtime;
|
37
|
+
struct {
|
38
|
+
VALUE args;
|
39
|
+
VALUE locals;
|
40
|
+
VALUE arg_ary;
|
41
|
+
} copy;
|
42
|
+
} info;
|
43
|
+
} debug_frame_t;
|
44
|
+
|
45
|
+
typedef struct {
|
46
|
+
VALUE thread_id;
|
47
|
+
int thnum;
|
48
|
+
int flags;
|
49
|
+
enum ctx_stop_reason stop_reason;
|
50
|
+
int stop_next;
|
51
|
+
int dest_frame;
|
52
|
+
int stop_line;
|
53
|
+
int stop_frame;
|
54
|
+
int stack_size;
|
55
|
+
int stack_len;
|
56
|
+
debug_frame_t *frames;
|
57
|
+
const char * last_file;
|
58
|
+
int last_line;
|
59
|
+
VALUE breakpoint;
|
60
|
+
} debug_context_t;
|
61
|
+
|
62
|
+
/* variables in ruby_debug.c */
|
63
|
+
extern VALUE mDebugger;
|
64
|
+
extern VALUE rdebug_breakpoints;
|
65
|
+
extern VALUE rdebug_catchpoints;
|
66
|
+
extern VALUE rdebug_threads_tbl;
|
67
|
+
|
68
|
+
/* routines in ruby_debug.c */
|
69
|
+
extern int filename_cmp(VALUE source, char *file);
|
70
|
+
|
71
|
+
#define IS_STARTED (rdebug_threads_tbl != Qnil)
|
72
|
+
static inline void
|
73
|
+
debug_check_started()
|
74
|
+
{
|
75
|
+
if(!IS_STARTED)
|
76
|
+
{
|
77
|
+
rb_raise(rb_eRuntimeError, "Debugger.start is not called yet.");
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
static inline int
|
82
|
+
classname_cmp(VALUE name, VALUE klass)
|
83
|
+
{
|
84
|
+
VALUE class_name = (Qnil == name) ? rb_str_new2("main") : name;
|
85
|
+
return (klass != Qnil
|
86
|
+
&& rb_str_cmp(class_name, rb_mod_name(klass)) == 0);
|
87
|
+
}
|
88
|
+
|
89
|
+
/* Breakpoint information */
|
90
|
+
enum bp_type {BP_POS_TYPE, BP_METHOD_TYPE};
|
91
|
+
enum hit_condition {HIT_COND_NONE, HIT_COND_GE, HIT_COND_EQ, HIT_COND_MOD};
|
92
|
+
|
93
|
+
typedef struct {
|
94
|
+
int id;
|
95
|
+
enum bp_type type;
|
96
|
+
VALUE source;
|
97
|
+
union
|
98
|
+
{
|
99
|
+
int line;
|
100
|
+
ID mid;
|
101
|
+
} pos;
|
102
|
+
VALUE expr;
|
103
|
+
VALUE enabled;
|
104
|
+
int hit_count;
|
105
|
+
int hit_value;
|
106
|
+
enum hit_condition hit_condition;
|
107
|
+
} debug_breakpoint_t;
|
108
|
+
|
109
|
+
/* routines in breakpoint.c */
|
110
|
+
extern int check_breakpoint_expression(VALUE breakpoint, VALUE binding);
|
111
|
+
extern int check_breakpoint_hit_condition(VALUE breakpoint);
|
112
|
+
extern VALUE check_breakpoints_by_pos(debug_context_t *debug_context,
|
113
|
+
char *file, int line);
|
114
|
+
extern VALUE create_breakpoint_from_args(int argc, VALUE *argv, int id);
|
115
|
+
extern VALUE context_breakpoint(VALUE self);
|
116
|
+
extern VALUE context_set_breakpoint(int argc, VALUE *argv, VALUE self);
|
117
|
+
extern VALUE rdebug_add_catchpoint(VALUE self, VALUE value);
|
118
|
+
extern VALUE debug_catchpoints(VALUE self);
|
119
|
+
extern VALUE rdebug_remove_breakpoint(VALUE self, VALUE id_value);
|
120
|
+
|
121
|
+
extern void Init_breakpoint();
|
data/lib/ChangeLog
CHANGED
@@ -1,579 +0,0 @@
|
|
1
|
-
2007-12-25 02:51 Rocky Bernstein
|
2
|
-
|
3
|
-
* trunk/AUTHORS, trunk/ChangeLog, trunk/README,
|
4
|
-
trunk/ext/ChangeLog, ChangeLog, trunk/test/breakpoints.cmd,
|
5
|
-
trunk/test/breakpoints.right: breakpoints.*: main -> Object. Add
|
6
|
-
bad Class name test
|
7
|
-
AUTHOR: Add Anders
|
8
|
-
README: note ruby-debug-extra. More precise (I think)
|
9
|
-
|
10
|
-
2007-12-24 00:25 Rocky Bernstein
|
11
|
-
|
12
|
-
* trunk/ChangeLog, trunk/Rakefile, trunk/ext/ChangeLog, ChangeLog:
|
13
|
-
Rakefile: set up gem unit test for ruby-debug-base. Add file in
|
14
|
-
test/
|
15
|
-
so we could do the same for ruby-debug were it not for other
|
16
|
-
mysterious
|
17
|
-
problems.
|
18
|
-
|
19
|
-
2007-12-23 17:33 Rocky Bernstein
|
20
|
-
|
21
|
-
* trunk/CHANGES, trunk/ChangeLog, trunk/Makefile.am,
|
22
|
-
trunk/Rakefile, trunk/doc, trunk/ext/ChangeLog, ChangeLog,
|
23
|
-
trunk/svn2cl_usermap, trunk/test/test-columnize.rb,
|
24
|
-
trunk/test/test-ruby-debug-base.rb,
|
25
|
-
trunk/test/test-ruby-debug.rb: Go over packaging:
|
26
|
-
ChangeLogs for ruby-debug-base (in ext and lib) separate from CLI
|
27
|
-
ChangeLog
|
28
|
-
ChangeLogs now map userid to names
|
29
|
-
ruby-debug-base regression test included in ruby-debug-base
|
30
|
-
Columnize test separated. (It will disappear when ruby-debug
|
31
|
-
requires it
|
32
|
-
as an external)
|
33
|
-
|
34
|
-
2007-12-16 21:31 Rocky Bernstein
|
35
|
-
|
36
|
-
* trunk, trunk/ChangeLog, trunk/cli/ruby-debug/commands/info.rb,
|
37
|
-
trunk/doc, trunk/emacs, trunk/ext, ruby-debug-base.rb,
|
38
|
-
trunk/test/helper.rb, trunk/test/info-var-bug.rb,
|
39
|
-
trunk/test/info-var.cmd, trunk/test/info-var.right,
|
40
|
-
trunk/test/runall, trunk/test/test-breakpoints.rb,
|
41
|
-
trunk/test/test-display.rb, trunk/test/test-help.rb,
|
42
|
-
trunk/test/test-info-var.rb: Add "info variables test".
|
43
|
-
|
44
|
-
ruby-debug-base.rb: Not sure how test(?M, file) ever worked
|
45
|
-
before but change
|
46
|
-
to use File.stat(file).mtime
|
47
|
-
info.rb: ignore debugger variables which are sometimes set.
|
48
|
-
|
49
|
-
2007-12-10 03:23 Rocky Bernstein
|
50
|
-
|
51
|
-
* trunk/doc/ruby-debug.texi, ruby-debug-base.rb: doc changes.
|
52
|
-
|
53
|
-
2007-06-26 07:05 Rocky Bernstein
|
54
|
-
|
55
|
-
* trunk/CHANGES, trunk/bin/rdebug, trunk/cli/ruby-debug.rb,
|
56
|
-
ruby-debug-base.rb: Run .rdebugrc on Debugger.start. Look for
|
57
|
-
this in the current directory and run that instead the one in
|
58
|
-
$HOME if that exists. Again, inspired and compatible with gdb.
|
59
|
-
|
60
|
-
rdebug: Check script for syntax errors before loading. We get
|
61
|
-
more informative errors and it doesn't look like rdebug is at
|
62
|
-
fault.
|
63
|
-
|
64
|
-
2007-06-05 16:36 Kent Sibilev
|
65
|
-
|
66
|
-
* trunk/bin/rdebug, trunk/cli/ruby-debug/command.rb,
|
67
|
-
trunk/cli/ruby-debug/commands/breakpoints.rb,
|
68
|
-
trunk/cli/ruby-debug/commands/control.rb,
|
69
|
-
trunk/cli/ruby-debug/commands/display.rb,
|
70
|
-
trunk/cli/ruby-debug/commands/eval.rb,
|
71
|
-
trunk/cli/ruby-debug/commands/frame.rb,
|
72
|
-
trunk/cli/ruby-debug/commands/help.rb,
|
73
|
-
trunk/cli/ruby-debug/commands/info.rb,
|
74
|
-
trunk/cli/ruby-debug/commands/method.rb,
|
75
|
-
trunk/cli/ruby-debug/commands/script.rb,
|
76
|
-
trunk/cli/ruby-debug/commands/settings.rb,
|
77
|
-
trunk/cli/ruby-debug/commands/show.rb,
|
78
|
-
trunk/cli/ruby-debug/commands/stepping.rb,
|
79
|
-
trunk/cli/ruby-debug/commands/threads.rb,
|
80
|
-
trunk/cli/ruby-debug/commands/variables.rb,
|
81
|
-
trunk/cli/ruby-debug/interface.rb,
|
82
|
-
trunk/cli/ruby-debug/processor.rb, trunk/ext/ruby_debug.c,
|
83
|
-
ruby-debug-base.rb: code reorganization.
|
84
|
-
reverted 'run' command.
|
85
|
-
|
86
|
-
2007-06-05 07:59 Kent Sibilev
|
87
|
-
|
88
|
-
* ruby-debug-base.rb: restore post_mortem
|
89
|
-
|
90
|
-
2007-06-02 15:01 Rocky Bernstein
|
91
|
-
|
92
|
-
* trunk/cli/ruby-debug/processor.rb, trunk/emacs/rdebug-track.el,
|
93
|
-
ruby-debug-base.rb: lib/ruby-debug-base.rb: add Quit and Restart
|
94
|
-
exceptions which can reliably be used after the delayed exception
|
95
|
-
handling bug is fixed
|
96
|
-
emacs/rdebug-track.el and cli/ruby-debug/processor.rb: more
|
97
|
-
accurate line tracking in EMACS. When not in emacs should be more
|
98
|
-
like what was there.
|
99
|
-
|
100
|
-
2007-06-01 21:57 Rocky Bernstein
|
101
|
-
|
102
|
-
* ruby-debug-base.rb: parens around a print seems to give a
|
103
|
-
warning. Remove.
|
104
|
-
|
105
|
-
2007-05-23 16:43 Rocky Bernstein
|
106
|
-
|
107
|
-
* ruby-debug-base.rb: post_mortem: to test $! *before* running
|
108
|
-
debug_at_ext or else we may get an erroneous message:
|
109
|
-
ruby-debug-base.rb:162:in `current_context': Debugger.start is
|
110
|
-
not called yet. (RuntimeError)
|
111
|
-
|
112
|
-
A simple test case to show the problem:
|
113
|
-
|
114
|
-
"require rubygems"
|
115
|
-
"require ruby-debug"
|
116
|
-
Debugger.start
|
117
|
-
Debugger.post_mortem
|
118
|
-
exit # Causes us to incorrectly give the above error
|
119
|
-
|
120
|
-
2007-05-15 20:22 Kent Sibilev
|
121
|
-
|
122
|
-
* trunk/CHANGES, trunk/cli/ruby-debug/command.rb,
|
123
|
-
trunk/cli/ruby-debug/commands/breakpoints.rb,
|
124
|
-
trunk/cli/ruby-debug/commands/frame.rb,
|
125
|
-
trunk/cli/ruby-debug/commands/stepping.rb,
|
126
|
-
trunk/cli/ruby-debug/commands/threads.rb,
|
127
|
-
trunk/cli/ruby-debug/commands/variables.rb, ruby-debug-base.rb:
|
128
|
-
various fixes
|
129
|
-
|
130
|
-
2007-04-27 23:21 Kent Sibilev
|
131
|
-
|
132
|
-
* ruby-debug-base.rb: ditto
|
133
|
-
|
134
|
-
2007-04-27 23:19 Kent Sibilev
|
135
|
-
|
136
|
-
* ruby-debug-base.rb: add breakpoint method as an alias for
|
137
|
-
debugger in case breakpoint method is not defined already
|
138
|
-
|
139
|
-
2007-03-25 01:03 Kent Sibilev
|
140
|
-
|
141
|
-
* ruby-debug-base.rb: will start the debugger if necessary
|
142
|
-
|
143
|
-
2007-03-24 18:17 Kent Sibilev
|
144
|
-
|
145
|
-
* branches/stable, trunk: stable becomes the trunk
|
146
|
-
|
147
|
-
2007-03-13 17:06 Kent Sibilev
|
148
|
-
|
149
|
-
* branches/stable/Rakefile,
|
150
|
-
branches/stable/cli/ruby-debug/commands/list.rb,
|
151
|
-
branches/stable/lib/ruby-debug-base.rb: fixed rdoc
|
152
|
-
|
153
|
-
2007-03-01 23:44 Kent Sibilev
|
154
|
-
|
155
|
-
* branches/stable/lib/ruby-debug,
|
156
|
-
branches/stable/lib/ruby-debug-base.rb: fixed post-mortem
|
157
|
-
|
158
|
-
2007-02-27 08:02 Kent Sibilev
|
159
|
-
|
160
|
-
* branches/stable/Rakefile, branches/stable/cli,
|
161
|
-
branches/stable/cli/ruby-debug,
|
162
|
-
branches/stable/cli/ruby-debug/command.rb,
|
163
|
-
branches/stable/cli/ruby-debug/commands,
|
164
|
-
branches/stable/cli/ruby-debug/interface.rb,
|
165
|
-
branches/stable/cli/ruby-debug/processor.rb,
|
166
|
-
branches/stable/ext/ruby_debug.c,
|
167
|
-
branches/stable/lib/ruby-debug-base.rb,
|
168
|
-
branches/stable/lib/ruby-debug.rb,
|
169
|
-
branches/stable/lib/ruby-debug/command.rb,
|
170
|
-
branches/stable/lib/ruby-debug/commands,
|
171
|
-
branches/stable/lib/ruby-debug/interface.rb,
|
172
|
-
branches/stable/lib/ruby-debug/processor.rb: repackaging
|
173
|
-
ruby-debug
|
174
|
-
|
175
|
-
2007-02-23 20:56 Kent Sibilev
|
176
|
-
|
177
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
178
|
-
branches/stable/lib/ruby-debug.rb: added an option for
|
179
|
-
Debugger.debug_load to stop at the first line of code
|
180
|
-
|
181
|
-
2007-02-12 06:59 Kent Sibilev
|
182
|
-
|
183
|
-
* branches/stable/bin/rdebug,
|
184
|
-
branches/stable/lib/ruby-debug/processor.rb: added --emacs option
|
185
|
-
|
186
|
-
2007-02-09 16:56 Kent Sibilev
|
187
|
-
|
188
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
189
|
-
branches/stable/lib/ruby-debug.rb: in remote mode the debugger
|
190
|
-
shouldn't stop inside of rdebug script
|
191
|
-
|
192
|
-
2007-02-09 06:20 Kent Sibilev
|
193
|
-
|
194
|
-
* branches/stable/bin/rdebug,
|
195
|
-
branches/stable/lib/ruby-debug/interface.rb: --
|
196
|
-
|
197
|
-
2007-02-09 01:00 Kent Sibilev
|
198
|
-
|
199
|
-
* branches/stable/bin/rdebug, branches/stable/lib/ruby-debug.rb,
|
200
|
-
branches/stable/lib/ruby-debug/commands/list.rb,
|
201
|
-
branches/stable/lib/ruby-debug/commands/settings.rb: fixed code
|
202
|
-
reloading
|
203
|
-
made 'reload on' as a part of the 'set' command
|
204
|
-
evaluate ~/.rdebugrc as an init script
|
205
|
-
|
206
|
-
2007-02-07 02:42 Kent Sibilev
|
207
|
-
|
208
|
-
* branches/stable/ext/ruby_debug.c,
|
209
|
-
branches/stable/lib/ruby-debug/commands/threads.rb,
|
210
|
-
branches/stable/lib/ruby-debug/processor.rb: should use ignored?
|
211
|
-
method to check for the debugger's thread
|
212
|
-
|
213
|
-
2007-02-06 22:21 Kent Sibilev
|
214
|
-
|
215
|
-
* branches/stable/lib/ruby-debug/command.rb:
|
216
|
-
|
217
|
-
2007-02-05 22:48 Kent Sibilev
|
218
|
-
|
219
|
-
* branches/stable/lib/ruby-debug/commands/frame.rb: --
|
220
|
-
|
221
|
-
2007-02-05 22:11 Kent Sibilev
|
222
|
-
|
223
|
-
* branches/stable/lib/ruby-debug/commands/frame.rb: fixed emacs
|
224
|
-
integration
|
225
|
-
|
226
|
-
2007-02-05 20:16 Kent Sibilev
|
227
|
-
|
228
|
-
* branches/stable/ext/ruby_debug.c,
|
229
|
-
branches/stable/lib/ruby-debug/commands/frame.rb: fixed another
|
230
|
-
issue where a bogus frame is being left in the stack
|
231
|
-
|
232
|
-
2007-02-04 23:36 Kent Sibilev
|
233
|
-
|
234
|
-
* branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
|
235
|
-
branches/stable/lib/ruby-debug/commands/settings.rb: seg fault
|
236
|
-
bugfixes
|
237
|
-
fixed suspend/resume
|
238
|
-
|
239
|
-
2007-02-04 03:49 Kent Sibilev
|
240
|
-
|
241
|
-
* branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
|
242
|
-
branches/stable/lib/ruby-debug.rb: A better fix for the
|
243
|
-
segmentation fault
|
244
|
-
|
245
|
-
2007-02-03 20:24 Kent Sibilev
|
246
|
-
|
247
|
-
* branches/stable/ext/ruby_debug.c,
|
248
|
-
branches/stable/lib/ruby-debug.rb,
|
249
|
-
branches/stable/lib/ruby-debug/processor.rb: fix seg fault by
|
250
|
-
avoiding ruby's bug
|
251
|
-
fixed Context#resume
|
252
|
-
when handling post-mortem all threads must be suspended
|
253
|
-
|
254
|
-
2007-02-02 18:47 Kent Sibilev
|
255
|
-
|
256
|
-
* branches/stable/ext/ruby_debug.c,
|
257
|
-
branches/stable/lib/ruby-debug/commands/frame.rb: removed
|
258
|
-
ambiguity with down command
|
259
|
-
|
260
|
-
2007-02-01 23:48 Kent Sibilev
|
261
|
-
|
262
|
-
* branches/stable/lib/ruby-debug/commands/settings.rb: typo
|
263
|
-
|
264
|
-
2007-02-01 22:15 Kent Sibilev
|
265
|
-
|
266
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
267
|
-
branches/stable/lib/ruby-debug/commands/eval.rb: made eval
|
268
|
-
command available from the control thread
|
269
|
-
|
270
|
-
2007-02-01 07:22 Kent Sibilev
|
271
|
-
|
272
|
-
* branches/stable/ext/ruby_debug.c,
|
273
|
-
branches/stable/lib/ruby-debug/command.rb,
|
274
|
-
branches/stable/lib/ruby-debug/commands/breakpoints.rb,
|
275
|
-
branches/stable/lib/ruby-debug/commands/eval.rb,
|
276
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
277
|
-
branches/stable/lib/ruby-debug/commands/list.rb,
|
278
|
-
branches/stable/lib/ruby-debug/commands/settings.rb,
|
279
|
-
branches/stable/lib/ruby-debug/commands/threads.rb: added setting
|
280
|
-
command
|
281
|
-
added Context#suspended? method
|
282
|
-
dispay suspended status in the thread list
|
283
|
-
display frame starting from zero
|
284
|
-
|
285
|
-
2007-01-31 21:13 Kent Sibilev
|
286
|
-
|
287
|
-
* branches/stable/lib/ruby-debug/commands/frame.rb: ditto
|
288
|
-
|
289
|
-
2007-01-31 21:12 Kent Sibilev
|
290
|
-
|
291
|
-
* branches/stable/lib/ruby-debug/commands/frame.rb: fixed help
|
292
|
-
command
|
293
|
-
|
294
|
-
2007-01-31 19:39 Kent Sibilev
|
295
|
-
|
296
|
-
* branches/stable/ext/ruby_debug.c,
|
297
|
-
branches/stable/lib/ruby-debug/command.rb: fixed frame count
|
298
|
-
added frame_self method to context
|
299
|
-
|
300
|
-
2007-01-31 16:48 Kent Sibilev
|
301
|
-
|
302
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
303
|
-
branches/stable/lib/ruby-debug.rb,
|
304
|
-
branches/stable/lib/ruby-debug/command.rb,
|
305
|
-
branches/stable/lib/ruby-debug/commands/eval.rb,
|
306
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
307
|
-
branches/stable/lib/ruby-debug/commands/irb.rb,
|
308
|
-
branches/stable/lib/ruby-debug/commands/variables.rb,
|
309
|
-
branches/stable/lib/ruby-debug/processor.rb: removed all
|
310
|
-
references to frames array
|
311
|
-
fixed post-mortem debugging
|
312
|
-
|
313
|
-
2007-01-31 00:51 Kent Sibilev
|
314
|
-
|
315
|
-
* branches/stable/lib/ruby-debug/commands/stepping.rb,
|
316
|
-
branches/stable/lib/ruby-debug/commands/threads.rb,
|
317
|
-
branches/stable/lib/ruby-debug/commands/tmate.rb,
|
318
|
-
branches/stable/lib/ruby-debug/processor.rb: removed obsolete
|
319
|
-
frames usage
|
320
|
-
|
321
|
-
2007-01-31 00:41 Kent Sibilev
|
322
|
-
|
323
|
-
* branches/stable/ext/ruby_debug.c,
|
324
|
-
branches/stable/lib/ruby-debug.rb,
|
325
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
326
|
-
branches/stable/lib/ruby-debug/commands/variables.rb,
|
327
|
-
branches/stable/lib/ruby-debug/processor.rb: refactored out frame
|
328
|
-
class and preallocate stack
|
329
|
-
made local variable available even when bindings are not
|
330
|
-
collected.
|
331
|
-
|
332
|
-
2007-01-28 20:25 Kent Sibilev
|
333
|
-
|
334
|
-
* branches/stable/lib/ruby-debug.rb: --
|
335
|
-
|
336
|
-
2007-01-28 06:22 Kent Sibilev
|
337
|
-
|
338
|
-
* branches/stable/AUTHORS, branches/stable/CHANGES,
|
339
|
-
branches/stable/Rakefile, branches/stable/ext/ruby_debug.c,
|
340
|
-
branches/stable/lib/ruby-debug/commands/frame.rb: - Control
|
341
|
-
thread is always started by rdebug script.
|
342
|
-
- Ability to specify negative frame number to frame commands.
|
343
|
-
Patch from R. Bernstein.
|
344
|
-
|
345
|
-
2007-01-28 04:52 Kent Sibilev
|
346
|
-
|
347
|
-
* branches/stable/CHANGES, branches/stable/bin/rdebug,
|
348
|
-
branches/stable/ext/ruby_debug.c,
|
349
|
-
branches/stable/lib/ruby-debug.rb,
|
350
|
-
branches/stable/lib/ruby-debug/commands/control.rb: added top
|
351
|
-
frame caching
|
352
|
-
control thread is always started by rdebug script
|
353
|
-
|
354
|
-
2007-01-27 01:43 Kent Sibilev
|
355
|
-
|
356
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
357
|
-
branches/stable/lib/ruby-debug.rb,
|
358
|
-
branches/stable/lib/ruby-debug/command.rb,
|
359
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
360
|
-
branches/stable/lib/ruby-debug/commands/stepping.rb,
|
361
|
-
branches/stable/lib/ruby-debug/commands/threads.rb,
|
362
|
-
branches/stable/lib/ruby-debug/commands/tmate.rb,
|
363
|
-
branches/stable/lib/ruby-debug/processor.rb: another performance
|
364
|
-
optimization
|
365
|
-
|
366
|
-
2007-01-26 20:28 Kent Sibilev
|
367
|
-
|
368
|
-
* branches/stable/lib/ruby-debug.rb: fixed #7484
|
369
|
-
|
370
|
-
2007-01-26 17:59 Kent Sibilev
|
371
|
-
|
372
|
-
* branches/stable/ext/ruby_debug.c,
|
373
|
-
branches/stable/lib/ruby-debug/commands/breakpoints.rb: revisited
|
374
|
-
file name comparing procedure
|
375
|
-
|
376
|
-
2007-01-26 09:03 Kent Sibilev
|
377
|
-
|
378
|
-
* branches/stable/ext/ruby_debug.c,
|
379
|
-
branches/stable/lib/ruby-debug/commands/breakpoints.rb:
|
380
|
-
performance improvements
|
381
|
-
|
382
|
-
2007-01-26 03:12 Kent Sibilev
|
383
|
-
|
384
|
-
* branches/stable/CHANGES, branches/stable/bin/rdebug,
|
385
|
-
branches/stable/ext/ruby_debug.c,
|
386
|
-
branches/stable/lib/ruby-debug.rb,
|
387
|
-
branches/stable/lib/ruby-debug/command.rb,
|
388
|
-
branches/stable/lib/ruby-debug/commands/irb.rb,
|
389
|
-
branches/stable/lib/ruby-debug/commands/variables.rb,
|
390
|
-
branches/stable/lib/ruby-debug/processor.rb: added option to
|
391
|
-
exclude collecting of frame bindings
|
392
|
-
|
393
|
-
2007-01-24 18:33 Kent Sibilev
|
394
|
-
|
395
|
-
* branches/stable/bin/rdebug, branches/stable/lib/ruby-debug.rb:
|
396
|
-
disable tracing when in post-mortem
|
397
|
-
added -x/--trace option to rdebug script
|
398
|
-
|
399
|
-
2007-01-21 08:13 Kent Sibilev
|
400
|
-
|
401
|
-
* branches/stable/lib/ruby-debug/commands/breakpoints.rb:
|
402
|
-
|
403
|
-
2007-01-21 03:34 Kent Sibilev
|
404
|
-
|
405
|
-
* branches/stable/ext/ruby_debug.c,
|
406
|
-
branches/stable/lib/ruby-debug.rb,
|
407
|
-
branches/stable/lib/ruby-debug/commands/breakpoints.rb: assign an
|
408
|
-
id to the breakpoint
|
409
|
-
|
410
|
-
2007-01-21 01:20 Kent Sibilev
|
411
|
-
|
412
|
-
* branches/stable/ext/ruby_debug.c,
|
413
|
-
branches/stable/lib/ruby-debug.rb,
|
414
|
-
branches/stable/lib/ruby-debug/interface.rb,
|
415
|
-
branches/stable/lib/ruby-debug/processor.rb: added
|
416
|
-
post_mortem_method wrap method
|
417
|
-
|
418
|
-
2006-12-21 20:16 Kent Sibilev
|
419
|
-
|
420
|
-
* branches/stable/CHANGES, branches/stable/bin/rdebug,
|
421
|
-
branches/stable/lib/ruby-debug/commands/control.rb,
|
422
|
-
branches/stable/lib/ruby-debug/commands/frame.rb: added 'restart'
|
423
|
-
command
|
424
|
-
|
425
|
-
2006-12-21 14:12 Kent Sibilev
|
426
|
-
|
427
|
-
* branches/stable/lib/ruby-debug/command.rb,
|
428
|
-
branches/stable/lib/ruby-debug/commands/control.rb,
|
429
|
-
branches/stable/lib/ruby-debug/commands/stepping.rb,
|
430
|
-
branches/stable/lib/ruby-debug/commands/threads.rb,
|
431
|
-
branches/stable/lib/ruby-debug/processor.rb: made 'exit' an alias
|
432
|
-
to 'quit'
|
433
|
-
fixed the interoperability problem with rspec
|
434
|
-
|
435
|
-
2006-12-21 13:43 Kent Sibilev
|
436
|
-
|
437
|
-
* branches/stable/ext/ruby_debug.c,
|
438
|
-
branches/stable/ext/win32/ruby_debug.so,
|
439
|
-
branches/stable/lib/ruby-debug/commands/trace.rb: fixed trace
|
440
|
-
command in post-mortem mode
|
441
|
-
|
442
|
-
2006-12-21 01:59 Kent Sibilev
|
443
|
-
|
444
|
-
* branches/stable/lib/ruby-debug/commands/irb.rb: initialize only
|
445
|
-
once
|
446
|
-
|
447
|
-
2006-12-21 01:08 Kent Sibilev
|
448
|
-
|
449
|
-
* branches/stable/ext/ruby_debug.c,
|
450
|
-
branches/stable/ext/win32/ruby_debug.so,
|
451
|
-
branches/stable/lib/ruby-debug/commands/irb.rb: fixes irb help
|
452
|
-
command
|
453
|
-
|
454
|
-
2006-12-20 21:19 Kent Sibilev
|
455
|
-
|
456
|
-
* branches/stable/ext/ruby_debug.c,
|
457
|
-
branches/stable/lib/ruby-debug.rb: check that debugger has been
|
458
|
-
started
|
459
|
-
|
460
|
-
2006-12-20 20:08 Kent Sibilev
|
461
|
-
|
462
|
-
* branches/stable/bin/rdebug, branches/stable/lib/ruby-debug.rb:
|
463
|
-
added post-mortem option to rdebug
|
464
|
-
|
465
|
-
2006-12-20 19:38 Kent Sibilev
|
466
|
-
|
467
|
-
* branches/stable/ext/ruby_debug.c,
|
468
|
-
branches/stable/lib/ruby-debug.rb,
|
469
|
-
branches/stable/lib/ruby-debug/command.rb,
|
470
|
-
branches/stable/lib/ruby-debug/commands/control.rb,
|
471
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
472
|
-
branches/stable/lib/ruby-debug/commands/irb.rb,
|
473
|
-
branches/stable/lib/ruby-debug/commands/stepping.rb,
|
474
|
-
branches/stable/lib/ruby-debug/commands/threads.rb,
|
475
|
-
branches/stable/lib/ruby-debug/commands/tmate.rb,
|
476
|
-
branches/stable/lib/ruby-debug/processor.rb: initial support for
|
477
|
-
post-mortem debugging
|
478
|
-
|
479
|
-
2006-12-19 06:13 Kent Sibilev
|
480
|
-
|
481
|
-
* branches/stable/lib/ruby-debug/commands/stepping.rb: removed
|
482
|
-
'run' alias
|
483
|
-
|
484
|
-
2006-12-18 08:34 Kent Sibilev
|
485
|
-
|
486
|
-
* branches/stable/ext/ruby_debug.c,
|
487
|
-
branches/stable/lib/ruby-debug.rb,
|
488
|
-
branches/stable/lib/ruby-debug/commands/irb.rb,
|
489
|
-
branches/stable/lib/ruby-debug/commands/list.rb: added irb
|
490
|
-
command
|
491
|
-
fixed source_for method
|
492
|
-
|
493
|
-
2006-12-02 19:15 Kent Sibilev
|
494
|
-
|
495
|
-
* branches/stable/CHANGES, branches/stable/lib/ruby-debug.rb,
|
496
|
-
branches/stable/lib/ruby-debug/commands/list.rb: added reload
|
497
|
-
command
|
498
|
-
|
499
|
-
2006-12-02 18:32 Kent Sibilev
|
500
|
-
|
501
|
-
* branches/stable/lib/ruby-debug/command.rb,
|
502
|
-
branches/stable/lib/ruby-debug/processor.rb: fixed #6518 and
|
503
|
-
#6545
|
504
|
-
|
505
|
-
2006-12-01 06:47 Kent Sibilev
|
506
|
-
|
507
|
-
* branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
|
508
|
-
branches/stable/lib/ruby-debug.rb:
|
509
|
-
|
510
|
-
2006-11-21 23:29 Kent Sibilev
|
511
|
-
|
512
|
-
* branches/stable/lib/ruby-debug/commands/eval.rb: ensure that
|
513
|
-
on/off is the last on the line
|
514
|
-
|
515
|
-
2006-11-16 00:04 Kent Sibilev
|
516
|
-
|
517
|
-
* branches/stable/lib/ruby-debug.rb: fixed debug_method for
|
518
|
-
assignment methods
|
519
|
-
|
520
|
-
2006-11-16 00:01 Kent Sibilev
|
521
|
-
|
522
|
-
* branches/stable: added the new branch for the stable version
|
523
|
-
|
524
|
-
2006-10-15 22:43 Kent Sibilev
|
525
|
-
|
526
|
-
* branches/ver_0_4_4: branching a stable version
|
527
|
-
|
528
|
-
2006-10-15 22:26 Kent Sibilev
|
529
|
-
|
530
|
-
* trunk/ext/win32/ruby_debug.so, ruby-debug.rb: remove unused
|
531
|
-
require
|
532
|
-
uploaded new windows binary
|
533
|
-
|
534
|
-
2006-10-15 19:02 Kent Sibilev
|
535
|
-
|
536
|
-
* ruby-debug/commands/display.rb: remove unused constructor
|
537
|
-
|
538
|
-
2006-10-15 16:54 Kent Sibilev
|
539
|
-
|
540
|
-
* trunk/ext/ruby_debug.c, ruby-debug.rb,
|
541
|
-
ruby-debug/commands/threads.rb: new logic of context
|
542
|
-
suspend/resume
|
543
|
-
|
544
|
-
2006-10-15 07:36 Kent Sibilev
|
545
|
-
|
546
|
-
* trunk/bin/rdebug, trunk/ext/ruby_debug.c, ruby-debug.rb,
|
547
|
-
ruby-debug/lock.rb: fixed locking of debugger threads
|
548
|
-
|
549
|
-
2006-10-09 22:01 Kent Sibilev
|
550
|
-
|
551
|
-
* trunk/ext/ruby_debug.c, trunk/ext/win32/ruby_debug.so,
|
552
|
-
ruby-debug/interface.rb: fixes for windows version
|
553
|
-
|
554
|
-
2006-10-09 19:06 Kent Sibilev
|
555
|
-
|
556
|
-
* trunk/CHANGES, trunk/ext/ruby_debug.c, ruby-debug.rb,
|
557
|
-
ruby-debug/interface.rb: added Debugger.skip and
|
558
|
-
Debugger.debug_at_exit methods
|
559
|
-
|
560
|
-
2006-10-09 16:44 Kent Sibilev
|
561
|
-
|
562
|
-
* trunk, trunk/.gdb_history, trunk/CHANGES, trunk/LICENSE,
|
563
|
-
trunk/README, trunk/Rakefile, trunk/bin, trunk/bin/rdebug,
|
564
|
-
trunk/doc, trunk/ext, trunk/ext/.gdb_history, trunk/ext/Makefile,
|
565
|
-
trunk/ext/extconf.rb, trunk/ext/ruby_debug.bundle,
|
566
|
-
trunk/ext/ruby_debug.c, trunk/ext/win32,
|
567
|
-
trunk/ext/win32/ruby_debug.so, ., ruby-debug, ruby-debug.rb,
|
568
|
-
ruby-debug/command.rb, ruby-debug/commands,
|
569
|
-
ruby-debug/commands/breakpoints.rb,
|
570
|
-
ruby-debug/commands/catchpoint.rb,
|
571
|
-
ruby-debug/commands/control.rb, ruby-debug/commands/display.rb,
|
572
|
-
ruby-debug/commands/eval.rb, ruby-debug/commands/frame.rb,
|
573
|
-
ruby-debug/commands/help.rb, ruby-debug/commands/list.rb,
|
574
|
-
ruby-debug/commands/method.rb, ruby-debug/commands/script.rb,
|
575
|
-
ruby-debug/commands/stepping.rb, ruby-debug/commands/threads.rb,
|
576
|
-
ruby-debug/commands/tmate.rb, ruby-debug/commands/trace.rb,
|
577
|
-
ruby-debug/commands/variables.rb, ruby-debug/interface.rb,
|
578
|
-
ruby-debug/lock.rb, ruby-debug/processor.rb: initial import
|
579
|
-
|