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/lib/ruby-debug-base.rb
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
require 'ruby_debug.so'
|
2
|
-
|
3
|
-
|
4
|
-
SCRIPT_TIMESTAMPS__ = {} unless defined? SCRIPT_TIMESTAMPS__
|
2
|
+
require 'rubygems'
|
3
|
+
require 'linecache'
|
5
4
|
|
6
5
|
module Debugger
|
6
|
+
|
7
|
+
# Default options to Debugger.start
|
8
|
+
DEFAULT_START_SETTINGS = {
|
9
|
+
:init => true, # Set $0 and save ARGV?
|
10
|
+
:post_mortem => false # post-mortem debugging on uncaught exception?
|
11
|
+
} unless defined?(DEFAULT_START_SETTINGS)
|
12
|
+
|
7
13
|
class Context
|
8
14
|
def interrupt
|
9
15
|
self.stop_next = 1
|
@@ -45,6 +51,10 @@ module Debugger
|
|
45
51
|
def at_line(file, line)
|
46
52
|
handler.at_line(self, file, line)
|
47
53
|
end
|
54
|
+
|
55
|
+
def at_return(file, line)
|
56
|
+
handler.at_return(self, file, line)
|
57
|
+
end
|
48
58
|
end
|
49
59
|
|
50
60
|
@reload_source_on_change = false
|
@@ -55,6 +65,9 @@ module Debugger
|
|
55
65
|
|
56
66
|
# if <tt>true</tt>, checks the modification time of source files and reloads if it was modified
|
57
67
|
attr_accessor :reload_source_on_change
|
68
|
+
|
69
|
+
attr_accessor :last_exception
|
70
|
+
Debugger.last_exception = nil
|
58
71
|
|
59
72
|
#
|
60
73
|
# Interrupts the current thread
|
@@ -74,42 +87,16 @@ module Debugger
|
|
74
87
|
context
|
75
88
|
end
|
76
89
|
|
77
|
-
def source_for(file) # :nodoc:
|
78
|
-
finder = lambda do
|
79
|
-
if File.exists?(file)
|
80
|
-
if SCRIPT_LINES__[file].nil? || SCRIPT_LINES__[file] == true
|
81
|
-
SCRIPT_LINES__[file] = File.readlines(file)
|
82
|
-
end
|
83
|
-
|
84
|
-
change_time = File.stat(file).mtime
|
85
|
-
SCRIPT_TIMESTAMPS__[file] ||= change_time
|
86
|
-
if @reload_source_on_change && SCRIPT_TIMESTAMPS__[file] < change_time
|
87
|
-
SCRIPT_LINES__[file] = File.readlines(file)
|
88
|
-
end
|
89
|
-
|
90
|
-
SCRIPT_LINES__[file]
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
|
-
Dir.chdir(File.dirname($0)){finder.call} || finder.call ||
|
95
|
-
(SCRIPT_LINES__[file] == true ? nil : SCRIPT_LINES__[file])
|
96
|
-
end
|
97
|
-
|
98
90
|
def source_reload
|
99
|
-
|
100
|
-
next unless File.exists?(file)
|
101
|
-
SCRIPT_LINES__[file] = nil
|
102
|
-
end
|
91
|
+
LineCache::clear_file_cache(true)
|
103
92
|
end
|
104
93
|
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
end
|
112
|
-
return "\n"
|
94
|
+
# Get line +line_number+ from file named +filename+. Return "\n"
|
95
|
+
# there was a problem. Leaking blanks are stripped off.
|
96
|
+
def line_at(filename, line_number) # :nodoc:
|
97
|
+
line = LineCache::getline(filename, line_number, @reload_on_change)
|
98
|
+
return "\n" unless line
|
99
|
+
return "#{line.gsub(/^\s+/, '').chomp}\n"
|
113
100
|
end
|
114
101
|
|
115
102
|
#
|
@@ -155,16 +142,18 @@ module Debugger
|
|
155
142
|
end
|
156
143
|
|
157
144
|
def handle_post_mortem(exp)
|
158
|
-
return if exp.__debug_context
|
145
|
+
return if !exp || !exp.__debug_context ||
|
146
|
+
exp.__debug_context.stack_size == 0
|
159
147
|
Debugger.suspend
|
160
148
|
orig_tracing = Debugger.tracing, Debugger.current_context.tracing
|
161
149
|
Debugger.tracing = Debugger.current_context.tracing = false
|
150
|
+
Debugger.last_exception = exp
|
162
151
|
handler.at_line(exp.__debug_context, exp.__debug_file, exp.__debug_line)
|
163
152
|
ensure
|
164
153
|
Debugger.tracing, Debugger.current_context.tracing = orig_tracing
|
165
154
|
Debugger.resume
|
166
155
|
end
|
167
|
-
private :handle_post_mortem
|
156
|
+
# private :handle_post_mortem
|
168
157
|
end
|
169
158
|
|
170
159
|
class DebugThread # :nodoc:
|
@@ -186,6 +175,46 @@ module Kernel
|
|
186
175
|
end
|
187
176
|
alias breakpoint debugger unless respond_to?(:breakpoint)
|
188
177
|
|
178
|
+
# Debugger.start(options) -> bool
|
179
|
+
# Debugger.start(options) { ... } -> obj
|
180
|
+
#
|
181
|
+
# This method is internal and activates the debugger. Use
|
182
|
+
# Debugger.start (from ruby-debug-base.rb) instead.
|
183
|
+
#
|
184
|
+
# If it's called without a block it returns +true+, unless debugger
|
185
|
+
# was already started. If a block is given, it starts debugger and
|
186
|
+
# yields to block. When the block is finished executing it stops
|
187
|
+
# the debugger with Debugger.stop method.
|
188
|
+
#
|
189
|
+
# <i>Note that if you want to stop debugger, you must call
|
190
|
+
# Debugger.stop as many time as you called Debugger.start
|
191
|
+
# method.</i>
|
192
|
+
#
|
193
|
+
# +options+ is a hash used to set various debugging options.
|
194
|
+
# Set :init true if you want to save ARGV and some variables which
|
195
|
+
# make a debugger restart possible. Only the first time :init is set true
|
196
|
+
# will values get set. Since ARGV is saved, you should make sure
|
197
|
+
# it hasn't been changed before the (first) call.
|
198
|
+
# Set :post_mortem true if you want to enter post-mortem debugging
|
199
|
+
# on an uncaught exception. Once post-mortem debugging is set, it can't
|
200
|
+
# be unset.
|
201
|
+
def start(options={}, &block)
|
202
|
+
options = Debugger::DEFAULT_START_SETTINGS.merge(options)
|
203
|
+
if options[:init]
|
204
|
+
Debugger.const_set('ARGV', ARGV.clone) unless
|
205
|
+
defined? Debugger::ARGV
|
206
|
+
Debugger.const_set('PROG_SCRIPT', $0) unless
|
207
|
+
defined? Debugger::PROG_SCRIPT
|
208
|
+
Debugger.const_set('INITIAL_DIR', Dir.pwd) unless
|
209
|
+
defined? Debugger::INITIAL_DIR
|
210
|
+
end
|
211
|
+
retval = Debugger.started? ? nil : Debugger.start_(&block)
|
212
|
+
if options[:post_mortem]
|
213
|
+
post_mortem
|
214
|
+
end
|
215
|
+
return retval
|
216
|
+
end
|
217
|
+
|
189
218
|
#
|
190
219
|
# Returns a binding of n-th call frame
|
191
220
|
#
|
@@ -1,75 +1,73 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
require
|
2
|
+
require 'test/unit'
|
3
3
|
|
4
|
-
|
5
|
-
$: << File.expand_path(File.dirname(__FILE__)) + '/../lib'
|
6
|
-
require "ruby_debug"
|
7
|
-
|
8
|
-
# Test of C extension ruby_debug.so
|
4
|
+
# Some tests of Debugger module in C extension ruby_debug
|
9
5
|
class TestRubyDebug < Test::Unit::TestCase
|
10
|
-
|
6
|
+
$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'ext')
|
7
|
+
require 'ruby_debug'
|
8
|
+
$:.shift
|
11
9
|
|
12
10
|
# test current_context
|
13
11
|
def test_current_context
|
14
12
|
assert_equal(false, Debugger.started?,
|
15
|
-
|
16
|
-
Debugger.
|
13
|
+
'debugger should not initially be started.')
|
14
|
+
Debugger.start_
|
17
15
|
assert(Debugger.started?,
|
18
|
-
|
19
|
-
assert_equal(
|
16
|
+
'debugger should now be started.')
|
17
|
+
assert_equal(__LINE__, Debugger.current_context.frame_line)
|
20
18
|
assert_equal(nil, Debugger.current_context.frame_args_info,
|
21
|
-
|
19
|
+
'no frame args info.')
|
22
20
|
assert_equal(Debugger.current_context.frame_file,
|
23
21
|
Debugger.current_context.frame_file(0))
|
24
|
-
assert_equal(
|
22
|
+
assert_equal(File.basename(__FILE__),
|
25
23
|
File.basename(Debugger.current_context.frame_file))
|
26
24
|
assert_raises(ArgumentError) {Debugger.current_context.frame_file(1, 2)}
|
27
25
|
assert_raises(ArgumentError) {Debugger.current_context.frame_file(10)}
|
28
26
|
assert_equal(1, Debugger.current_context.stack_size)
|
29
27
|
assert_equal(TestRubyDebug, Debugger.current_context.frame_class)
|
30
|
-
assert_equal(false, Debugger.current_context.dead?,
|
28
|
+
assert_equal(false, Debugger.current_context.dead?, 'Not dead yet!')
|
31
29
|
Debugger.stop
|
32
30
|
assert_equal(false, Debugger.started?,
|
33
|
-
|
31
|
+
'Debugger should no longer be started.')
|
34
32
|
end
|
35
33
|
|
36
34
|
# Test initial variables and setting/getting state.
|
37
35
|
def test_debugger_base
|
38
36
|
assert_equal(false, Debugger.started?,
|
39
|
-
|
40
|
-
Debugger.
|
37
|
+
'Debugger should not initially be started.')
|
38
|
+
Debugger.start_
|
41
39
|
assert(Debugger.started?,
|
42
|
-
|
40
|
+
'Debugger should now be started.')
|
43
41
|
assert_equal(false, Debugger.debug,
|
44
|
-
|
42
|
+
'Debug variable should not be set.')
|
45
43
|
assert_equal(false, Debugger.post_mortem?,
|
46
|
-
|
44
|
+
'Post mortem debugging should not be set.')
|
47
45
|
a = Debugger.contexts
|
48
46
|
assert_equal(1, a.size,
|
49
|
-
|
47
|
+
'There should only be one context.')
|
50
48
|
assert_equal(Array, a.class,
|
51
|
-
|
49
|
+
'Context should be an array.')
|
52
50
|
Debugger.stop
|
53
51
|
assert_equal(false, Debugger.started?,
|
54
|
-
|
52
|
+
'debugger should no longer be started.')
|
55
53
|
end
|
56
54
|
|
57
55
|
# Test breakpoint handling
|
58
56
|
def test_breakpoints
|
59
|
-
Debugger.
|
57
|
+
Debugger.start_
|
60
58
|
assert_equal(0, Debugger.breakpoints.size,
|
61
|
-
|
59
|
+
'There should not be any breakpoints set.')
|
62
60
|
brk = Debugger.add_breakpoint(__FILE__, 1)
|
63
61
|
assert_equal(Debugger::Breakpoint, brk.class,
|
64
|
-
|
62
|
+
'Breakpoint should have been set and returned.')
|
65
63
|
assert_equal(1, Debugger.breakpoints.size,
|
66
|
-
|
64
|
+
'There should now be one breakpoint set.')
|
67
65
|
Debugger.remove_breakpoint(0)
|
68
66
|
assert_equal(1, Debugger.breakpoints.size,
|
69
|
-
|
67
|
+
'There should still be one breakpoint set.')
|
70
68
|
Debugger.remove_breakpoint(1)
|
71
69
|
assert_equal(0, Debugger.breakpoints.size,
|
72
|
-
|
70
|
+
'There should no longer be any breakpoints set.')
|
73
71
|
Debugger.stop
|
74
72
|
end
|
75
73
|
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'test/unit'
|
4
|
+
|
5
|
+
# Test binding_n command
|
6
|
+
class TestBinding < Test::Unit::TestCase
|
7
|
+
|
8
|
+
SRC_DIR = File.expand_path(File.dirname(__FILE__)) unless
|
9
|
+
defined?(SRC_DIR)
|
10
|
+
%w(ext lib).each do |dir|
|
11
|
+
$:.unshift File.join(SRC_DIR, '..', '..', dir)
|
12
|
+
end
|
13
|
+
require File.join(SRC_DIR, '..', '..', 'lib', 'ruby-debug-base')
|
14
|
+
$:.shift; $:.shift
|
15
|
+
|
16
|
+
def test_basic
|
17
|
+
def inside_fn
|
18
|
+
s = 'some other string'
|
19
|
+
b2 = Kernel::binding_n(1)
|
20
|
+
y2 = eval('s', b2)
|
21
|
+
assert_equal('this is a test', y2)
|
22
|
+
end
|
23
|
+
s = 'this is a test'
|
24
|
+
Debugger.start
|
25
|
+
b = Kernel::binding_n(0)
|
26
|
+
y = eval('s', b)
|
27
|
+
assert_equal(y, s)
|
28
|
+
inside_fn
|
29
|
+
Debugger.stop
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'test/unit'
|
3
|
+
|
4
|
+
# Test catchpoint in C ruby_debug extension.
|
5
|
+
|
6
|
+
class TestRubyDebugCatchpoint < Test::Unit::TestCase
|
7
|
+
|
8
|
+
$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'ext')
|
9
|
+
require 'ruby_debug'
|
10
|
+
$:.shift
|
11
|
+
|
12
|
+
# test current_context
|
13
|
+
def test_catchpoints
|
14
|
+
assert_raise(RuntimeError) {Debugger.catchpoints}
|
15
|
+
Debugger.start_
|
16
|
+
assert_equal({}, Debugger.catchpoints)
|
17
|
+
Debugger.add_catchpoint('ZeroDivisionError')
|
18
|
+
assert_equal({'ZeroDivisionError' => 0}, Debugger.catchpoints)
|
19
|
+
Debugger.add_catchpoint('RuntimeError')
|
20
|
+
assert_equal(['RuntimeError', 'ZeroDivisionError'],
|
21
|
+
Debugger.catchpoints.keys.sort)
|
22
|
+
Debugger.stop
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ruby-debug-base
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.10.
|
7
|
-
date:
|
6
|
+
version: 0.10.1
|
7
|
+
date: 2008-04-10 00:00:00 -04:00
|
8
8
|
summary: Fast Ruby debugger - core component
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -12,7 +12,7 @@ email: ksibilev@yahoo.com
|
|
12
12
|
homepage: http://rubyforge.org/projects/ruby-debug/
|
13
13
|
rubyforge_project: ruby-debug
|
14
14
|
description: ruby-debug is a fast implementation of the standard Ruby debugger debug.rb. It is implemented by utilizing a new Ruby C API hook. The core component provides support that front-ends can build on. It provides breakpoint handling, bindings for stack frames among other things.
|
15
|
-
autorequire:
|
15
|
+
autorequire:
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|
18
18
|
has_rdoc: true
|
@@ -34,14 +34,19 @@ files:
|
|
34
34
|
- LICENSE
|
35
35
|
- README
|
36
36
|
- Rakefile
|
37
|
+
- ext/breakpoint.c
|
38
|
+
- ext/extconf.rb
|
39
|
+
- ext/ruby_debug.c
|
40
|
+
- ext/ruby_debug.h
|
37
41
|
- lib/ruby-debug-base.rb
|
38
42
|
- lib/ChangeLog
|
39
|
-
-
|
40
|
-
-
|
41
|
-
-
|
42
|
-
- test/test-ruby-debug-base.rb
|
43
|
+
- test/base/base.rb
|
44
|
+
- test/base/binding.rb
|
45
|
+
- test/base/catchpoint.rb
|
43
46
|
test_files:
|
44
|
-
- test/
|
47
|
+
- test/base/base.rb
|
48
|
+
- test/base/binding.rb
|
49
|
+
- test/base/catchpoint.rb
|
45
50
|
rdoc_options: []
|
46
51
|
|
47
52
|
extra_rdoc_files:
|
@@ -53,5 +58,13 @@ extensions:
|
|
53
58
|
- ext/extconf.rb
|
54
59
|
requirements: []
|
55
60
|
|
56
|
-
dependencies:
|
57
|
-
|
61
|
+
dependencies:
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: linecache
|
64
|
+
version_requirement:
|
65
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: "0.3"
|
70
|
+
version:
|
data/ext/ChangeLog
DELETED
@@ -1,793 +0,0 @@
|
|
1
|
-
2007-12-25 02:51 Rocky Bernstein
|
2
|
-
|
3
|
-
* trunk/AUTHORS, trunk/ChangeLog, trunk/README, ChangeLog,
|
4
|
-
trunk/lib/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, ChangeLog, trunk/lib/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, ChangeLog, trunk/lib/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-17 05:43 Rocky Bernstein
|
35
|
-
|
36
|
-
* ruby_debug.c: Doc typo.
|
37
|
-
|
38
|
-
2007-12-16 21:31 Rocky Bernstein
|
39
|
-
|
40
|
-
* trunk, trunk/ChangeLog, trunk/cli/ruby-debug/commands/info.rb,
|
41
|
-
trunk/doc, trunk/emacs, ., trunk/lib/ruby-debug-base.rb,
|
42
|
-
trunk/test/helper.rb, trunk/test/info-var-bug.rb,
|
43
|
-
trunk/test/info-var.cmd, trunk/test/info-var.right,
|
44
|
-
trunk/test/runall, trunk/test/test-breakpoints.rb,
|
45
|
-
trunk/test/test-display.rb, trunk/test/test-help.rb,
|
46
|
-
trunk/test/test-info-var.rb: Add "info variables test".
|
47
|
-
|
48
|
-
ruby-debug-base.rb: Not sure how test(?M, file) ever worked
|
49
|
-
before but change
|
50
|
-
to use File.stat(file).mtime
|
51
|
-
info.rb: ignore debugger variables which are sometimes set.
|
52
|
-
|
53
|
-
2007-12-14 11:56 Rocky Bernstein
|
54
|
-
|
55
|
-
* trunk/configure.ac, trunk/doc/ruby-debug.texi, ruby_debug.c:
|
56
|
-
Change version to 0.10.0
|
57
|
-
|
58
|
-
2007-12-14 03:22 Rocky Bernstein
|
59
|
-
|
60
|
-
* trunk/CHANGES, trunk/configure.ac, trunk/doc/rdebug.1,
|
61
|
-
trunk/doc/ruby-debug.texi, ruby_debug.c: ruby-debug.c,
|
62
|
-
configure.ac, ruby-debug.texi: Up version to 0.9.9
|
63
|
-
rdebug.1: document --no-quit
|
64
|
-
ruby-debu.texi: More work on Emacs section.
|
65
|
-
|
66
|
-
2007-12-02 21:47 Rocky Bernstein
|
67
|
-
|
68
|
-
* trunk/cli/ruby-debug/commands/enable.rb,
|
69
|
-
trunk/cli/ruby-debug/commands/info.rb,
|
70
|
-
trunk/emacs/rdebug-test.el, trunk/emacs/rdebug.el, ruby_debug.c,
|
71
|
-
trunk/test/breakpoints.cmd, trunk/test/breakpoints.right: Allow
|
72
|
-
enabling/disabling breakpoints. Add unit test of
|
73
|
-
enabling/disabling and
|
74
|
-
emacs regexp checking. Adjust rdebug.el accordingly.
|
75
|
-
|
76
|
-
2007-11-24 11:01 Rocky Bernstein
|
77
|
-
|
78
|
-
* ruby_debug.c: Some documentation typos.
|
79
|
-
|
80
|
-
2007-11-24 04:07 Rocky Bernstein
|
81
|
-
|
82
|
-
* ruby_debug.c: Ooops, forgot to do frame_locals and update the
|
83
|
-
rb_define_method
|
84
|
-
argument count in a couple of places.
|
85
|
-
|
86
|
-
2007-11-24 03:00 Rocky Bernstein
|
87
|
-
|
88
|
-
* trunk/Rakefile, trunk/doc/Makefile.am, trunk/doc/ruby-debug.texi,
|
89
|
-
ruby_debug.c, trunk/test/test-ruby-debug.rb: ruby_debug.c:
|
90
|
-
context.frame things now allow the frame postion number to be
|
91
|
-
optional. We'll assume 0 (the top) as the default.
|
92
|
-
|
93
|
-
test-ruby-debug.rb: add tests of the above an of these routines
|
94
|
-
in general. Make this
|
95
|
-
be able to run outside of rake.
|
96
|
-
|
97
|
-
Rakefile: Removed emacs/elisp since that's now part of a
|
98
|
-
different package.
|
99
|
-
|
100
|
-
doc/Makefile.am: Make manual page
|
101
|
-
|
102
|
-
doc/ruby-debug.texi: try to clarify blocks/frames. Redo incorrect
|
103
|
-
frame passages as a result of vestiges of the bashdb manual.
|
104
|
-
|
105
|
-
2007-11-15 19:03 Rocky Bernstein
|
106
|
-
|
107
|
-
* ruby_debug.c: Fix misspelling of declared.
|
108
|
-
|
109
|
-
2007-10-12 01:45 Rocky Bernstein
|
110
|
-
|
111
|
-
* ruby_debug.c, trunk/test/breakpoints.cmd: Bug in setting a
|
112
|
-
breakpoint at a main method (e.g. main.gcd). Inside
|
113
|
-
breakpoint_by method we seem to get nil for the class name. The
|
114
|
-
fix
|
115
|
-
here is to change that to the string "main". Better might be to
|
116
|
-
have
|
117
|
-
that class name not be nil.
|
118
|
-
|
119
|
-
test/breakpoints.cmd has a sequence of commands that when run on
|
120
|
-
gcd.rb will show the problem.
|
121
|
-
|
122
|
-
2007-08-05 22:10 Rocky Bernstein
|
123
|
-
|
124
|
-
* ruby_debug.c: Typo.
|
125
|
-
|
126
|
-
2007-08-04 13:36 Rocky Bernstein
|
127
|
-
|
128
|
-
* trunk/cli/ruby-debug/command.rb,
|
129
|
-
trunk/cli/ruby-debug/commands/display.rb,
|
130
|
-
trunk/cli/ruby-debug/commands/eval.rb,
|
131
|
-
trunk/cli/ruby-debug/commands/settings.rb,
|
132
|
-
trunk/cli/ruby-debug/commands/show.rb,
|
133
|
-
trunk/cli/ruby-debug/commands/stepping.rb,
|
134
|
-
trunk/cli/ruby-debug/processor.rb, trunk/doc/ruby-debug.texi,
|
135
|
-
ruby_debug.c: settings, processor, show: display expressions
|
136
|
-
should be shown when line tracing. To this end change always_run
|
137
|
-
from
|
138
|
-
a boolean on integer "level" number.
|
139
|
-
|
140
|
-
eval.rb pc -> putl
|
141
|
-
|
142
|
-
ruby_debug.c: replace a non-word in a comment its equivalent
|
143
|
-
ruby-debug.texi: document recent changes pc->putl, display
|
144
|
-
expresions appear when line tracing
|
145
|
-
|
146
|
-
2007-07-21 13:54 Rocky Bernstein
|
147
|
-
|
148
|
-
* trunk/cli/ruby-debug/command.rb, ruby_debug.c, trunk/runner.sh:
|
149
|
-
Changes to make ruby-debug work for 1.9 (at least minimally).
|
150
|
-
ruby_debug.c: parameter saving seems to have a bug in it. Don't
|
151
|
-
turn on by default.
|
152
|
-
runner.sh: set which ruby using environment variable RUBY.
|
153
|
-
|
154
|
-
2007-07-19 03:08 Rocky Bernstein
|
155
|
-
|
156
|
-
* trunk/cli/ruby-debug/command.rb,
|
157
|
-
trunk/cli/ruby-debug/commands/eval.rb,
|
158
|
-
trunk/cli/ruby-debug/commands/frame.rb,
|
159
|
-
trunk/cli/ruby-debug/commands/settings.rb,
|
160
|
-
trunk/cli/ruby-debug/commands/show.rb, ruby_debug.c: Add "set"
|
161
|
-
option to save scalar values and class names on each call.
|
162
|
-
Add pc (print columnized) and ps (print sorted columnized).
|
163
|
-
|
164
|
-
2007-06-21 10:39 Rocky Bernstein
|
165
|
-
|
166
|
-
* trunk/Rakefile, trunk/cli/ruby-debug/command.rb,
|
167
|
-
trunk/cli/ruby-debug/commands/script.rb,
|
168
|
-
trunk/doc/ruby-debug.texi, ruby_debug.c,
|
169
|
-
trunk/test/test-ruby-debug.rb: test-ruby-debug.rb, Rakefile:
|
170
|
-
revise so "rake test" works with recent reorganization.
|
171
|
-
ruby-debug.c: remove unused variable declaration (and compile
|
172
|
-
warning)
|
173
|
-
command.rb: remove a warning given when "$DEBUG" or warnings are
|
174
|
-
set
|
175
|
-
script.rb: rename "script" to "source" to be more in line with
|
176
|
-
gdb
|
177
|
-
ruby-debug.texi: document "source" command, .rdebugrc and how
|
178
|
-
command files
|
179
|
-
work.
|
180
|
-
|
181
|
-
2007-06-05 16:36 Kent Sibilev
|
182
|
-
|
183
|
-
* trunk/bin/rdebug, trunk/cli/ruby-debug/command.rb,
|
184
|
-
trunk/cli/ruby-debug/commands/breakpoints.rb,
|
185
|
-
trunk/cli/ruby-debug/commands/control.rb,
|
186
|
-
trunk/cli/ruby-debug/commands/display.rb,
|
187
|
-
trunk/cli/ruby-debug/commands/eval.rb,
|
188
|
-
trunk/cli/ruby-debug/commands/frame.rb,
|
189
|
-
trunk/cli/ruby-debug/commands/help.rb,
|
190
|
-
trunk/cli/ruby-debug/commands/info.rb,
|
191
|
-
trunk/cli/ruby-debug/commands/method.rb,
|
192
|
-
trunk/cli/ruby-debug/commands/script.rb,
|
193
|
-
trunk/cli/ruby-debug/commands/settings.rb,
|
194
|
-
trunk/cli/ruby-debug/commands/show.rb,
|
195
|
-
trunk/cli/ruby-debug/commands/stepping.rb,
|
196
|
-
trunk/cli/ruby-debug/commands/threads.rb,
|
197
|
-
trunk/cli/ruby-debug/commands/variables.rb,
|
198
|
-
trunk/cli/ruby-debug/interface.rb,
|
199
|
-
trunk/cli/ruby-debug/processor.rb, ruby_debug.c,
|
200
|
-
trunk/lib/ruby-debug-base.rb: code reorganization.
|
201
|
-
reverted 'run' command.
|
202
|
-
|
203
|
-
2007-06-05 03:48 Kent Sibilev
|
204
|
-
|
205
|
-
* trunk/cli/ruby-debug/command.rb,
|
206
|
-
trunk/cli/ruby-debug/commands/control.rb, ruby_debug.c: tabs to
|
207
|
-
spaces
|
208
|
-
changed copy.args to play nicely with GC
|
209
|
-
|
210
|
-
2007-06-03 02:44 Rocky Bernstein
|
211
|
-
|
212
|
-
* trunk/bin/rdebug, trunk/cli/ruby-debug/commands/control.rb,
|
213
|
-
trunk/cli/ruby-debug/processor.rb, ruby_debug.c: Get warm restart
|
214
|
-
working for one thread - it might even work on OSX ;-)
|
215
|
-
|
216
|
-
2007-05-25 07:48 Rocky Bernstein
|
217
|
-
|
218
|
-
* trunk/cli/ruby-debug/command.rb, ruby_debug.c: Have to back off
|
219
|
-
from showing parameter values since we are showing the
|
220
|
-
dynamic value. So instead we show the paramater class.
|
221
|
-
|
222
|
-
It should be possible to show the value however if
|
223
|
-
--keep-frame-bindings is
|
224
|
-
true.
|
225
|
-
|
226
|
-
2007-05-24 13:03 Rocky Bernstein
|
227
|
-
|
228
|
-
* branches/rocky, branches/rocky/Rakefile,
|
229
|
-
branches/rocky/cli/ruby-debug/command.rb,
|
230
|
-
branches/rocky/cli/ruby-debug/commands/frame.rb,
|
231
|
-
branches/rocky/cli/ruby-debug/commands/help.rb,
|
232
|
-
branches/rocky/cli/ruby-debug/commands/method.rb,
|
233
|
-
branches/rocky/cli/ruby-debug/commands/settings.rb,
|
234
|
-
branches/rocky/cli/ruby-debug/commands/threads.rb,
|
235
|
-
branches/rocky/cli/ruby-debug/commands/variables.rb,
|
236
|
-
branches/rocky/ext/ruby_debug.c, trunk/Rakefile,
|
237
|
-
trunk/cli/ruby-debug/command.rb,
|
238
|
-
trunk/cli/ruby-debug/commands/frame.rb,
|
239
|
-
trunk/cli/ruby-debug/commands/help.rb,
|
240
|
-
trunk/cli/ruby-debug/commands/method.rb,
|
241
|
-
trunk/cli/ruby-debug/commands/settings.rb,
|
242
|
-
trunk/cli/ruby-debug/commands/threads.rb,
|
243
|
-
trunk/cli/ruby-debug/commands/variables.rb, ruby_debug.c: Add
|
244
|
-
sandbox for rocky to work in
|
245
|
-
|
246
|
-
2007-05-17 03:55 Kent Sibilev
|
247
|
-
|
248
|
-
* ruby_debug.c: removed debug message
|
249
|
-
|
250
|
-
2007-05-09 16:56 Kent Sibilev
|
251
|
-
|
252
|
-
* trunk/CHANGES, trunk/bin/rdebug, ruby_debug.c: '-r' option can be
|
253
|
-
used to require additional libraries
|
254
|
-
|
255
|
-
2007-04-27 06:07 Kent Sibilev
|
256
|
-
|
257
|
-
* ruby_debug.c: Ctrl-C exits irb and continutes execution bypassing
|
258
|
-
the debugger prompt
|
259
|
-
|
260
|
-
2007-04-07 23:21 Kent Sibilev
|
261
|
-
|
262
|
-
* ruby_debug.c: removed wrong if node check
|
263
|
-
|
264
|
-
2007-04-04 20:23 Kent Sibilev
|
265
|
-
|
266
|
-
* trunk/CHANGES, ruby_debug.c: added hit conditions to breakpoints
|
267
|
-
|
268
|
-
2007-04-03 18:05 Kent Sibilev
|
269
|
-
|
270
|
-
* ruby_debug.c: Fixed file comparision on Windows platform
|
271
|
-
|
272
|
-
2007-04-03 01:48 Kent Sibilev
|
273
|
-
|
274
|
-
* trunk/CHANGES, trunk/cli/ruby-debug/command.rb,
|
275
|
-
trunk/cli/ruby-debug/commands/settings.rb,
|
276
|
-
trunk/cli/ruby-debug/commands/stepping.rb, ruby_debug.c: Added
|
277
|
-
force parameter to stepping commands
|
278
|
-
|
279
|
-
2007-04-03 01:16 Kent Sibilev
|
280
|
-
|
281
|
-
* trunk/CHANGES, trunk/cli/ruby-debug/commands/stepping.rb,
|
282
|
-
ruby_debug.c: added force option to Context#step_over
|
283
|
-
|
284
|
-
2007-04-02 20:55 Kent Sibilev
|
285
|
-
|
286
|
-
* trunk/CHANGES, trunk/cli/ruby-debug/commands/breakpoints.rb,
|
287
|
-
ruby_debug.c: fixed incorrect stack calculation
|
288
|
-
break help fix
|
289
|
-
|
290
|
-
2007-03-30 08:03 Kent Sibilev
|
291
|
-
|
292
|
-
* ruby_debug.c:
|
293
|
-
|
294
|
-
2007-03-30 07:40 Kent Sibilev
|
295
|
-
|
296
|
-
* ruby_debug.c:
|
297
|
-
|
298
|
-
2007-03-30 07:39 Kent Sibilev
|
299
|
-
|
300
|
-
* ruby_debug.c:
|
301
|
-
|
302
|
-
2007-03-30 07:21 Kent Sibilev
|
303
|
-
|
304
|
-
* trunk/CHANGES, ruby_debug.c: All Ruby's 'eval' and require/load
|
305
|
-
methods create a new frame.
|
306
|
-
|
307
|
-
2007-03-29 02:09 Kent Sibilev
|
308
|
-
|
309
|
-
* trunk/CHANGES, trunk/cli/ruby-debug/command.rb,
|
310
|
-
trunk/cli/ruby-debug/commands/frame.rb,
|
311
|
-
trunk/cli/ruby-debug/commands/settings.rb, ruby_debug.c: Added
|
312
|
-
new Context.frame_class method
|
313
|
-
|
314
|
-
'frame' command will display a class name along with method name
|
315
|
-
|
316
|
-
Added new 'fullpath' setting.
|
317
|
-
|
318
|
-
2007-03-29 00:45 Kent Sibilev
|
319
|
-
|
320
|
-
* trunk/CHANGES, ruby_debug.c: too many internal changes require a
|
321
|
-
new major release
|
322
|
-
|
323
|
-
2007-03-29 00:27 Kent Sibilev
|
324
|
-
|
325
|
-
* ruby_debug.c: remove useless stops when performing 'step_over'
|
326
|
-
operation
|
327
|
-
|
328
|
-
2007-03-28 20:36 Kent Sibilev
|
329
|
-
|
330
|
-
* trunk/CHANGES, trunk/cli/ruby-debug/commands/stepping.rb,
|
331
|
-
ruby_debug.c: Added the possibility to add a temporary
|
332
|
-
context-specific breakpoint.
|
333
|
-
|
334
|
-
Context#breakpoint and Context#set_breakpoint methods are added.
|
335
|
-
|
336
|
-
'cont' command now accepts a numerical parameter which implements
|
337
|
-
'Continue until line' behavior.
|
338
|
-
|
339
|
-
2007-03-27 23:26 Kent Sibilev
|
340
|
-
|
341
|
-
* ruby_debug.c: fixed previous optimization for Proc objects
|
342
|
-
|
343
|
-
2007-03-27 23:22 Kent Sibilev
|
344
|
-
|
345
|
-
* ruby_debug.c: we don't need to create a new frame if there is no
|
346
|
-
block for a c-call
|
347
|
-
|
348
|
-
2007-03-27 23:08 Kent Sibilev
|
349
|
-
|
350
|
-
* trunk/CHANGES, ruby_debug.c: Calling a method with a block will
|
351
|
-
create a new frame. This changes the behavior of 'next' command.
|
352
|
-
So in order to step into a block, 'step' command must be used.
|
353
|
-
That fixes bug #9629.
|
354
|
-
|
355
|
-
2007-03-27 22:50 Kent Sibilev
|
356
|
-
|
357
|
-
* ruby_debug.c: step over shouldn't check that we moved to another
|
358
|
-
line
|
359
|
-
|
360
|
-
2007-03-26 14:27 Kent Sibilev
|
361
|
-
|
362
|
-
* ruby_debug.c: ditto
|
363
|
-
|
364
|
-
2007-03-26 02:51 Kent Sibilev
|
365
|
-
|
366
|
-
* ruby_debug.c: the frame must be captured when calling Proc#call
|
367
|
-
method
|
368
|
-
|
369
|
-
2007-03-24 18:17 Kent Sibilev
|
370
|
-
|
371
|
-
* branches/stable, trunk: stable becomes the trunk
|
372
|
-
|
373
|
-
2007-03-24 18:03 Kent Sibilev
|
374
|
-
|
375
|
-
* branches/stable/ext/ruby_debug.c: ported stop reason from the
|
376
|
-
trunk
|
377
|
-
|
378
|
-
2007-03-19 07:46 Kent Sibilev
|
379
|
-
|
380
|
-
* branches/stable/cli/debugger.rb,
|
381
|
-
branches/stable/cli/ruby-debug.rb,
|
382
|
-
branches/stable/ext/ruby_debug.c: fixes processor to handler
|
383
|
-
renaming
|
384
|
-
added a shortcut module
|
385
|
-
|
386
|
-
2007-02-27 08:02 Kent Sibilev
|
387
|
-
|
388
|
-
* branches/stable/Rakefile, branches/stable/cli,
|
389
|
-
branches/stable/cli/ruby-debug,
|
390
|
-
branches/stable/cli/ruby-debug/command.rb,
|
391
|
-
branches/stable/cli/ruby-debug/commands,
|
392
|
-
branches/stable/cli/ruby-debug/interface.rb,
|
393
|
-
branches/stable/cli/ruby-debug/processor.rb,
|
394
|
-
branches/stable/ext/ruby_debug.c,
|
395
|
-
branches/stable/lib/ruby-debug-base.rb,
|
396
|
-
branches/stable/lib/ruby-debug.rb,
|
397
|
-
branches/stable/lib/ruby-debug/command.rb,
|
398
|
-
branches/stable/lib/ruby-debug/commands,
|
399
|
-
branches/stable/lib/ruby-debug/interface.rb,
|
400
|
-
branches/stable/lib/ruby-debug/processor.rb: repackaging
|
401
|
-
ruby-debug
|
402
|
-
|
403
|
-
2007-02-23 20:56 Kent Sibilev
|
404
|
-
|
405
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
406
|
-
branches/stable/lib/ruby-debug.rb: added an option for
|
407
|
-
Debugger.debug_load to stop at the first line of code
|
408
|
-
|
409
|
-
2007-02-09 16:56 Kent Sibilev
|
410
|
-
|
411
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
412
|
-
branches/stable/lib/ruby-debug.rb: in remote mode the debugger
|
413
|
-
shouldn't stop inside of rdebug script
|
414
|
-
|
415
|
-
2007-02-07 02:42 Kent Sibilev
|
416
|
-
|
417
|
-
* branches/stable/ext/ruby_debug.c,
|
418
|
-
branches/stable/lib/ruby-debug/commands/threads.rb,
|
419
|
-
branches/stable/lib/ruby-debug/processor.rb: should use ignored?
|
420
|
-
method to check for the debugger's thread
|
421
|
-
|
422
|
-
2007-02-05 20:34 Kent Sibilev
|
423
|
-
|
424
|
-
* branches/stable/ext, branches/stable/ext/ruby_debug.c,
|
425
|
-
branches/stable/ext/win32: --
|
426
|
-
|
427
|
-
2007-02-05 20:16 Kent Sibilev
|
428
|
-
|
429
|
-
* branches/stable/ext/ruby_debug.c,
|
430
|
-
branches/stable/lib/ruby-debug/commands/frame.rb: fixed another
|
431
|
-
issue where a bogus frame is being left in the stack
|
432
|
-
|
433
|
-
2007-02-05 08:08 Kent Sibilev
|
434
|
-
|
435
|
-
* branches/stable/ext/ruby_debug.c: should save frame id as well
|
436
|
-
|
437
|
-
2007-02-05 07:55 Kent Sibilev
|
438
|
-
|
439
|
-
* branches/stable/ext/ruby_debug.c: fix stack corruption error
|
440
|
-
|
441
|
-
2007-02-05 01:16 Kent Sibilev
|
442
|
-
|
443
|
-
* branches/stable/ext/ruby_debug.c: store frame's self and
|
444
|
-
dyna_vars along with file/line information
|
445
|
-
|
446
|
-
2007-02-04 23:36 Kent Sibilev
|
447
|
-
|
448
|
-
* branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
|
449
|
-
branches/stable/lib/ruby-debug/commands/settings.rb: seg fault
|
450
|
-
bugfixes
|
451
|
-
fixed suspend/resume
|
452
|
-
|
453
|
-
2007-02-04 05:06 Kent Sibilev
|
454
|
-
|
455
|
-
* branches/stable/ext/ruby_debug.c: restore prev patch
|
456
|
-
|
457
|
-
2007-02-04 03:49 Kent Sibilev
|
458
|
-
|
459
|
-
* branches/stable/ext/ruby_debug.c: --
|
460
|
-
|
461
|
-
2007-02-04 03:49 Kent Sibilev
|
462
|
-
|
463
|
-
* branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
|
464
|
-
branches/stable/lib/ruby-debug.rb: A better fix for the
|
465
|
-
segmentation fault
|
466
|
-
|
467
|
-
2007-02-03 22:02 Kent Sibilev
|
468
|
-
|
469
|
-
* branches/stable/ext/ruby_debug.c: found a better patch
|
470
|
-
|
471
|
-
2007-02-03 20:24 Kent Sibilev
|
472
|
-
|
473
|
-
* branches/stable/ext/ruby_debug.c,
|
474
|
-
branches/stable/lib/ruby-debug.rb,
|
475
|
-
branches/stable/lib/ruby-debug/processor.rb: fix seg fault by
|
476
|
-
avoiding ruby's bug
|
477
|
-
fixed Context#resume
|
478
|
-
when handling post-mortem all threads must be suspended
|
479
|
-
|
480
|
-
2007-02-02 18:47 Kent Sibilev
|
481
|
-
|
482
|
-
* branches/stable/ext/ruby_debug.c,
|
483
|
-
branches/stable/lib/ruby-debug/commands/frame.rb: removed
|
484
|
-
ambiguity with down command
|
485
|
-
|
486
|
-
2007-02-01 22:15 Kent Sibilev
|
487
|
-
|
488
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
489
|
-
branches/stable/lib/ruby-debug/commands/eval.rb: made eval
|
490
|
-
command available from the control thread
|
491
|
-
|
492
|
-
2007-02-01 17:30 Kent Sibilev
|
493
|
-
|
494
|
-
* branches/stable/ext/ruby_debug.c: fixed dllexport for windows
|
495
|
-
platform
|
496
|
-
|
497
|
-
2007-02-01 15:49 Kent Sibilev
|
498
|
-
|
499
|
-
* branches/stable/ext/ruby_debug.c: ditto
|
500
|
-
|
501
|
-
2007-02-01 07:22 Kent Sibilev
|
502
|
-
|
503
|
-
* branches/stable/ext/ruby_debug.c,
|
504
|
-
branches/stable/lib/ruby-debug/command.rb,
|
505
|
-
branches/stable/lib/ruby-debug/commands/breakpoints.rb,
|
506
|
-
branches/stable/lib/ruby-debug/commands/eval.rb,
|
507
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
508
|
-
branches/stable/lib/ruby-debug/commands/list.rb,
|
509
|
-
branches/stable/lib/ruby-debug/commands/settings.rb,
|
510
|
-
branches/stable/lib/ruby-debug/commands/threads.rb: added setting
|
511
|
-
command
|
512
|
-
added Context#suspended? method
|
513
|
-
dispay suspended status in the thread list
|
514
|
-
display frame starting from zero
|
515
|
-
|
516
|
-
2007-01-31 22:12 Kent Sibilev
|
517
|
-
|
518
|
-
* branches/stable/ext/ruby_debug.c: store object ids in VALUE type
|
519
|
-
|
520
|
-
2007-01-31 21:04 Kent Sibilev
|
521
|
-
|
522
|
-
* branches/stable/ext/ruby_debug.c: ditto
|
523
|
-
|
524
|
-
2007-01-31 20:44 Kent Sibilev
|
525
|
-
|
526
|
-
* branches/stable/ext/ruby_debug.c: make a deep copy when capturing
|
527
|
-
post mortem context
|
528
|
-
|
529
|
-
2007-01-31 19:39 Kent Sibilev
|
530
|
-
|
531
|
-
* branches/stable/ext/ruby_debug.c,
|
532
|
-
branches/stable/lib/ruby-debug/command.rb: fixed frame count
|
533
|
-
added frame_self method to context
|
534
|
-
|
535
|
-
2007-01-31 16:48 Kent Sibilev
|
536
|
-
|
537
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
538
|
-
branches/stable/lib/ruby-debug.rb,
|
539
|
-
branches/stable/lib/ruby-debug/command.rb,
|
540
|
-
branches/stable/lib/ruby-debug/commands/eval.rb,
|
541
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
542
|
-
branches/stable/lib/ruby-debug/commands/irb.rb,
|
543
|
-
branches/stable/lib/ruby-debug/commands/variables.rb,
|
544
|
-
branches/stable/lib/ruby-debug/processor.rb: removed all
|
545
|
-
references to frames array
|
546
|
-
fixed post-mortem debugging
|
547
|
-
|
548
|
-
2007-01-31 00:41 Kent Sibilev
|
549
|
-
|
550
|
-
* branches/stable/ext/ruby_debug.c,
|
551
|
-
branches/stable/lib/ruby-debug.rb,
|
552
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
553
|
-
branches/stable/lib/ruby-debug/commands/variables.rb,
|
554
|
-
branches/stable/lib/ruby-debug/processor.rb: refactored out frame
|
555
|
-
class and preallocate stack
|
556
|
-
made local variable available even when bindings are not
|
557
|
-
collected.
|
558
|
-
|
559
|
-
2007-01-28 06:22 Kent Sibilev
|
560
|
-
|
561
|
-
* branches/stable/AUTHORS, branches/stable/CHANGES,
|
562
|
-
branches/stable/Rakefile, branches/stable/ext/ruby_debug.c,
|
563
|
-
branches/stable/lib/ruby-debug/commands/frame.rb: - Control
|
564
|
-
thread is always started by rdebug script.
|
565
|
-
- Ability to specify negative frame number to frame commands.
|
566
|
-
Patch from R. Bernstein.
|
567
|
-
|
568
|
-
2007-01-28 04:59 Kent Sibilev
|
569
|
-
|
570
|
-
* branches/stable/ext/ruby_debug.c: --
|
571
|
-
|
572
|
-
2007-01-28 04:52 Kent Sibilev
|
573
|
-
|
574
|
-
* branches/stable/CHANGES, branches/stable/bin/rdebug,
|
575
|
-
branches/stable/ext/ruby_debug.c,
|
576
|
-
branches/stable/lib/ruby-debug.rb,
|
577
|
-
branches/stable/lib/ruby-debug/commands/control.rb: added top
|
578
|
-
frame caching
|
579
|
-
control thread is always started by rdebug script
|
580
|
-
|
581
|
-
2007-01-28 01:21 Kent Sibilev
|
582
|
-
|
583
|
-
* branches/stable/CHANGES, branches/stable/ext/ruby_debug.c:
|
584
|
-
|
585
|
-
2007-01-27 01:43 Kent Sibilev
|
586
|
-
|
587
|
-
* branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
|
588
|
-
branches/stable/lib/ruby-debug.rb,
|
589
|
-
branches/stable/lib/ruby-debug/command.rb,
|
590
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
591
|
-
branches/stable/lib/ruby-debug/commands/stepping.rb,
|
592
|
-
branches/stable/lib/ruby-debug/commands/threads.rb,
|
593
|
-
branches/stable/lib/ruby-debug/commands/tmate.rb,
|
594
|
-
branches/stable/lib/ruby-debug/processor.rb: another performance
|
595
|
-
optimization
|
596
|
-
|
597
|
-
2007-01-26 19:31 Kent Sibilev
|
598
|
-
|
599
|
-
* branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
|
600
|
-
branches/stable/ext/win32/ruby_debug.so: --
|
601
|
-
|
602
|
-
2007-01-26 17:59 Kent Sibilev
|
603
|
-
|
604
|
-
* branches/stable/ext/ruby_debug.c,
|
605
|
-
branches/stable/lib/ruby-debug/commands/breakpoints.rb: revisited
|
606
|
-
file name comparing procedure
|
607
|
-
|
608
|
-
2007-01-26 09:03 Kent Sibilev
|
609
|
-
|
610
|
-
* branches/stable/ext/ruby_debug.c,
|
611
|
-
branches/stable/lib/ruby-debug/commands/breakpoints.rb:
|
612
|
-
performance improvements
|
613
|
-
|
614
|
-
2007-01-26 03:12 Kent Sibilev
|
615
|
-
|
616
|
-
* branches/stable/CHANGES, branches/stable/bin/rdebug,
|
617
|
-
branches/stable/ext/ruby_debug.c,
|
618
|
-
branches/stable/lib/ruby-debug.rb,
|
619
|
-
branches/stable/lib/ruby-debug/command.rb,
|
620
|
-
branches/stable/lib/ruby-debug/commands/irb.rb,
|
621
|
-
branches/stable/lib/ruby-debug/commands/variables.rb,
|
622
|
-
branches/stable/lib/ruby-debug/processor.rb: added option to
|
623
|
-
exclude collecting of frame bindings
|
624
|
-
|
625
|
-
2007-01-25 01:41 Kent Sibilev
|
626
|
-
|
627
|
-
* branches/stable/ext/ruby_debug.c: small optimization
|
628
|
-
|
629
|
-
2007-01-25 00:55 Kent Sibilev
|
630
|
-
|
631
|
-
* branches/stable/ext/ruby_debug.c: remove the live thread ref from
|
632
|
-
locker structure as well
|
633
|
-
|
634
|
-
2007-01-24 20:42 Kent Sibilev
|
635
|
-
|
636
|
-
* branches/stable/CHANGES, branches/stable/ext/ruby_debug.c: don't
|
637
|
-
keep a ref to a live thread.
|
638
|
-
check contexts that their threads are alive
|
639
|
-
|
640
|
-
2007-01-21 03:34 Kent Sibilev
|
641
|
-
|
642
|
-
* branches/stable/ext/ruby_debug.c,
|
643
|
-
branches/stable/lib/ruby-debug.rb,
|
644
|
-
branches/stable/lib/ruby-debug/commands/breakpoints.rb: assign an
|
645
|
-
id to the breakpoint
|
646
|
-
|
647
|
-
2007-01-21 01:20 Kent Sibilev
|
648
|
-
|
649
|
-
* branches/stable/ext/ruby_debug.c,
|
650
|
-
branches/stable/lib/ruby-debug.rb,
|
651
|
-
branches/stable/lib/ruby-debug/interface.rb,
|
652
|
-
branches/stable/lib/ruby-debug/processor.rb: added
|
653
|
-
post_mortem_method wrap method
|
654
|
-
|
655
|
-
2006-12-21 20:30 Kent Sibilev
|
656
|
-
|
657
|
-
* branches/stable/bin/rdebug,
|
658
|
-
branches/stable/ext/win32/ruby_debug.so: fix of restart command
|
659
|
-
for windows platform
|
660
|
-
|
661
|
-
2006-12-21 13:43 Kent Sibilev
|
662
|
-
|
663
|
-
* branches/stable/ext/ruby_debug.c,
|
664
|
-
branches/stable/ext/win32/ruby_debug.so,
|
665
|
-
branches/stable/lib/ruby-debug/commands/trace.rb: fixed trace
|
666
|
-
command in post-mortem mode
|
667
|
-
|
668
|
-
2006-12-21 01:08 Kent Sibilev
|
669
|
-
|
670
|
-
* branches/stable/ext/ruby_debug.c,
|
671
|
-
branches/stable/ext/win32/ruby_debug.so,
|
672
|
-
branches/stable/lib/ruby-debug/commands/irb.rb: fixes irb help
|
673
|
-
command
|
674
|
-
|
675
|
-
2006-12-20 21:19 Kent Sibilev
|
676
|
-
|
677
|
-
* branches/stable/ext/ruby_debug.c,
|
678
|
-
branches/stable/lib/ruby-debug.rb: check that debugger has been
|
679
|
-
started
|
680
|
-
|
681
|
-
2006-12-20 20:41 Kent Sibilev
|
682
|
-
|
683
|
-
* branches/stable/ext/win32/ruby_debug.so:
|
684
|
-
|
685
|
-
2006-12-20 20:14 Kent Sibilev
|
686
|
-
|
687
|
-
* branches/stable/ext/ruby_debug.c: bumped version
|
688
|
-
|
689
|
-
2006-12-20 19:38 Kent Sibilev
|
690
|
-
|
691
|
-
* branches/stable/ext/ruby_debug.c,
|
692
|
-
branches/stable/lib/ruby-debug.rb,
|
693
|
-
branches/stable/lib/ruby-debug/command.rb,
|
694
|
-
branches/stable/lib/ruby-debug/commands/control.rb,
|
695
|
-
branches/stable/lib/ruby-debug/commands/frame.rb,
|
696
|
-
branches/stable/lib/ruby-debug/commands/irb.rb,
|
697
|
-
branches/stable/lib/ruby-debug/commands/stepping.rb,
|
698
|
-
branches/stable/lib/ruby-debug/commands/threads.rb,
|
699
|
-
branches/stable/lib/ruby-debug/commands/tmate.rb,
|
700
|
-
branches/stable/lib/ruby-debug/processor.rb: initial support for
|
701
|
-
post-mortem debugging
|
702
|
-
|
703
|
-
2006-12-18 08:34 Kent Sibilev
|
704
|
-
|
705
|
-
* branches/stable/ext/ruby_debug.c,
|
706
|
-
branches/stable/lib/ruby-debug.rb,
|
707
|
-
branches/stable/lib/ruby-debug/commands/irb.rb,
|
708
|
-
branches/stable/lib/ruby-debug/commands/list.rb: added irb
|
709
|
-
command
|
710
|
-
fixed source_for method
|
711
|
-
|
712
|
-
2006-12-01 06:47 Kent Sibilev
|
713
|
-
|
714
|
-
* branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
|
715
|
-
branches/stable/lib/ruby-debug.rb:
|
716
|
-
|
717
|
-
2006-11-16 00:01 Kent Sibilev
|
718
|
-
|
719
|
-
* branches/stable: added the new branch for the stable version
|
720
|
-
|
721
|
-
2006-10-15 22:43 Kent Sibilev
|
722
|
-
|
723
|
-
* branches/ver_0_4_4: branching a stable version
|
724
|
-
|
725
|
-
2006-10-15 22:26 Kent Sibilev
|
726
|
-
|
727
|
-
* win32/ruby_debug.so, trunk/lib/ruby-debug.rb: remove unused
|
728
|
-
require
|
729
|
-
uploaded new windows binary
|
730
|
-
|
731
|
-
2006-10-15 21:56 Kent Sibilev
|
732
|
-
|
733
|
-
* ruby_debug.c: Debugger.start yields to the block even if it's
|
734
|
-
already started
|
735
|
-
|
736
|
-
2006-10-15 16:54 Kent Sibilev
|
737
|
-
|
738
|
-
* ruby_debug.c, trunk/lib/ruby-debug.rb,
|
739
|
-
trunk/lib/ruby-debug/commands/threads.rb: new logic of context
|
740
|
-
suspend/resume
|
741
|
-
|
742
|
-
2006-10-15 07:36 Kent Sibilev
|
743
|
-
|
744
|
-
* trunk/bin/rdebug, ruby_debug.c, trunk/lib/ruby-debug.rb,
|
745
|
-
trunk/lib/ruby-debug/lock.rb: fixed locking of debugger threads
|
746
|
-
|
747
|
-
2006-10-14 19:11 Kent Sibilev
|
748
|
-
|
749
|
-
* trunk/Rakefile, ruby_debug.c: make skip status local to a thread
|
750
|
-
instead of globally disabling the debugger.
|
751
|
-
|
752
|
-
2006-10-09 22:01 Kent Sibilev
|
753
|
-
|
754
|
-
* ruby_debug.c, win32/ruby_debug.so,
|
755
|
-
trunk/lib/ruby-debug/interface.rb: fixes for windows version
|
756
|
-
|
757
|
-
2006-10-09 19:06 Kent Sibilev
|
758
|
-
|
759
|
-
* trunk/CHANGES, ruby_debug.c, trunk/lib/ruby-debug.rb,
|
760
|
-
trunk/lib/ruby-debug/interface.rb: added Debugger.skip and
|
761
|
-
Debugger.debug_at_exit methods
|
762
|
-
|
763
|
-
2006-10-09 16:48 Kent Sibilev
|
764
|
-
|
765
|
-
* trunk/.gdb_history, .gdb_history, Makefile, ruby_debug.bundle:
|
766
|
-
remove intermediate files
|
767
|
-
|
768
|
-
2006-10-09 16:44 Kent Sibilev
|
769
|
-
|
770
|
-
* trunk, trunk/.gdb_history, trunk/CHANGES, trunk/LICENSE,
|
771
|
-
trunk/README, trunk/Rakefile, trunk/bin, trunk/bin/rdebug,
|
772
|
-
trunk/doc, ., .gdb_history, Makefile, extconf.rb,
|
773
|
-
ruby_debug.bundle, ruby_debug.c, win32, win32/ruby_debug.so,
|
774
|
-
trunk/lib, trunk/lib/ruby-debug, trunk/lib/ruby-debug.rb,
|
775
|
-
trunk/lib/ruby-debug/command.rb, trunk/lib/ruby-debug/commands,
|
776
|
-
trunk/lib/ruby-debug/commands/breakpoints.rb,
|
777
|
-
trunk/lib/ruby-debug/commands/catchpoint.rb,
|
778
|
-
trunk/lib/ruby-debug/commands/control.rb,
|
779
|
-
trunk/lib/ruby-debug/commands/display.rb,
|
780
|
-
trunk/lib/ruby-debug/commands/eval.rb,
|
781
|
-
trunk/lib/ruby-debug/commands/frame.rb,
|
782
|
-
trunk/lib/ruby-debug/commands/help.rb,
|
783
|
-
trunk/lib/ruby-debug/commands/list.rb,
|
784
|
-
trunk/lib/ruby-debug/commands/method.rb,
|
785
|
-
trunk/lib/ruby-debug/commands/script.rb,
|
786
|
-
trunk/lib/ruby-debug/commands/stepping.rb,
|
787
|
-
trunk/lib/ruby-debug/commands/threads.rb,
|
788
|
-
trunk/lib/ruby-debug/commands/tmate.rb,
|
789
|
-
trunk/lib/ruby-debug/commands/trace.rb,
|
790
|
-
trunk/lib/ruby-debug/commands/variables.rb,
|
791
|
-
trunk/lib/ruby-debug/interface.rb, trunk/lib/ruby-debug/lock.rb,
|
792
|
-
trunk/lib/ruby-debug/processor.rb: initial import
|
793
|
-
|