ruby-debug-base 0.9.3-mswin32 → 0.10.0-mswin32

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/AUTHORS CHANGED
@@ -4,3 +4,4 @@ Kent Sibilev
4
4
  Contributers:
5
5
  Markus Barchfeld
6
6
  R. Bernstein
7
+ Anders Lindgren
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
- If you are running Linux or Unix you'll need a C compiler so the extension
13
- can be compiled when it is installed.
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 runtime.
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. This way it is possible to implement
54
- the debugger in pure Ruby, but has a negative effect on the speed
55
- of your program execution. For each trace call Ruby interpreter
56
- creates a Binding object, even though it is not being used most
57
- of the time. ruby-debug library moves most of the functionality
58
- of debug.rb to a native extension, this way significantly improving
59
- the execution of your program.
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
 
@@ -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
+
@@ -0,0 +1,1110 @@
1
+ 2008-02-02 09:27 Rocky Bernstein
2
+
3
+ * trunk/CHANGES, ruby_debug.c, trunk/lib/ruby-debug-base.rb,
4
+ trunk/test/gcd-dbg.rb: Remove Debugger.init and fold options
5
+ parameter into Debugger.start.
6
+ Old Debugger.start has been renamed Deebugger.start_
7
+
8
+ 2008-02-01 03:09 Rocky Bernstein
9
+
10
+ * trunk/CHANGES, trunk/Rakefile, trunk/bin/rdebug,
11
+ trunk/cli/ruby-debug/commands/catchpoint.rb,
12
+ trunk/cli/ruby-debug/commands/info.rb,
13
+ trunk/cli/ruby-debug/processor.rb, breakpoint.c, ruby_debug.c,
14
+ ruby_debug.h, trunk/test/base/base.rb,
15
+ trunk/test/base/catchpoint.rb, trunk/test/ctrl.right,
16
+ trunk/test/info.right: Allow multiple exceptions to be caught.
17
+
18
+ INCOMPATIBLE CHANGE: varible Debugger.catchpoint a String was
19
+ turned
20
+ into Debugger.catchpoints, a Hash. Debugger.catchpoint= no longer
21
+ exists. Debugger.set_catchpoint was turned into
22
+ Debugger.add_catchpoint
23
+
24
+ "info catch" added.
25
+
26
+ INCOMPATIBLE CHANGE: variable Debugger.catchpoint is now
27
+ Debugger.catchpoints
28
+ which is a now hash rather than a String. Debugger.catchpoint= no
29
+ longer exists.
30
+
31
+ A catchpoint ruby-debug-base test added. use unshift in requires.
32
+
33
+ rdebug: --post-mortem now really catches uncaught exceptions and
34
+ brings you to post-mortem handling.
35
+
36
+ 2008-01-31 16:30 Rocky Bernstein
37
+
38
+ * trunk/ChangeLog, ruby_debug.c, trunk/lib/ChangeLog: Leave
39
+ ruby_debug.c this way for now.
40
+
41
+ 2008-01-31 16:24 Rocky Bernstein
42
+
43
+ * trunk/ChangeLog, trunk/cli/ruby-debug/processor.rb, ruby_debug.c,
44
+ trunk/lib/ChangeLog, trunk/test/raise.right,
45
+ trunk/test/tdebug.rb: ruby_debug.c: more adventures in exception
46
+ handling
47
+ processor.rb: Removal of crash when annotate is on. Need to fix
48
+ the source of the
49
+ problem though.
50
+
51
+ 2008-01-31 03:01 Rocky Bernstein
52
+
53
+ * trunk/bin/rdebug, ruby_debug.c, trunk/test/helper.rb,
54
+ trunk/test/quit.right, trunk/test/tdebug.rb,
55
+ trunk/test/test-quit.rb, trunk/test/test-raise.rb: Have
56
+ Debug.load recover from uncaught error raised in a debugged
57
+ program.
58
+ Go over regression tests.
59
+
60
+ 2008-01-13 21:51 Rocky Bernstein
61
+
62
+ * trunk/ChangeLog, trunk/cli/ruby-debug/commands/breakpoints.rb,
63
+ trunk/emacs/rdebug-core.el, trunk/emacs/rdebug-frames.el,
64
+ trunk/emacs/rdebug-source.el, breakpoint.c, trunk/lib/ChangeLog:
65
+ Some stack -> frame renaming
66
+ ext/breakpoint.c: put methods in alpha order (to help with
67
+ reference man)
68
+ breakpoints.rb: one print -> errmsg
69
+
70
+ 2008-01-10 10:34 Rocky Bernstein
71
+
72
+ * trunk/CHANGES, trunk/ChangeLog,
73
+ trunk/cli/ruby-debug/commands/condition.rb,
74
+ trunk/cli/ruby-debug/commands/enable.rb,
75
+ trunk/cli/ruby-debug/processor.rb, trunk/doc/ruby-debug.texi,
76
+ trunk/emacs/Makefile.am, trunk/emacs/rdebug-breaks.el,
77
+ trunk/emacs/rdebug-regexp.el, trunk/emacs/test/test-regexp.el,
78
+ breakpoint.c, trunk/lib/ChangeLog, trunk/test/condition.cmd,
79
+ trunk/test/condition.right, trunk/test/test-breakpoints.rb,
80
+ trunk/test/test-condition.rb: Add condition command.
81
+
82
+ 2008-01-07 04:29 Rocky Bernstein
83
+
84
+ * trunk/ChangeLog, trunk/Makefile.am, ChangeLog,
85
+ trunk/lib/ChangeLog: Split out ChangeLogs better (I hope).
86
+
87
+ 2008-01-06 20:56 Rocky Bernstein
88
+
89
+ * trunk/ChangeLog, trunk/bin/rdebug,
90
+ trunk/cli/ruby-debug/processor.rb, trunk/emacs/rdebug-core.el,
91
+ trunk/emacs/rdebug-regexp.el, trunk/emacs/test/test-regexp.el,
92
+ ChangeLog, trunk/lib/ChangeLog, trunk/test/emacs-basic.cmd,
93
+ trunk/test/emacs-basic.right, trunk/test/quit.right,
94
+ trunk/test/tdebug.rb, trunk/test/test-emacs-basic.rb:
95
+ test/*-emacs-basic*, tdebug: Add test of running in Emacs without
96
+ annotations.
97
+
98
+ emacs/*.el: make regexp tests work again, move regexp to from
99
+ core to regexp.
100
+ Add an annotate regexp test.
101
+
102
+ processor.rb: Remove some anotation print from bleeding into
103
+ output
104
+ when annotations are not wanted. Reinstate "Program finished" in
105
+ annotations and outside (rdebug).
106
+
107
+ 2008-01-06 18:55 Rocky Bernstein
108
+
109
+ * trunk/ChangeLog, trunk/cli/ruby-debug/processor.rb,
110
+ trunk/emacs/Makefile.am, trunk/emacs/rdebug-core.el,
111
+ trunk/emacs/test/test-indent.el, ChangeLog, trunk/lib/ChangeLog,
112
+ trunk/test/annotate.right, trunk/test/output.right: Create
113
+ Processor class and subclass that. Perhaps a mixin would be good.
114
+ Remove annotation output bleanding when annotate is off.
115
+ Try to reduce the mess annotations is adding to processor.rb
116
+ rdebug-core.el: fix indentation to pass the regression test
117
+ Anders added
118
+ Makefile.am: Add rdebug-source.el to distribution.
119
+ Make sure "rake test"
120
+
121
+ 2008-01-06 02:15 Rocky Bernstein
122
+
123
+ * trunk/ChangeLog, trunk/bin/rdebug,
124
+ trunk/cli/ruby-debug/commands/breakpoints.rb,
125
+ trunk/cli/ruby-debug/commands/control.rb,
126
+ trunk/cli/ruby-debug/commands/save.rb,
127
+ trunk/cli/ruby-debug/commands/script.rb,
128
+ trunk/cli/ruby-debug/interface.rb,
129
+ trunk/cli/ruby-debug/processor.rb, ChangeLog,
130
+ trunk/lib/ChangeLog: Some work on saving state across a restart.
131
+ More work is needed on the
132
+ script command to get this working. The save-file name is now
133
+ optional. save.rb split off from script.rb Display expressions
134
+ and
135
+ some settings are now captured in the save/restore file.
136
+ Add interface.finalize - things that need to be done before quit
137
+ or
138
+ restart.
139
+
140
+ 2008-01-05 21:16 Rocky Bernstein
141
+
142
+ * trunk/ChangeLog, trunk/bin/rdebug,
143
+ trunk/cli/ruby-debug/interface.rb,
144
+ trunk/cli/ruby-debug/processor.rb, ChangeLog,
145
+ trunk/lib/ChangeLog, trunk/test/annotate.right,
146
+ trunk/test/output.cmd, trunk/test/output.right,
147
+ trunk/test/quit.right, trunk/test/tdebug.rb,
148
+ trunk/test/test-output.rb: More work to make annotate more like
149
+ gdb's. starting/stopping/exiting
150
+ should be more similar. Some code has been commented out until we
151
+ get
152
+ the Emacs interface to match. See "FIXME: ANNOTATE" in
153
+ processor.rb.
154
+ Also regression tests for output and annotate currently fail for
155
+ this
156
+ reason.
157
+
158
+ 2008-01-02 20:35 Rocky Bernstein
159
+
160
+ * trunk/ChangeLog, trunk/cli/ruby-debug/commands/breakpoints.rb,
161
+ trunk/cli/ruby-debug/helper.rb, ChangeLog, trunk/lib/ChangeLog:
162
+ helper.rb: add regexp for a position. TODO: add parsing routine
163
+ and use in
164
+ various commands
165
+
166
+ 2008-01-02 14:41 Rocky Bernstein
167
+
168
+ * trunk/ChangeLog, trunk/cli/ruby-debug/processor.rb,
169
+ trunk/emacs/rdebug.el, ChangeLog, trunk/lib/ChangeLog,
170
+ trunk/test/annotate.right: processor.rb: Redo where
171
+ starting/exiting annotations are done.
172
+ rdebug.el: back off on setting output command for now.
173
+
174
+ 2008-01-01 15:23 Rocky Bernstein
175
+
176
+ * trunk/ChangeLog, trunk/bin/rdebug, ChangeLog,
177
+ trunk/lib/ChangeLog: Fix --emacs to do --no-quit properly.
178
+
179
+ 2008-01-01 09:00 Rocky Bernstein
180
+
181
+ * trunk/ChangeLog, ChangeLog, breakpoint.c, ruby_debug.c,
182
+ ruby_debug.h, trunk/lib/ChangeLog: Remove RDoc warnings caused
183
+ because C files have been split up.
184
+
185
+ 2008-01-01 05:51 Rocky Bernstein
186
+
187
+ * trunk/ChangeLog, trunk/emacs/Makefile.am,
188
+ trunk/emacs/test/test-indent.el,
189
+ trunk/emacs/test/test-reindent.el, ChangeLog,
190
+ trunk/lib/ChangeLog: reindent -> indent. Makefile.am: wasn't
191
+ including all test files.
192
+
193
+ 2007-12-31 06:26 Rocky Bernstein
194
+
195
+ * trunk/ChangeLog, trunk/Rakefile, ChangeLog, trunk/lib/ChangeLog:
196
+ Rakefile: add spit-off C files to ruby-debug-base gem.
197
+
198
+ 2007-12-31 06:23 Rocky Bernstein
199
+
200
+ * trunk/ChangeLog, trunk/emacs/rdebug-test-cmd.el, ChangeLog,
201
+ trunk/lib/ChangeLog: rdebug-test-cmd.el: Indentation
202
+
203
+ 2007-12-31 06:20 Rocky Bernstein
204
+
205
+ * breakpoint.c: Was missing check_breakpoint_expression().
206
+
207
+ 2007-12-31 06:06 Rocky Bernstein
208
+
209
+ * ChangeLog, breakpoint.c, ruby_debug.c, ruby_debug.h: Split off
210
+ breakpoint code from ruby_debug.c; add common ruby_debug.h
211
+ header Alas this means some statics are now externs and one
212
+ inline was
213
+ dropped. In some cases though moving static to extern might be
214
+ desirable for other packages that want to hook into ruby_debug.
215
+ Start to preface the global ruby_debug variables with rdebug.
216
+
217
+ 2007-12-29 13:31 Rocky Bernstein
218
+
219
+ * trunk/ChangeLog, trunk/bin/rdebug,
220
+ trunk/cli/ruby-debug/command.rb, ChangeLog, trunk/lib/ChangeLog,
221
+ trunk/test/helper.rb, trunk/test/noquit.right,
222
+ trunk/test/null.rb, trunk/test/quit.cmd, trunk/test/quit.right,
223
+ trunk/test/tdebug.rb: Remove looping on quit. "-n" is broken so
224
+ remove it for now.
225
+
226
+ 2007-12-28 15:33 Rocky Bernstein
227
+
228
+ * trunk/ChangeLog, trunk/cli/ruby-debug/commands/display.rb,
229
+ trunk/cli/ruby-debug/commands/info.rb,
230
+ trunk/cli/ruby-debug/processor.rb, ChangeLog,
231
+ trunk/lib/ChangeLog, trunk/test/annotate.right,
232
+ trunk/test/display.cmd, trunk/test/display.right: info.rb:
233
+ Incorrect test for no display expressions.
234
+ display.rb: Grammar thing.
235
+ processor.rb: Slightly cleaner code
236
+ test/* more/better tests.
237
+
238
+ 2007-12-27 21:03 Rocky Bernstein
239
+
240
+ * trunk/ChangeLog, trunk/emacs/rdebug-track.el, ChangeLog,
241
+ trunk/lib/ChangeLog: Be more agressive about resetting
242
+ gud-last-frame and
243
+ gud-last-last-frame. These foul up tracking when debugging is
244
+ interrupted.
245
+ We probably need a special "reset" command.
246
+
247
+ 2007-12-26 18:35 Rocky Bernstein
248
+
249
+ * trunk/ChangeLog, ChangeLog, ruby_debug.c, trunk/lib/ChangeLog:
250
+ Version number games - maybe 0.10.1 is better.
251
+
252
+ 2007-12-26 00:04 Rocky Bernstein
253
+
254
+ * ruby_debug.c: 2nd attempt to deal with *both* problems Timur
255
+ reported.
256
+
257
+ 1. Catchpoint is never called when program raises an object of
258
+ type
259
+ Exception. So, my exceptional breakpoints doesn't work for
260
+ Exception
261
+ class.
262
+
263
+
264
+ 2. When SystemExit exception is raised debugger become stopped
265
+ and
266
+ stop method is called as many times, as a number of threads
267
+ running in
268
+ application. For example, in next code debugger become stopped in
269
+ rescue block, but program continues its execution.
270
+
271
+ 2007-12-25 23:40 Rocky Bernstein
272
+
273
+ * trunk/ChangeLog, trunk/cli/ruby-debug/commands/stepping.rb,
274
+ trunk/doc/ruby-debug.texi, ChangeLog, trunk/lib/ChangeLog,
275
+ trunk/test/stepping.cmd, trunk/test/stepping.right: Add step- and
276
+ step+. Document as well as the new toggle command.
277
+
278
+ 2007-12-25 23:36 Rocky Bernstein
279
+
280
+ * ruby_debug.c: Expermimental patch to address a problems reported
281
+ by Timur Shipilov,
282
+ Software engineer, Xored Software Inc.:
283
+
284
+ When SystemExit exception is raised debugger become stopped and
285
+ stop method is called as many times, as a number of threads
286
+ running in
287
+ application. For example, in next code debugger become stopped in
288
+ rescue block, but program continues its execution.
289
+
290
+ Example:
291
+
292
+ # Stuff to set up debugger
293
+ begin
294
+ # if you throw another Exception here, all will be fine
295
+ exit
296
+ sleep 20
297
+ rescue Exception
298
+ puts 'This line is not traced'
299
+ end
300
+ puts 'And this too'
301
+
302
+ # Debugger.stop was implicitly called when SystemExit exception
303
+ was thrown
304
+ # So, there will be an runtime error
305
+ Debugger.stop
306
+
307
+ 2007-12-25 09:55 Rocky Bernstein
308
+
309
+ * trunk/ChangeLog, trunk/cli/ruby-debug/commands/stepping.rb,
310
+ trunk/doc/ruby-debug.texi, trunk/emacs/rdebug-core.el, ChangeLog,
311
+ trunk/lib/ChangeLog: Small doc fixes.
312
+
313
+ 2007-12-25 07:51 Rocky Bernstein
314
+
315
+ * trunk/ChangeLog, ChangeLog, trunk/lib/ChangeLog: Last commit
316
+ before 0.10.0 release.
317
+
318
+ 2007-12-25 02:51 Rocky Bernstein
319
+
320
+ * trunk/AUTHORS, trunk/ChangeLog, trunk/README, ChangeLog,
321
+ trunk/lib/ChangeLog, trunk/test/breakpoints.cmd,
322
+ trunk/test/breakpoints.right: breakpoints.*: main -> Object. Add
323
+ bad Class name test
324
+ AUTHOR: Add Anders
325
+ README: note ruby-debug-extra. More precise (I think)
326
+
327
+ 2007-12-24 00:25 Rocky Bernstein
328
+
329
+ * trunk/ChangeLog, trunk/Rakefile, ChangeLog, trunk/lib/ChangeLog:
330
+ Rakefile: set up gem unit test for ruby-debug-base. Add file in
331
+ test/
332
+ so we could do the same for ruby-debug were it not for other
333
+ mysterious
334
+ problems.
335
+
336
+ 2007-12-23 17:33 Rocky Bernstein
337
+
338
+ * trunk/CHANGES, trunk/ChangeLog, trunk/Makefile.am,
339
+ trunk/Rakefile, trunk/doc, ChangeLog, trunk/lib/ChangeLog,
340
+ trunk/svn2cl_usermap, trunk/test/test-columnize.rb,
341
+ trunk/test/test-ruby-debug-base.rb,
342
+ trunk/test/test-ruby-debug.rb: Go over packaging:
343
+ ChangeLogs for ruby-debug-base (in ext and lib) separate from CLI
344
+ ChangeLog
345
+ ChangeLogs now map userid to names
346
+ ruby-debug-base regression test included in ruby-debug-base
347
+ Columnize test separated. (It will disappear when ruby-debug
348
+ requires it
349
+ as an external)
350
+
351
+ 2007-12-17 05:43 Rocky Bernstein
352
+
353
+ * ruby_debug.c: Doc typo.
354
+
355
+ 2007-12-16 21:31 Rocky Bernstein
356
+
357
+ * trunk, trunk/ChangeLog, trunk/cli/ruby-debug/commands/info.rb,
358
+ trunk/doc, trunk/emacs, ., trunk/lib/ruby-debug-base.rb,
359
+ trunk/test/helper.rb, trunk/test/info-var-bug.rb,
360
+ trunk/test/info-var.cmd, trunk/test/info-var.right,
361
+ trunk/test/runall, trunk/test/test-breakpoints.rb,
362
+ trunk/test/test-display.rb, trunk/test/test-help.rb,
363
+ trunk/test/test-info-var.rb: Add "info variables test".
364
+
365
+ ruby-debug-base.rb: Not sure how test(?M, file) ever worked
366
+ before but change
367
+ to use File.stat(file).mtime
368
+ info.rb: ignore debugger variables which are sometimes set.
369
+
370
+ 2007-12-14 11:56 Rocky Bernstein
371
+
372
+ * trunk/configure.ac, trunk/doc/ruby-debug.texi, ruby_debug.c:
373
+ Change version to 0.10.0
374
+
375
+ 2007-12-14 03:22 Rocky Bernstein
376
+
377
+ * trunk/CHANGES, trunk/configure.ac, trunk/doc/rdebug.1,
378
+ trunk/doc/ruby-debug.texi, ruby_debug.c: ruby-debug.c,
379
+ configure.ac, ruby-debug.texi: Up version to 0.9.9
380
+ rdebug.1: document --no-quit
381
+ ruby-debu.texi: More work on Emacs section.
382
+
383
+ 2007-12-02 21:47 Rocky Bernstein
384
+
385
+ * trunk/cli/ruby-debug/commands/enable.rb,
386
+ trunk/cli/ruby-debug/commands/info.rb,
387
+ trunk/emacs/rdebug-test.el, trunk/emacs/rdebug.el, ruby_debug.c,
388
+ trunk/test/breakpoints.cmd, trunk/test/breakpoints.right: Allow
389
+ enabling/disabling breakpoints. Add unit test of
390
+ enabling/disabling and
391
+ emacs regexp checking. Adjust rdebug.el accordingly.
392
+
393
+ 2007-11-24 11:01 Rocky Bernstein
394
+
395
+ * ruby_debug.c: Some documentation typos.
396
+
397
+ 2007-11-24 04:07 Rocky Bernstein
398
+
399
+ * ruby_debug.c: Ooops, forgot to do frame_locals and update the
400
+ rb_define_method
401
+ argument count in a couple of places.
402
+
403
+ 2007-11-24 03:00 Rocky Bernstein
404
+
405
+ * trunk/Rakefile, trunk/doc/Makefile.am, trunk/doc/ruby-debug.texi,
406
+ ruby_debug.c, trunk/test/test-ruby-debug.rb: ruby_debug.c:
407
+ context.frame things now allow the frame postion number to be
408
+ optional. We'll assume 0 (the top) as the default.
409
+
410
+ test-ruby-debug.rb: add tests of the above an of these routines
411
+ in general. Make this
412
+ be able to run outside of rake.
413
+
414
+ Rakefile: Removed emacs/elisp since that's now part of a
415
+ different package.
416
+
417
+ doc/Makefile.am: Make manual page
418
+
419
+ doc/ruby-debug.texi: try to clarify blocks/frames. Redo incorrect
420
+ frame passages as a result of vestiges of the bashdb manual.
421
+
422
+ 2007-11-15 19:03 Rocky Bernstein
423
+
424
+ * ruby_debug.c: Fix misspelling of declared.
425
+
426
+ 2007-10-12 01:45 Rocky Bernstein
427
+
428
+ * ruby_debug.c, trunk/test/breakpoints.cmd: Bug in setting a
429
+ breakpoint at a main method (e.g. main.gcd). Inside
430
+ breakpoint_by method we seem to get nil for the class name. The
431
+ fix
432
+ here is to change that to the string "main". Better might be to
433
+ have
434
+ that class name not be nil.
435
+
436
+ test/breakpoints.cmd has a sequence of commands that when run on
437
+ gcd.rb will show the problem.
438
+
439
+ 2007-08-05 22:10 Rocky Bernstein
440
+
441
+ * ruby_debug.c: Typo.
442
+
443
+ 2007-08-04 13:36 Rocky Bernstein
444
+
445
+ * trunk/cli/ruby-debug/command.rb,
446
+ trunk/cli/ruby-debug/commands/display.rb,
447
+ trunk/cli/ruby-debug/commands/eval.rb,
448
+ trunk/cli/ruby-debug/commands/settings.rb,
449
+ trunk/cli/ruby-debug/commands/show.rb,
450
+ trunk/cli/ruby-debug/commands/stepping.rb,
451
+ trunk/cli/ruby-debug/processor.rb, trunk/doc/ruby-debug.texi,
452
+ ruby_debug.c: settings, processor, show: display expressions
453
+ should be shown when line tracing. To this end change always_run
454
+ from
455
+ a boolean on integer "level" number.
456
+
457
+ eval.rb pc -> putl
458
+
459
+ ruby_debug.c: replace a non-word in a comment its equivalent
460
+ ruby-debug.texi: document recent changes pc->putl, display
461
+ expresions appear when line tracing
462
+
463
+ 2007-07-21 13:54 Rocky Bernstein
464
+
465
+ * trunk/cli/ruby-debug/command.rb, ruby_debug.c, trunk/runner.sh:
466
+ Changes to make ruby-debug work for 1.9 (at least minimally).
467
+ ruby_debug.c: parameter saving seems to have a bug in it. Don't
468
+ turn on by default.
469
+ runner.sh: set which ruby using environment variable RUBY.
470
+
471
+ 2007-07-19 03:08 Rocky Bernstein
472
+
473
+ * trunk/cli/ruby-debug/command.rb,
474
+ trunk/cli/ruby-debug/commands/eval.rb,
475
+ trunk/cli/ruby-debug/commands/frame.rb,
476
+ trunk/cli/ruby-debug/commands/settings.rb,
477
+ trunk/cli/ruby-debug/commands/show.rb, ruby_debug.c: Add "set"
478
+ option to save scalar values and class names on each call.
479
+ Add pc (print columnized) and ps (print sorted columnized).
480
+
481
+ 2007-06-21 10:39 Rocky Bernstein
482
+
483
+ * trunk/Rakefile, trunk/cli/ruby-debug/command.rb,
484
+ trunk/cli/ruby-debug/commands/script.rb,
485
+ trunk/doc/ruby-debug.texi, ruby_debug.c,
486
+ trunk/test/test-ruby-debug.rb: test-ruby-debug.rb, Rakefile:
487
+ revise so "rake test" works with recent reorganization.
488
+ ruby-debug.c: remove unused variable declaration (and compile
489
+ warning)
490
+ command.rb: remove a warning given when "$DEBUG" or warnings are
491
+ set
492
+ script.rb: rename "script" to "source" to be more in line with
493
+ gdb
494
+ ruby-debug.texi: document "source" command, .rdebugrc and how
495
+ command files
496
+ work.
497
+
498
+ 2007-06-05 16:36 Kent Sibilev
499
+
500
+ * trunk/bin/rdebug, trunk/cli/ruby-debug/command.rb,
501
+ trunk/cli/ruby-debug/commands/breakpoints.rb,
502
+ trunk/cli/ruby-debug/commands/control.rb,
503
+ trunk/cli/ruby-debug/commands/display.rb,
504
+ trunk/cli/ruby-debug/commands/eval.rb,
505
+ trunk/cli/ruby-debug/commands/frame.rb,
506
+ trunk/cli/ruby-debug/commands/help.rb,
507
+ trunk/cli/ruby-debug/commands/info.rb,
508
+ trunk/cli/ruby-debug/commands/method.rb,
509
+ trunk/cli/ruby-debug/commands/script.rb,
510
+ trunk/cli/ruby-debug/commands/settings.rb,
511
+ trunk/cli/ruby-debug/commands/show.rb,
512
+ trunk/cli/ruby-debug/commands/stepping.rb,
513
+ trunk/cli/ruby-debug/commands/threads.rb,
514
+ trunk/cli/ruby-debug/commands/variables.rb,
515
+ trunk/cli/ruby-debug/interface.rb,
516
+ trunk/cli/ruby-debug/processor.rb, ruby_debug.c,
517
+ trunk/lib/ruby-debug-base.rb: code reorganization.
518
+ reverted 'run' command.
519
+
520
+ 2007-06-05 03:48 Kent Sibilev
521
+
522
+ * trunk/cli/ruby-debug/command.rb,
523
+ trunk/cli/ruby-debug/commands/control.rb, ruby_debug.c: tabs to
524
+ spaces
525
+ changed copy.args to play nicely with GC
526
+
527
+ 2007-06-03 02:44 Rocky Bernstein
528
+
529
+ * trunk/bin/rdebug, trunk/cli/ruby-debug/commands/control.rb,
530
+ trunk/cli/ruby-debug/processor.rb, ruby_debug.c: Get warm restart
531
+ working for one thread - it might even work on OSX ;-)
532
+
533
+ 2007-05-25 07:48 Rocky Bernstein
534
+
535
+ * trunk/cli/ruby-debug/command.rb, ruby_debug.c: Have to back off
536
+ from showing parameter values since we are showing the
537
+ dynamic value. So instead we show the paramater class.
538
+
539
+ It should be possible to show the value however if
540
+ --keep-frame-bindings is
541
+ true.
542
+
543
+ 2007-05-24 13:03 Rocky Bernstein
544
+
545
+ * branches/rocky, branches/rocky/Rakefile,
546
+ branches/rocky/cli/ruby-debug/command.rb,
547
+ branches/rocky/cli/ruby-debug/commands/frame.rb,
548
+ branches/rocky/cli/ruby-debug/commands/help.rb,
549
+ branches/rocky/cli/ruby-debug/commands/method.rb,
550
+ branches/rocky/cli/ruby-debug/commands/settings.rb,
551
+ branches/rocky/cli/ruby-debug/commands/threads.rb,
552
+ branches/rocky/cli/ruby-debug/commands/variables.rb,
553
+ branches/rocky/ext/ruby_debug.c, trunk/Rakefile,
554
+ trunk/cli/ruby-debug/command.rb,
555
+ trunk/cli/ruby-debug/commands/frame.rb,
556
+ trunk/cli/ruby-debug/commands/help.rb,
557
+ trunk/cli/ruby-debug/commands/method.rb,
558
+ trunk/cli/ruby-debug/commands/settings.rb,
559
+ trunk/cli/ruby-debug/commands/threads.rb,
560
+ trunk/cli/ruby-debug/commands/variables.rb, ruby_debug.c: Add
561
+ sandbox for rocky to work in
562
+
563
+ 2007-05-17 03:55 Kent Sibilev
564
+
565
+ * ruby_debug.c: removed debug message
566
+
567
+ 2007-05-09 16:56 Kent Sibilev
568
+
569
+ * trunk/CHANGES, trunk/bin/rdebug, ruby_debug.c: '-r' option can be
570
+ used to require additional libraries
571
+
572
+ 2007-04-27 06:07 Kent Sibilev
573
+
574
+ * ruby_debug.c: Ctrl-C exits irb and continutes execution bypassing
575
+ the debugger prompt
576
+
577
+ 2007-04-07 23:21 Kent Sibilev
578
+
579
+ * ruby_debug.c: removed wrong if node check
580
+
581
+ 2007-04-04 20:23 Kent Sibilev
582
+
583
+ * trunk/CHANGES, ruby_debug.c: added hit conditions to breakpoints
584
+
585
+ 2007-04-03 18:05 Kent Sibilev
586
+
587
+ * ruby_debug.c: Fixed file comparision on Windows platform
588
+
589
+ 2007-04-03 01:48 Kent Sibilev
590
+
591
+ * trunk/CHANGES, trunk/cli/ruby-debug/command.rb,
592
+ trunk/cli/ruby-debug/commands/settings.rb,
593
+ trunk/cli/ruby-debug/commands/stepping.rb, ruby_debug.c: Added
594
+ force parameter to stepping commands
595
+
596
+ 2007-04-03 01:16 Kent Sibilev
597
+
598
+ * trunk/CHANGES, trunk/cli/ruby-debug/commands/stepping.rb,
599
+ ruby_debug.c: added force option to Context#step_over
600
+
601
+ 2007-04-02 20:55 Kent Sibilev
602
+
603
+ * trunk/CHANGES, trunk/cli/ruby-debug/commands/breakpoints.rb,
604
+ ruby_debug.c: fixed incorrect stack calculation
605
+ break help fix
606
+
607
+ 2007-03-30 08:03 Kent Sibilev
608
+
609
+ * ruby_debug.c:
610
+
611
+ 2007-03-30 07:40 Kent Sibilev
612
+
613
+ * ruby_debug.c:
614
+
615
+ 2007-03-30 07:39 Kent Sibilev
616
+
617
+ * ruby_debug.c:
618
+
619
+ 2007-03-30 07:21 Kent Sibilev
620
+
621
+ * trunk/CHANGES, ruby_debug.c: All Ruby's 'eval' and require/load
622
+ methods create a new frame.
623
+
624
+ 2007-03-29 02:09 Kent Sibilev
625
+
626
+ * trunk/CHANGES, trunk/cli/ruby-debug/command.rb,
627
+ trunk/cli/ruby-debug/commands/frame.rb,
628
+ trunk/cli/ruby-debug/commands/settings.rb, ruby_debug.c: Added
629
+ new Context.frame_class method
630
+
631
+ 'frame' command will display a class name along with method name
632
+
633
+ Added new 'fullpath' setting.
634
+
635
+ 2007-03-29 00:45 Kent Sibilev
636
+
637
+ * trunk/CHANGES, ruby_debug.c: too many internal changes require a
638
+ new major release
639
+
640
+ 2007-03-29 00:27 Kent Sibilev
641
+
642
+ * ruby_debug.c: remove useless stops when performing 'step_over'
643
+ operation
644
+
645
+ 2007-03-28 20:36 Kent Sibilev
646
+
647
+ * trunk/CHANGES, trunk/cli/ruby-debug/commands/stepping.rb,
648
+ ruby_debug.c: Added the possibility to add a temporary
649
+ context-specific breakpoint.
650
+
651
+ Context#breakpoint and Context#set_breakpoint methods are added.
652
+
653
+ 'cont' command now accepts a numerical parameter which implements
654
+ 'Continue until line' behavior.
655
+
656
+ 2007-03-27 23:26 Kent Sibilev
657
+
658
+ * ruby_debug.c: fixed previous optimization for Proc objects
659
+
660
+ 2007-03-27 23:22 Kent Sibilev
661
+
662
+ * ruby_debug.c: we don't need to create a new frame if there is no
663
+ block for a c-call
664
+
665
+ 2007-03-27 23:08 Kent Sibilev
666
+
667
+ * trunk/CHANGES, ruby_debug.c: Calling a method with a block will
668
+ create a new frame. This changes the behavior of 'next' command.
669
+ So in order to step into a block, 'step' command must be used.
670
+ That fixes bug #9629.
671
+
672
+ 2007-03-27 22:50 Kent Sibilev
673
+
674
+ * ruby_debug.c: step over shouldn't check that we moved to another
675
+ line
676
+
677
+ 2007-03-26 14:27 Kent Sibilev
678
+
679
+ * ruby_debug.c: ditto
680
+
681
+ 2007-03-26 02:51 Kent Sibilev
682
+
683
+ * ruby_debug.c: the frame must be captured when calling Proc#call
684
+ method
685
+
686
+ 2007-03-24 18:17 Kent Sibilev
687
+
688
+ * branches/stable, trunk: stable becomes the trunk
689
+
690
+ 2007-03-24 18:03 Kent Sibilev
691
+
692
+ * branches/stable/ext/ruby_debug.c: ported stop reason from the
693
+ trunk
694
+
695
+ 2007-03-19 07:46 Kent Sibilev
696
+
697
+ * branches/stable/cli/debugger.rb,
698
+ branches/stable/cli/ruby-debug.rb,
699
+ branches/stable/ext/ruby_debug.c: fixes processor to handler
700
+ renaming
701
+ added a shortcut module
702
+
703
+ 2007-02-27 08:02 Kent Sibilev
704
+
705
+ * branches/stable/Rakefile, branches/stable/cli,
706
+ branches/stable/cli/ruby-debug,
707
+ branches/stable/cli/ruby-debug/command.rb,
708
+ branches/stable/cli/ruby-debug/commands,
709
+ branches/stable/cli/ruby-debug/interface.rb,
710
+ branches/stable/cli/ruby-debug/processor.rb,
711
+ branches/stable/ext/ruby_debug.c,
712
+ branches/stable/lib/ruby-debug-base.rb,
713
+ branches/stable/lib/ruby-debug.rb,
714
+ branches/stable/lib/ruby-debug/command.rb,
715
+ branches/stable/lib/ruby-debug/commands,
716
+ branches/stable/lib/ruby-debug/interface.rb,
717
+ branches/stable/lib/ruby-debug/processor.rb: repackaging
718
+ ruby-debug
719
+
720
+ 2007-02-23 20:56 Kent Sibilev
721
+
722
+ * branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
723
+ branches/stable/lib/ruby-debug.rb: added an option for
724
+ Debugger.debug_load to stop at the first line of code
725
+
726
+ 2007-02-09 16:56 Kent Sibilev
727
+
728
+ * branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
729
+ branches/stable/lib/ruby-debug.rb: in remote mode the debugger
730
+ shouldn't stop inside of rdebug script
731
+
732
+ 2007-02-07 02:42 Kent Sibilev
733
+
734
+ * branches/stable/ext/ruby_debug.c,
735
+ branches/stable/lib/ruby-debug/commands/threads.rb,
736
+ branches/stable/lib/ruby-debug/processor.rb: should use ignored?
737
+ method to check for the debugger's thread
738
+
739
+ 2007-02-05 20:34 Kent Sibilev
740
+
741
+ * branches/stable/ext, branches/stable/ext/ruby_debug.c,
742
+ branches/stable/ext/win32: --
743
+
744
+ 2007-02-05 20:16 Kent Sibilev
745
+
746
+ * branches/stable/ext/ruby_debug.c,
747
+ branches/stable/lib/ruby-debug/commands/frame.rb: fixed another
748
+ issue where a bogus frame is being left in the stack
749
+
750
+ 2007-02-05 08:08 Kent Sibilev
751
+
752
+ * branches/stable/ext/ruby_debug.c: should save frame id as well
753
+
754
+ 2007-02-05 07:55 Kent Sibilev
755
+
756
+ * branches/stable/ext/ruby_debug.c: fix stack corruption error
757
+
758
+ 2007-02-05 01:16 Kent Sibilev
759
+
760
+ * branches/stable/ext/ruby_debug.c: store frame's self and
761
+ dyna_vars along with file/line information
762
+
763
+ 2007-02-04 23:36 Kent Sibilev
764
+
765
+ * branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
766
+ branches/stable/lib/ruby-debug/commands/settings.rb: seg fault
767
+ bugfixes
768
+ fixed suspend/resume
769
+
770
+ 2007-02-04 05:06 Kent Sibilev
771
+
772
+ * branches/stable/ext/ruby_debug.c: restore prev patch
773
+
774
+ 2007-02-04 03:49 Kent Sibilev
775
+
776
+ * branches/stable/ext/ruby_debug.c: --
777
+
778
+ 2007-02-04 03:49 Kent Sibilev
779
+
780
+ * branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
781
+ branches/stable/lib/ruby-debug.rb: A better fix for the
782
+ segmentation fault
783
+
784
+ 2007-02-03 22:02 Kent Sibilev
785
+
786
+ * branches/stable/ext/ruby_debug.c: found a better patch
787
+
788
+ 2007-02-03 20:24 Kent Sibilev
789
+
790
+ * branches/stable/ext/ruby_debug.c,
791
+ branches/stable/lib/ruby-debug.rb,
792
+ branches/stable/lib/ruby-debug/processor.rb: fix seg fault by
793
+ avoiding ruby's bug
794
+ fixed Context#resume
795
+ when handling post-mortem all threads must be suspended
796
+
797
+ 2007-02-02 18:47 Kent Sibilev
798
+
799
+ * branches/stable/ext/ruby_debug.c,
800
+ branches/stable/lib/ruby-debug/commands/frame.rb: removed
801
+ ambiguity with down command
802
+
803
+ 2007-02-01 22:15 Kent Sibilev
804
+
805
+ * branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
806
+ branches/stable/lib/ruby-debug/commands/eval.rb: made eval
807
+ command available from the control thread
808
+
809
+ 2007-02-01 17:30 Kent Sibilev
810
+
811
+ * branches/stable/ext/ruby_debug.c: fixed dllexport for windows
812
+ platform
813
+
814
+ 2007-02-01 15:49 Kent Sibilev
815
+
816
+ * branches/stable/ext/ruby_debug.c: ditto
817
+
818
+ 2007-02-01 07:22 Kent Sibilev
819
+
820
+ * branches/stable/ext/ruby_debug.c,
821
+ branches/stable/lib/ruby-debug/command.rb,
822
+ branches/stable/lib/ruby-debug/commands/breakpoints.rb,
823
+ branches/stable/lib/ruby-debug/commands/eval.rb,
824
+ branches/stable/lib/ruby-debug/commands/frame.rb,
825
+ branches/stable/lib/ruby-debug/commands/list.rb,
826
+ branches/stable/lib/ruby-debug/commands/settings.rb,
827
+ branches/stable/lib/ruby-debug/commands/threads.rb: added setting
828
+ command
829
+ added Context#suspended? method
830
+ dispay suspended status in the thread list
831
+ display frame starting from zero
832
+
833
+ 2007-01-31 22:12 Kent Sibilev
834
+
835
+ * branches/stable/ext/ruby_debug.c: store object ids in VALUE type
836
+
837
+ 2007-01-31 21:04 Kent Sibilev
838
+
839
+ * branches/stable/ext/ruby_debug.c: ditto
840
+
841
+ 2007-01-31 20:44 Kent Sibilev
842
+
843
+ * branches/stable/ext/ruby_debug.c: make a deep copy when capturing
844
+ post mortem context
845
+
846
+ 2007-01-31 19:39 Kent Sibilev
847
+
848
+ * branches/stable/ext/ruby_debug.c,
849
+ branches/stable/lib/ruby-debug/command.rb: fixed frame count
850
+ added frame_self method to context
851
+
852
+ 2007-01-31 16:48 Kent Sibilev
853
+
854
+ * branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
855
+ branches/stable/lib/ruby-debug.rb,
856
+ branches/stable/lib/ruby-debug/command.rb,
857
+ branches/stable/lib/ruby-debug/commands/eval.rb,
858
+ branches/stable/lib/ruby-debug/commands/frame.rb,
859
+ branches/stable/lib/ruby-debug/commands/irb.rb,
860
+ branches/stable/lib/ruby-debug/commands/variables.rb,
861
+ branches/stable/lib/ruby-debug/processor.rb: removed all
862
+ references to frames array
863
+ fixed post-mortem debugging
864
+
865
+ 2007-01-31 00:41 Kent Sibilev
866
+
867
+ * branches/stable/ext/ruby_debug.c,
868
+ branches/stable/lib/ruby-debug.rb,
869
+ branches/stable/lib/ruby-debug/commands/frame.rb,
870
+ branches/stable/lib/ruby-debug/commands/variables.rb,
871
+ branches/stable/lib/ruby-debug/processor.rb: refactored out frame
872
+ class and preallocate stack
873
+ made local variable available even when bindings are not
874
+ collected.
875
+
876
+ 2007-01-28 06:22 Kent Sibilev
877
+
878
+ * branches/stable/AUTHORS, branches/stable/CHANGES,
879
+ branches/stable/Rakefile, branches/stable/ext/ruby_debug.c,
880
+ branches/stable/lib/ruby-debug/commands/frame.rb: - Control
881
+ thread is always started by rdebug script.
882
+ - Ability to specify negative frame number to frame commands.
883
+ Patch from R. Bernstein.
884
+
885
+ 2007-01-28 04:59 Kent Sibilev
886
+
887
+ * branches/stable/ext/ruby_debug.c: --
888
+
889
+ 2007-01-28 04:52 Kent Sibilev
890
+
891
+ * branches/stable/CHANGES, branches/stable/bin/rdebug,
892
+ branches/stable/ext/ruby_debug.c,
893
+ branches/stable/lib/ruby-debug.rb,
894
+ branches/stable/lib/ruby-debug/commands/control.rb: added top
895
+ frame caching
896
+ control thread is always started by rdebug script
897
+
898
+ 2007-01-28 01:21 Kent Sibilev
899
+
900
+ * branches/stable/CHANGES, branches/stable/ext/ruby_debug.c:
901
+
902
+ 2007-01-27 01:43 Kent Sibilev
903
+
904
+ * branches/stable/bin/rdebug, branches/stable/ext/ruby_debug.c,
905
+ branches/stable/lib/ruby-debug.rb,
906
+ branches/stable/lib/ruby-debug/command.rb,
907
+ branches/stable/lib/ruby-debug/commands/frame.rb,
908
+ branches/stable/lib/ruby-debug/commands/stepping.rb,
909
+ branches/stable/lib/ruby-debug/commands/threads.rb,
910
+ branches/stable/lib/ruby-debug/commands/tmate.rb,
911
+ branches/stable/lib/ruby-debug/processor.rb: another performance
912
+ optimization
913
+
914
+ 2007-01-26 19:31 Kent Sibilev
915
+
916
+ * branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
917
+ branches/stable/ext/win32/ruby_debug.so: --
918
+
919
+ 2007-01-26 17:59 Kent Sibilev
920
+
921
+ * branches/stable/ext/ruby_debug.c,
922
+ branches/stable/lib/ruby-debug/commands/breakpoints.rb: revisited
923
+ file name comparing procedure
924
+
925
+ 2007-01-26 09:03 Kent Sibilev
926
+
927
+ * branches/stable/ext/ruby_debug.c,
928
+ branches/stable/lib/ruby-debug/commands/breakpoints.rb:
929
+ performance improvements
930
+
931
+ 2007-01-26 03:12 Kent Sibilev
932
+
933
+ * branches/stable/CHANGES, branches/stable/bin/rdebug,
934
+ branches/stable/ext/ruby_debug.c,
935
+ branches/stable/lib/ruby-debug.rb,
936
+ branches/stable/lib/ruby-debug/command.rb,
937
+ branches/stable/lib/ruby-debug/commands/irb.rb,
938
+ branches/stable/lib/ruby-debug/commands/variables.rb,
939
+ branches/stable/lib/ruby-debug/processor.rb: added option to
940
+ exclude collecting of frame bindings
941
+
942
+ 2007-01-25 01:41 Kent Sibilev
943
+
944
+ * branches/stable/ext/ruby_debug.c: small optimization
945
+
946
+ 2007-01-25 00:55 Kent Sibilev
947
+
948
+ * branches/stable/ext/ruby_debug.c: remove the live thread ref from
949
+ locker structure as well
950
+
951
+ 2007-01-24 20:42 Kent Sibilev
952
+
953
+ * branches/stable/CHANGES, branches/stable/ext/ruby_debug.c: don't
954
+ keep a ref to a live thread.
955
+ check contexts that their threads are alive
956
+
957
+ 2007-01-21 03:34 Kent Sibilev
958
+
959
+ * branches/stable/ext/ruby_debug.c,
960
+ branches/stable/lib/ruby-debug.rb,
961
+ branches/stable/lib/ruby-debug/commands/breakpoints.rb: assign an
962
+ id to the breakpoint
963
+
964
+ 2007-01-21 01:20 Kent Sibilev
965
+
966
+ * branches/stable/ext/ruby_debug.c,
967
+ branches/stable/lib/ruby-debug.rb,
968
+ branches/stable/lib/ruby-debug/interface.rb,
969
+ branches/stable/lib/ruby-debug/processor.rb: added
970
+ post_mortem_method wrap method
971
+
972
+ 2006-12-21 20:30 Kent Sibilev
973
+
974
+ * branches/stable/bin/rdebug,
975
+ branches/stable/ext/win32/ruby_debug.so: fix of restart command
976
+ for windows platform
977
+
978
+ 2006-12-21 13:43 Kent Sibilev
979
+
980
+ * branches/stable/ext/ruby_debug.c,
981
+ branches/stable/ext/win32/ruby_debug.so,
982
+ branches/stable/lib/ruby-debug/commands/trace.rb: fixed trace
983
+ command in post-mortem mode
984
+
985
+ 2006-12-21 01:08 Kent Sibilev
986
+
987
+ * branches/stable/ext/ruby_debug.c,
988
+ branches/stable/ext/win32/ruby_debug.so,
989
+ branches/stable/lib/ruby-debug/commands/irb.rb: fixes irb help
990
+ command
991
+
992
+ 2006-12-20 21:19 Kent Sibilev
993
+
994
+ * branches/stable/ext/ruby_debug.c,
995
+ branches/stable/lib/ruby-debug.rb: check that debugger has been
996
+ started
997
+
998
+ 2006-12-20 20:41 Kent Sibilev
999
+
1000
+ * branches/stable/ext/win32/ruby_debug.so:
1001
+
1002
+ 2006-12-20 20:14 Kent Sibilev
1003
+
1004
+ * branches/stable/ext/ruby_debug.c: bumped version
1005
+
1006
+ 2006-12-20 19:38 Kent Sibilev
1007
+
1008
+ * branches/stable/ext/ruby_debug.c,
1009
+ branches/stable/lib/ruby-debug.rb,
1010
+ branches/stable/lib/ruby-debug/command.rb,
1011
+ branches/stable/lib/ruby-debug/commands/control.rb,
1012
+ branches/stable/lib/ruby-debug/commands/frame.rb,
1013
+ branches/stable/lib/ruby-debug/commands/irb.rb,
1014
+ branches/stable/lib/ruby-debug/commands/stepping.rb,
1015
+ branches/stable/lib/ruby-debug/commands/threads.rb,
1016
+ branches/stable/lib/ruby-debug/commands/tmate.rb,
1017
+ branches/stable/lib/ruby-debug/processor.rb: initial support for
1018
+ post-mortem debugging
1019
+
1020
+ 2006-12-18 08:34 Kent Sibilev
1021
+
1022
+ * branches/stable/ext/ruby_debug.c,
1023
+ branches/stable/lib/ruby-debug.rb,
1024
+ branches/stable/lib/ruby-debug/commands/irb.rb,
1025
+ branches/stable/lib/ruby-debug/commands/list.rb: added irb
1026
+ command
1027
+ fixed source_for method
1028
+
1029
+ 2006-12-01 06:47 Kent Sibilev
1030
+
1031
+ * branches/stable/CHANGES, branches/stable/ext/ruby_debug.c,
1032
+ branches/stable/lib/ruby-debug.rb:
1033
+
1034
+ 2006-11-16 00:01 Kent Sibilev
1035
+
1036
+ * branches/stable: added the new branch for the stable version
1037
+
1038
+ 2006-10-15 22:43 Kent Sibilev
1039
+
1040
+ * branches/ver_0_4_4: branching a stable version
1041
+
1042
+ 2006-10-15 22:26 Kent Sibilev
1043
+
1044
+ * win32/ruby_debug.so, trunk/lib/ruby-debug.rb: remove unused
1045
+ require
1046
+ uploaded new windows binary
1047
+
1048
+ 2006-10-15 21:56 Kent Sibilev
1049
+
1050
+ * ruby_debug.c: Debugger.start yields to the block even if it's
1051
+ already started
1052
+
1053
+ 2006-10-15 16:54 Kent Sibilev
1054
+
1055
+ * ruby_debug.c, trunk/lib/ruby-debug.rb,
1056
+ trunk/lib/ruby-debug/commands/threads.rb: new logic of context
1057
+ suspend/resume
1058
+
1059
+ 2006-10-15 07:36 Kent Sibilev
1060
+
1061
+ * trunk/bin/rdebug, ruby_debug.c, trunk/lib/ruby-debug.rb,
1062
+ trunk/lib/ruby-debug/lock.rb: fixed locking of debugger threads
1063
+
1064
+ 2006-10-14 19:11 Kent Sibilev
1065
+
1066
+ * trunk/Rakefile, ruby_debug.c: make skip status local to a thread
1067
+ instead of globally disabling the debugger.
1068
+
1069
+ 2006-10-09 22:01 Kent Sibilev
1070
+
1071
+ * ruby_debug.c, win32/ruby_debug.so,
1072
+ trunk/lib/ruby-debug/interface.rb: fixes for windows version
1073
+
1074
+ 2006-10-09 19:06 Kent Sibilev
1075
+
1076
+ * trunk/CHANGES, ruby_debug.c, trunk/lib/ruby-debug.rb,
1077
+ trunk/lib/ruby-debug/interface.rb: added Debugger.skip and
1078
+ Debugger.debug_at_exit methods
1079
+
1080
+ 2006-10-09 16:48 Kent Sibilev
1081
+
1082
+ * trunk/.gdb_history, .gdb_history, Makefile, ruby_debug.bundle:
1083
+ remove intermediate files
1084
+
1085
+ 2006-10-09 16:44 Kent Sibilev
1086
+
1087
+ * trunk, trunk/.gdb_history, trunk/CHANGES, trunk/LICENSE,
1088
+ trunk/README, trunk/Rakefile, trunk/bin, trunk/bin/rdebug,
1089
+ trunk/doc, ., .gdb_history, Makefile, extconf.rb,
1090
+ ruby_debug.bundle, ruby_debug.c, win32, win32/ruby_debug.so,
1091
+ trunk/lib, trunk/lib/ruby-debug, trunk/lib/ruby-debug.rb,
1092
+ trunk/lib/ruby-debug/command.rb, trunk/lib/ruby-debug/commands,
1093
+ trunk/lib/ruby-debug/commands/breakpoints.rb,
1094
+ trunk/lib/ruby-debug/commands/catchpoint.rb,
1095
+ trunk/lib/ruby-debug/commands/control.rb,
1096
+ trunk/lib/ruby-debug/commands/display.rb,
1097
+ trunk/lib/ruby-debug/commands/eval.rb,
1098
+ trunk/lib/ruby-debug/commands/frame.rb,
1099
+ trunk/lib/ruby-debug/commands/help.rb,
1100
+ trunk/lib/ruby-debug/commands/list.rb,
1101
+ trunk/lib/ruby-debug/commands/method.rb,
1102
+ trunk/lib/ruby-debug/commands/script.rb,
1103
+ trunk/lib/ruby-debug/commands/stepping.rb,
1104
+ trunk/lib/ruby-debug/commands/threads.rb,
1105
+ trunk/lib/ruby-debug/commands/tmate.rb,
1106
+ trunk/lib/ruby-debug/commands/trace.rb,
1107
+ trunk/lib/ruby-debug/commands/variables.rb,
1108
+ trunk/lib/ruby-debug/interface.rb, trunk/lib/ruby-debug/lock.rb,
1109
+ trunk/lib/ruby-debug/processor.rb: initial import
1110
+