ruby-debug-base 0.9.3 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -0
- data/CHANGES +41 -0
- data/README +27 -13
- data/Rakefile +220 -0
- data/ext/ChangeLog +793 -0
- data/ext/ruby_debug.c +274 -34
- data/lib/ChangeLog +579 -0
- data/lib/ruby-debug-base.rb +17 -11
- data/test/test-ruby-debug-base.rb +76 -0
- metadata +15 -13
- data/ext/tags +0 -118
data/AUTHORS
CHANGED
data/CHANGES
CHANGED
@@ -1,3 +1,44 @@
|
|
1
|
+
0.10.0
|
2
|
+
- '-r' option can be used to require additional libraries.
|
3
|
+
- --noquit option added to stay in debugger when the program exits
|
4
|
+
- gdb-like --annotate option added. Can be used by front-ends to get information
|
5
|
+
without polling
|
6
|
+
- Fixed 'var const' command. Issue #10847.
|
7
|
+
- Using pretty-print for all var commands.
|
8
|
+
- Better error reporting for commands that require a numeric argument.
|
9
|
+
- Fixed Kernel#binding_n method
|
10
|
+
- Add option -d ($DEBUG = true) and --verbose. Make -v work like ruby.
|
11
|
+
- Remove debugger messages caused when warnings are turned on.
|
12
|
+
- "info" and "show" commands added. "set" made more like gdb's
|
13
|
+
set. subcommands can be abbreviated and are case insensitive.
|
14
|
+
- restart program if it terminates normally and we've got a tty and
|
15
|
+
we stop on the first statement.
|
16
|
+
- help is in tidy column format. method lists are shown that way as well.
|
17
|
+
the "width" setting ("set/show width") is used for the line width
|
18
|
+
- stack traces now show parameter names and types. "info args" lists just
|
19
|
+
the parameters (with the most recent values, not the values at call time).
|
20
|
+
- post-mortem "exit" bug fixed.
|
21
|
+
- More Emacs-friendly: rdebug-track.el will track location inside an Emacs
|
22
|
+
shell. Emacs position information is shown in breakpoints and catchpoints
|
23
|
+
similar to gdba. Commands to position in another window a unit test traceback
|
24
|
+
or ruby traceback. Much more work invisioned for Emacs.
|
25
|
+
- INCOMPATIBLE CHANGE: "break" now sets a breakpoint on the current line
|
26
|
+
(same as gdb). Use "info break" for a list of breakpoints.
|
27
|
+
- INCOMPATIBLE CHANGE: "script" command removed. Use "source" command instead
|
28
|
+
(same as gdb).
|
29
|
+
- Run .rdebugrc on Debugger.start. Look for a file in the current directory and
|
30
|
+
run that instead the one in $HOME if that exists. Again, inspired and compatible
|
31
|
+
with gdb.
|
32
|
+
- Changes compatible with Ruby 1.9. NOTE: this debugger will NOT work with
|
33
|
+
Ruby 1.9
|
34
|
+
- leaving irb shows position same as entering debugger; "list" position
|
35
|
+
is also cleared when leaving irb
|
36
|
+
- help "foo" gives message "Undefined command "foo" rather than a list
|
37
|
+
of help commands. (Message test is gdb's)
|
38
|
+
- Add set linetrace+ - similar step+ for linetrace
|
39
|
+
- Start unit tests.
|
40
|
+
- Start a reference guide.
|
41
|
+
|
1
42
|
0.9.3
|
2
43
|
- Fixed if..elsif..end stepping.
|
3
44
|
- From irb session Ctrl-C or 'cont' command continues execution without showing the debugger prompt.
|
data/README
CHANGED
@@ -9,9 +9,10 @@ The faster execution speed is achieved by utilizing a new hook Ruby C API.
|
|
9
9
|
|
10
10
|
ruby-debug requires Ruby 1.8.4 or higher.
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
Unless you get the packages as a binary (Microsoft Windows binaries
|
13
|
+
are sometimes available), you'll need a C compiler and Ruby
|
14
|
+
development headers, and a Make program so the extension in
|
15
|
+
ruby-debug-base can be compiled when it is installed.
|
15
16
|
|
16
17
|
== Install
|
17
18
|
|
@@ -19,6 +20,18 @@ ruby-debug is provided as a RubyGem. To install:
|
|
19
20
|
|
20
21
|
<tt>gem install ruby-debug</tt>
|
21
22
|
|
23
|
+
This should also pull in <tt>ruby-debug-base</tt> as a dependency.
|
24
|
+
|
25
|
+
For Emacs support and the Reference Manual, get
|
26
|
+
<tt>ruby-debug-extra</tt>. This is not a RubyGem, you'll need a Make
|
27
|
+
program and a POSIX shell. With this installed, run:
|
28
|
+
|
29
|
+
<pre>
|
30
|
+
sh ./configure
|
31
|
+
make
|
32
|
+
make install
|
33
|
+
</pre>
|
34
|
+
|
22
35
|
== Usage
|
23
36
|
|
24
37
|
There are two ways of running ruby-debug.
|
@@ -34,9 +47,9 @@ to set up your breakpoints.
|
|
34
47
|
=== ruby-debug API
|
35
48
|
|
36
49
|
The second way is to use the ruby-debug API to interrupt your
|
37
|
-
code execution at
|
50
|
+
code execution at run time.
|
38
51
|
|
39
|
-
require 'ruby-debug'
|
52
|
+
require 'ruby-debug' ; Debugger.start
|
40
53
|
...
|
41
54
|
def your_method
|
42
55
|
...
|
@@ -49,14 +62,15 @@ and you will be able to inspect and step through your code.
|
|
49
62
|
|
50
63
|
== Performance
|
51
64
|
|
52
|
-
The debug.rb script that comes with the standard library uses
|
53
|
-
Kernel#set_trace_func API.
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
of the
|
58
|
-
|
59
|
-
the
|
65
|
+
The debug.rb script that comes with the standard Ruby library uses
|
66
|
+
Kernel#set_trace_func API. Implementing the debugger in pure Ruby has
|
67
|
+
a negative impact on the speed of your program execution. This is
|
68
|
+
because the Ruby interpreter creates a Binding object each trace call,
|
69
|
+
even though it is not being used most of the time. ruby-debug moves
|
70
|
+
most of the functionality for Binding access and for breakpoint
|
71
|
+
testing to a native extension. Because this code is in C and because
|
72
|
+
and can be selectively enabled or disabled, the overhead in running
|
73
|
+
your program can be minimized.
|
60
74
|
|
61
75
|
== License
|
62
76
|
|
data/Rakefile
ADDED
@@ -0,0 +1,220 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
# -*- Ruby -*-
|
3
|
+
require 'rubygems'
|
4
|
+
require 'rake/gempackagetask'
|
5
|
+
require 'rake/rdoctask'
|
6
|
+
require 'rake/testtask'
|
7
|
+
|
8
|
+
SO_NAME = "ruby_debug.so"
|
9
|
+
|
10
|
+
# ------- Default Package ----------
|
11
|
+
RUBY_DEBUG_VERSION = open("ext/ruby_debug.c"){|f| f.grep(/^#define DEBUG_VERSION/).first[/"(.+)"/,1]}
|
12
|
+
|
13
|
+
COMMON_FILES = FileList[
|
14
|
+
'AUTHORS',
|
15
|
+
'CHANGES',
|
16
|
+
'LICENSE',
|
17
|
+
'README',
|
18
|
+
'Rakefile',
|
19
|
+
]
|
20
|
+
|
21
|
+
CLI_TEST_FILE_LIST = 'test/**/*test-*.rb'
|
22
|
+
CLI_FILES = COMMON_FILES + FileList[
|
23
|
+
"cli/**/*",
|
24
|
+
'ChangeLog',
|
25
|
+
'bin/*',
|
26
|
+
'doc/rdebug.1',
|
27
|
+
'test/**/*.cmd',
|
28
|
+
'test/**/*.right',
|
29
|
+
'test/**/gcd.rb',
|
30
|
+
'test/**/helper.rb',
|
31
|
+
'test/**/info-var-bug.rb',
|
32
|
+
'test/**/tdebug.rb',
|
33
|
+
'test/**/test-*.cmd',
|
34
|
+
'runner.sh',
|
35
|
+
CLI_TEST_FILE_LIST,
|
36
|
+
]
|
37
|
+
|
38
|
+
BASE_TEST_FILE_LIST = 'test/test-ruby-debug-base.rb'
|
39
|
+
BASE_FILES = COMMON_FILES + FileList[
|
40
|
+
'lib/**/*',
|
41
|
+
'ext/ChangeLog',
|
42
|
+
'ext/ruby_debug.c',
|
43
|
+
'ext/extconf.rb',
|
44
|
+
'ext/win32/*',
|
45
|
+
BASE_TEST_FILE_LIST,
|
46
|
+
]
|
47
|
+
|
48
|
+
desc "Test everything."
|
49
|
+
test_task = task :test => :lib do
|
50
|
+
Rake::TestTask.new(:test) do |t|
|
51
|
+
t.libs << ['./ext', './lib', './cli']
|
52
|
+
t.pattern = CLI_TEST_FILE_LIST
|
53
|
+
t.verbose = true
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
desc "Test everything - same as test."
|
58
|
+
task :check => :test
|
59
|
+
|
60
|
+
desc "Create the core ruby-debug shared library extension"
|
61
|
+
task :lib do
|
62
|
+
Dir.chdir("ext") do
|
63
|
+
system("#{Gem.ruby} extconf.rb && make")
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
desc "Compile Emacs code"
|
68
|
+
task :emacs => "emacs/rdebug.elc"
|
69
|
+
file "emacs/rdebug.elc" => ["emacs/elisp-comp", "emacs/rdebug.el"] do
|
70
|
+
Dir.chdir("emacs") do
|
71
|
+
system("./elisp-comp ./rdebug.el")
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
desc "Create a GNU-style ChangeLog via svn2cl"
|
76
|
+
task :ChangeLog do
|
77
|
+
system("svn2cl --authors=svn2cl_usermap svn://rubyforge.org/var/svn/ruby-debug/trunk")
|
78
|
+
system("svn2cl --authors=svn2cl_usermap svn://rubyforge.org/var/svn/ruby-debug/trunk/ext -o ext/ChangeLog")
|
79
|
+
system("svn2cl --authors=svn2cl_usermap svn://rubyforge.org/var/svn/ruby-debug/trunk/lib -o lib/ChangeLog")
|
80
|
+
end
|
81
|
+
|
82
|
+
# Base GEM Specification
|
83
|
+
base_spec = Gem::Specification.new do |spec|
|
84
|
+
spec.name = "ruby-debug-base"
|
85
|
+
|
86
|
+
spec.homepage = "http://rubyforge.org/projects/ruby-debug/"
|
87
|
+
spec.summary = "Fast Ruby debugger - core component"
|
88
|
+
spec.description = <<-EOF
|
89
|
+
ruby-debug is a fast implementation of the standard Ruby debugger debug.rb.
|
90
|
+
It is implemented by utilizing a new Ruby C API hook. The core component
|
91
|
+
provides support that front-ends can build on. It provides breakpoint
|
92
|
+
handling, bindings for stack frames among other things.
|
93
|
+
EOF
|
94
|
+
|
95
|
+
spec.version = RUBY_DEBUG_VERSION
|
96
|
+
|
97
|
+
spec.author = "Kent Sibilev"
|
98
|
+
spec.email = "ksibilev@yahoo.com"
|
99
|
+
spec.platform = Gem::Platform::RUBY
|
100
|
+
spec.require_path = "lib"
|
101
|
+
spec.extensions = ["ext/extconf.rb"]
|
102
|
+
spec.autorequire = "ruby-debug-base"
|
103
|
+
spec.files = BASE_FILES.to_a
|
104
|
+
|
105
|
+
spec.required_ruby_version = '>= 1.8.2'
|
106
|
+
spec.date = Time.now
|
107
|
+
spec.rubyforge_project = 'ruby-debug'
|
108
|
+
|
109
|
+
spec.test_files = FileList[BASE_TEST_FILE_LIST]
|
110
|
+
|
111
|
+
# rdoc
|
112
|
+
spec.has_rdoc = true
|
113
|
+
spec.extra_rdoc_files = ['README', 'ext/ruby_debug.c']
|
114
|
+
end
|
115
|
+
|
116
|
+
cli_spec = Gem::Specification.new do |spec|
|
117
|
+
spec.name = "ruby-debug"
|
118
|
+
|
119
|
+
spec.homepage = "http://rubyforge.org/projects/ruby-debug/"
|
120
|
+
spec.summary = "Command line interface (CLI) for ruby-debug-base"
|
121
|
+
spec.description = <<-EOF
|
122
|
+
A generic command line interface for ruby-debug.
|
123
|
+
EOF
|
124
|
+
|
125
|
+
spec.version = RUBY_DEBUG_VERSION
|
126
|
+
|
127
|
+
spec.author = "Kent Sibilev"
|
128
|
+
spec.email = "ksibilev@yahoo.com"
|
129
|
+
spec.platform = Gem::Platform::RUBY
|
130
|
+
spec.require_path = "cli"
|
131
|
+
spec.bindir = "bin"
|
132
|
+
spec.executables = ["rdebug"]
|
133
|
+
spec.autorequire = "ruby-debug"
|
134
|
+
spec.files = CLI_FILES.to_a
|
135
|
+
|
136
|
+
spec.required_ruby_version = '>= 1.8.2'
|
137
|
+
spec.date = Time.now
|
138
|
+
spec.rubyforge_project = 'ruby-debug'
|
139
|
+
spec.add_dependency('ruby-debug-base', RUBY_DEBUG_VERSION)
|
140
|
+
|
141
|
+
# FIXME: work out operational logistics for this
|
142
|
+
# spec.test_files = FileList[CLI_TEST_FILE_LIST]
|
143
|
+
|
144
|
+
# rdoc
|
145
|
+
spec.has_rdoc = true
|
146
|
+
spec.extra_rdoc_files = ['README']
|
147
|
+
end
|
148
|
+
|
149
|
+
# Rake task to build the default package
|
150
|
+
Rake::GemPackageTask.new(base_spec) do |pkg|
|
151
|
+
pkg.need_tar = true
|
152
|
+
end
|
153
|
+
Rake::GemPackageTask.new(cli_spec) do |pkg|
|
154
|
+
pkg.need_tar = true
|
155
|
+
end
|
156
|
+
|
157
|
+
task :default => [:package]
|
158
|
+
|
159
|
+
# Windows specification
|
160
|
+
win_spec = base_spec.clone
|
161
|
+
win_spec.extensions = []
|
162
|
+
win_spec.platform = Gem::Platform::WIN32
|
163
|
+
win_spec.files += ["lib/#{SO_NAME}"]
|
164
|
+
|
165
|
+
desc "Create Windows Gem"
|
166
|
+
task :win32_gem do
|
167
|
+
# Copy the win32 extension the top level directory
|
168
|
+
current_dir = File.expand_path(File.dirname(__FILE__))
|
169
|
+
source = File.join(current_dir, "ext", "win32", SO_NAME)
|
170
|
+
target = File.join(current_dir, "lib", SO_NAME)
|
171
|
+
cp(source, target)
|
172
|
+
|
173
|
+
# Create the gem, then move it to pkg
|
174
|
+
Gem::Builder.new(win_spec).build
|
175
|
+
gem_file = "#{win_spec.name}-#{win_spec.version}-#{win_spec.platform}.gem"
|
176
|
+
mv(gem_file, "pkg/#{gem_file}")
|
177
|
+
|
178
|
+
# Remove win extension fro top level directory
|
179
|
+
rm(target)
|
180
|
+
end
|
181
|
+
|
182
|
+
desc "Publish ruby-debug to RubyForge."
|
183
|
+
task :publish do
|
184
|
+
require 'rake/contrib/sshpublisher'
|
185
|
+
|
186
|
+
# Get ruby-debug path
|
187
|
+
ruby_debug_path = File.expand_path(File.dirname(__FILE__))
|
188
|
+
|
189
|
+
publisher = Rake::SshDirPublisher.new("kent@rubyforge.org",
|
190
|
+
"/var/www/gforge-projects/ruby-debug", ruby_debug_path)
|
191
|
+
end
|
192
|
+
|
193
|
+
desc "Remove built files"
|
194
|
+
task :clean do
|
195
|
+
cd "ext" do
|
196
|
+
if File.exists?("Makefile")
|
197
|
+
sh "make clean"
|
198
|
+
rm "Makefile"
|
199
|
+
end
|
200
|
+
derived_files = Dir.glob(".o") + Dir.glob("*.so")
|
201
|
+
rm derived_files unless derived_files.empty?
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# --------- RDoc Documentation ------
|
206
|
+
desc "Generate rdoc documentation"
|
207
|
+
Rake::RDocTask.new("rdoc") do |rdoc|
|
208
|
+
rdoc.rdoc_dir = 'doc'
|
209
|
+
rdoc.title = "ruby-debug"
|
210
|
+
# Show source inline with line numbers
|
211
|
+
rdoc.options << "--inline-source" << "--line-numbers"
|
212
|
+
# Make the readme file the start page for the generated html
|
213
|
+
rdoc.options << '--main' << 'README'
|
214
|
+
rdoc.rdoc_files.include('bin/**/*',
|
215
|
+
'lib/**/*.rb',
|
216
|
+
'ext/**/ruby_debug.c',
|
217
|
+
'README',
|
218
|
+
'LICENSE')
|
219
|
+
end
|
220
|
+
|
data/ext/ChangeLog
ADDED
@@ -0,0 +1,793 @@
|
|
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
|
+
|