Notes:
- bin/rdebug
* "rdebug --post-mortem" now really catches uncaught exceptions and
brings you to post-mortem handling. "info program" shows the exception.
* rdebug now searches using ENV['PATH'] for a Ruby program to debug
if the program name is not found and doesn't have any path
characters in it.
* Use ~/.rdboptrc (rdbopt.ini on MS Windows) to change default options.
* --emacs is now --emacs-basic while --emacs 3 now implies emacs-basic
---annotate=3 --post-mortem --no-control --no-start --no-quit
- rdebug (CLI)
* "info" command additions and changes:
o fix bug in "info variables" when string had embedded %s'
o "info program" now shows uncaught exception information
o "info files" show what Ruby files are loaded
o "info file <f>" specific file information of <f> (e.g. time, # of lines, SHA1)
o "info catch" - Exceptions that can be caught in the current stack frame.
o "info "variables" shows "self" and class variables
o "info threads verbose" shows stack trace of all threads
o "info thread <t> verbose" shows stack trace of thread <t>.
* "frame" command now accepts an optional thread number argument
* Long information added to commands with subcommands: show, set,
info, enable, and disable. For example "help info <xxx>" will give
more detailed information about the "info <xxx>" command.
* columnize now pulled in from a separate package.
* add "var cl[ass]" command. Note "var const" can no longer be
abbreviated "var c"; use "var co" (or const or constant).
* add "condition" command. Allow removal of condition.
* $0 == __FILE__ when running rdebug should work -- most of the
time. See comments in code for a better solution.
* rdebug command history can be displayed with "show commands". Fix a bug
in history saving.
* INCOMPATIBLE CHANGE: "finish" works like gdb - stop just before the most
recent method finishes. Will now accept a number which stops that many
frames completed. (Note that return line numbers will be funny, the
first line of the method until Ruby 1.8.7.)
* fix bug in 'list' command when wrapping off the end.
- Emacs interaction drastically reworked, expanded, and improved.
- rdebug base
* allow catching multiple exceptions.
INCOMPATIBLE CHANGE: variable "Debugger.catchpoint", a String, was turned
into "Debugger.catchpoints", a Hash. Method "Debugger.catchpoint=" no
longer exists. Debugger.set_catchpoint was turned into
Debugger.add_catchpoint
* Add Debugger.last_exception which is set in post-mortem.
* remove Debugger.stop() when an exception is raised that would terminate the
debugged program. This may allow catchpoints to work and allow tracing user
code which handles "Exit" exceptions
* split off breakpoint code in ruby_debug.c.
* preface ruby_debug global Ruby variables with rdebug_.
* Change Debugger.start() to accept an optional options argument
:init => true saves things (like $0 and ARGV) necessary to
allow restart. Default: true
:post_mortem => true runs post-mortem on an uncaught exception
Default: false
The old Debugger.start() is now renamed to Debugger.start_()
* split of line caching to an external gem. We now only allow setting
breakpoints on lines where it makes sense to do so.
* Incompatible enhancement: even return/end will now call event handler
See ChangeLog for full details, and the reference guide for more complete
documentation of these changes.
Changes:
2008-04-10 08:49 Rocky Bernstein
* ChangeLog, cli/ruby-debug/command.rb, lib/ChangeLog: linecache is
required by ruby-debug-base not ruby-debug. Thanks Martin!
2008-04-10 08:00 Rocky Bernstein
* ChangeLog, Rakefile, lib/ChangeLog: Last change before 0.10.1
release.
2008-04-10 02:03 Rocky Bernstein
* ChangeLog, doc/rdebug-emacs.texi, lib/ChangeLog: Cosmetic stuff:
spelling corrections. Update node structure so texinfo
doesn't complain.
2008-04-09 21:22 Anders Lindgren
* doc/rdebug-emacs.texi: New chapter for multi-window debugging.
Intro reworked. NOTE: Menu nodes not updated.
2008-04-08 19:55 Anders Lindgren
* emacs/rdebug-shortkey.el, emacs/test/test-shortkey.el: Logic in
rdebug-internal-short-key-mode reworked. Test case updated.
2008-04-08 14:52 Rocky Bernstein
* ChangeLog, Rakefile, lib/ChangeLog: autorequire is deprecated and
presumably no longer needed
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/182827
2008-04-08 14:16 Rocky Bernstein
* test/data/raise.right: Another test data line number change
2008-04-08 14:12 Rocky Bernstein
* test/tdebug.rb: tdebug.rb alignment with rdebug
2008-04-08 14:02 Rocky Bernstein
* test/data/linetracep.cmd: Forgot to add this for the linetrace+
test.
2008-04-08 14:01 Rocky Bernstein
* emacs/rdebug-shortkey.el, emacs/test/test-shortkey.el: Attempt a
fix at shortkey internal. There be dragons here. Not sure what's
going on.
2008-04-08 10:23 Rocky Bernstein
* test/data/linetracep.right, test/test-trace.rb: Another linetrace
test. This time with linetrace+ set.
2008-04-08 10:19 Rocky Bernstein
* cli/ruby-debug/processor.rb, test/data/linetrace.cmd,
test/data/linetrace.right, test/test-trace.rb: processor.rb:
Silence possibly more warnings under $DEBUG
test/*: another linetrace test using the linetrace command.
2008-04-08 03:17 Rocky Bernstein
* test/data/output.right, test/data/quit.right: Test line numbers
changed. Sigh
2008-04-08 03:14 Rocky Bernstein
* test/tdebug.rb: Track rdebug.
2008-04-08 03:10 Rocky Bernstein
* test/test-trace.rb: Oops forget this test
2008-04-08 03:09 Rocky Bernstein
* bin/rdebug, cli/ruby-debug/processor.rb, test/data/trace.right,
test/tdebug.rb: Fix bug in --trace. Add regression test for that
as well.
Reduce (but alas not eliminate) extraneous line tracing.
2008-04-07 00:36 Rocky Bernstein
* CHANGES, ChangeLog, emacs/Makefile.am, emacs/rdebug-shortkey.el,
emacs/test/test-shortkey.el, lib/ChangeLog,
lib/ruby-debug-base.rb: ruby-debug-base.rb: document
Debugger.start parameters.
CHANGES: Revise what's happened
test-shortkey.el: A failing regression test because I think
rdebug-shortkey-mode
is not correct.
2008-04-06 03:03 Rocky Bernstein
* bin/rdebug, test/data/test-init-cygwin.right, test/test-init.rb:
Assigning $0 on cygwin seems weird. cygwin readline different too
2008-04-06 02:13 Rocky Bernstein
* test/data/test-init-osx.right, test/test-init.rb: read_command on
OSX seems to work differently. Punt for now.
2008-04-04 19:22 Rocky Bernstein
* cli/ruby-debug/commands/eval.rb: Sometimes remove_method isn't
defined.
2008-04-03 19:13 Rocky Bernstein
* doc/ruby-debug.texi: Small typos.
2008-04-03 19:01 Rocky Bernstein
* ChangeLog, doc/ruby-debug.texi, lib/ChangeLog,
lib/ruby-debug-base.rb, test/pm-base.rb: Allow setting
:post_mortem => true from Debugger.start.
2008-04-03 14:22 Rocky Bernstein
* Rakefile: We'll require linecache 0.4 or better. (Use SVN for
now. Will be released at same time as ruby-debug).
2008-04-03 14:15 Rocky Bernstein
* test/data/annotate.cmd, test/data/annotate.right,
test/data/post-mortem-osx.right, test/test-pm.rb: test-pm.rb,
post-mortem-osx.right: Allow for tmate command on OSX.
annotate.*: make sure 'set force on' doesn't happen.
2008-04-03 12:06 Rocky Bernstein
* cli/ruby-debug/commands/irb.rb: irb is no longer 'experimental'.
2008-04-02 00:50 Rocky Bernstein
* emacs/rdebug-annotate.el, emacs/rdebug-core.el,
emacs/rdebug-shortkey.el: Auto indent.
2008-04-02 00:27 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug-shortkey.el: Short-key mode is
turning itself on rather than off sometimes. More control over
trying to get rid of it when desired.
2008-03-30 03:01 Rocky Bernstein
* doc/ruby-debug.texi: Note that rdebug with test/unit might work.
2008-03-28 13:53 Rocky Bernstein
* ChangeLog, emacs/rdebug-annotate.el, lib/ChangeLog: Don't
unconditionally turn on short-key mode when annotations are on.
Use rdebug-short-key-mode setting to decide.
2008-03-23 17:47 Rocky Bernstein
* ChangeLog, Rakefile, cli/ruby-debug/commands/set.rb,
cli/ruby-debug/commands/settings.rb, lib/ChangeLog: set.rb ->
settings.rb since it's already one command per file, and
remove another :nodoc.
Rakefile: split long line
2008-03-23 04:12 Rocky Bernstein
* cli/ruby-debug/commands/show.rb, emacs/rdebug-core.el:
rdebug-core.el: allow rdebug-reset as an emasc command
show.rb: remove one more :nodoc
2008-03-21 19:04 Rocky Bernstein
* emacs/rdebug-breaks.el, emacs/rdebug-core.el,
emacs/rdebug-gud.el, emacs/test/test-cmd.el: Regularize names a
little bit. More work is needed though.
2008-03-21 18:39 Rocky Bernstein
* emacs/rdebug-breaks.el, emacs/rdebug-gud.el: Clear breakpoint
icons when quitting the debugger.
2008-03-19 19:56 Rocky Bernstein
* doc/ruby-debug.texi: more on --keep-frame-binding (for Martin)
2008-03-19 15:07 Rocky Bernstein
* cli/ruby-debug/commands/list.rb, test/data/list.cmd,
test/data/list.right, test/data/raise.right: Fix bug in "list -":
was scrolling back to negative lines. Had also been skipping
lines in forward list.
2008-03-19 07:36 Rocky Bernstein
* cli/ruby-debug/commands/info.rb: remove 'nodoc' (and doc) from
InfoCommand class
2008-03-19 07:31 Rocky Bernstein
* doc/rdebug-emacs.texi: Spelling correction.
2008-03-19 00:44 Rocky Bernstein
* doc/ruby-debug.texi: Some more spelling corrections.
2008-03-19 00:27 Rocky Bernstein
* doc/ruby-debug.texi: Spell-checking corrections.
2008-03-18 19:47 Rocky Bernstein
* CHANGES: Try to make more readible.
2008-03-18 16:05 Rocky Bernstein
* CHANGES, ChangeLog, cli/ruby-debug/commands/list.rb,
lib/ChangeLog, test/data/list.cmd, test/data/list.right,
test/test-finish.rb, test/test-list.rb: Fix bug in 'list' command
when wrapping off the end.
test-finish.rb: tolerate buggy in Ruby versions <= 1.8.7.
2008-03-18 00:43 Rocky Bernstein
* cli/ruby-debug/commands/list.rb,
cli/ruby-debug/commands/reload.rb: Split off reload into its own
file.
2008-03-17 14:29 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-annotate.el, emacs/rdebug-cmd.el,
emacs/rdebug-fns.el, emacs/rdebug-locring.el,
emacs/rdebug-shortkey.el, emacs/rdebug-source.el,
emacs/rdebug-track.el, emacs/rdebug-vars.el,
emacs/test/test-fns.el: Regularize location ring function names.
2008-03-17 04:03 Rocky Bernstein
* cli/ruby-debug/command.rb, cli/ruby-debug/commands/stepping.rb,
test/data/stepping.right: stepping.rb: don't step if invalid
parameter
command.rb: remove dupliate defined warning msg
2008-03-17 03:34 Rocky Bernstein
* cli/ruby-debug/commands/stepping.rb: Small doc addition
2008-03-17 03:17 Rocky Bernstein
* cli/ruby-debug/commands/source.rb: Make source file-not-found and
error
2008-03-17 03:07 Rocky Bernstein
* cli/ruby-debug/commands/source.rb: tidy regexp
2008-03-17 03:05 Rocky Bernstein
* cli/ruby-debug/commands/script.rb,
cli/ruby-debug/commands/source.rb: Rename to match command name.
Add miniscule doc.
2008-03-16 22:04 Rocky Bernstein
* cli/ruby-debug/commands/continue.rb,
cli/ruby-debug/commands/frame.rb, doc/ruby-debug.texi: Doc
changes
2008-03-16 16:38 Rocky Bernstein
* doc/ruby-debug.texi, test/base/base.rb, test/base/catchpoint.rb,
test/base/load.rb: Add debug_load test. Document
Debugger::Context better. Small doc changes.
2008-03-16 15:01 Rocky Bernstein
* bin/rdebug: Typo.
2008-03-16 07:39 Rocky Bernstein
* cli/ruby-debug/commands/frame.rb,
cli/ruby-debug/commands/help.rb: Minor doc changes
2008-03-16 06:50 Rocky Bernstein
* test/data/ctrl.cmd, test/data/ctrl.right: Make sure width is set
explicitly so we don't have vagaries of the environment.
2008-03-16 06:44 Rocky Bernstein
* test/data/stepping.cmd, test/data/stepping.right: Possibly patch
change to upcoming 1.8.7. Punt for now.
2008-03-16 04:03 Rocky Bernstein
* CHANGES, cli/ruby-debug/commands/finish.rb,
cli/ruby-debug/commands/frame.rb,
cli/ruby-debug/commands/quit.rb, doc/ruby-debug.texi,
test/data/breakpoints.cmd, test/data/breakpoints.right,
test/data/finish.cmd, test/data/finish.right,
test/test-finish.rb: Change finish with no args to finish out of
the currently selected
frame and document that.
Add test for "finish" command.
ruby-debug.texi: Note 2nd-hook eval bug in "if" statements.
ruby-debug.texi:
2008-03-13 02:15 Rocky Bernstein
* CHANGES, cli/ruby-debug/commands/finish.rb,
cli/ruby-debug/processor.rb, doc/ruby-debug.texi,
ext/ruby_debug.c, lib/ruby-debug-base.rb, rdbg.rb: INCOMPATIBLE
CHANGE: "finish" works like gdb - stop just before the
most recent method finishes. Will now accept a number which stops
that
many frames completed. (Note that return line numbers will be
funny,
the first line of the method until Ruby 1.8.7.)
2008-03-11 03:53 Rocky Bernstein
* test/base/base.rb, test/base/catchpoint.rb: Reduce unnecessary
dependencies and scope.
2008-03-10 14:51 Rocky Bernstein
* cli/ruby-debug/commands/catchpoint.rb,
cli/ruby-debug/commands/info.rb: "catch" is same as "info catch".
Document better "catch" command.
2008-03-10 13:28 Rocky Bernstein
* ChangeLog, lib/ChangeLog, test/data/raise.right: Dunno why we are
now one line number less. So be it (for now).
2008-03-10 11:42 Rocky Bernstein
* cli/ruby-debug/commands/continue.rb,
cli/ruby-debug/commands/finish.rb,
cli/ruby-debug/commands/stepping.rb, cli/ruby-debug/processor.rb:
Break out finish.rb and continue.rb from stepping.rb
2008-03-09 23:30 Rocky Bernstein
* CHANGES, ChangeLog, lib/ChangeLog, test/data/info.right: For now
we require the duplicate numbers on conditionals.
2008-03-09 23:25 Rocky Bernstein
* Rakefile: Need at least linecache 0.3 now. Probably 0.4 for
release.
2008-03-07 04:26 Rocky Bernstein
* Rakefile, bin/rdebug, doc/ruby-debug.texi, test/test-dollar-0.rb:
Use ~/.rdboptrc (rdbopt.ini on MS Windows) to change default
options.
2008-03-03 04:14 Rocky Bernstein
* cli/ruby-debug/commands/control.rb,
cli/ruby-debug/commands/quit.rb: Split off quit to it's own file
since it doesn't share code with the
reset of "control". Smaller is better and it helps deal with
meeting
in the middle for extending debug 1.9 code.
2008-03-03 01:50 Rocky Bernstein
* cli/ruby-debug/commands/stepping.rb, test/data/stepping.cmd,
test/data/stepping.right: Allow spaces at the end of step and
next. Test ";" between commands.
2008-03-02 16:45 Rocky Bernstein
* CHANGES, cli/ruby-debug/commands/breakpoints.rb,
cli/ruby-debug/commands/frame.rb,
cli/ruby-debug/commands/threads.rb, doc/ruby-debug.texi,
test/data/frame.cmd, test/data/frame.right: Add ability to
specify a thread number in a "frame" command.
2008-03-02 13:47 Rocky Bernstein
* doc/ruby-debug.texi: Add Instructions for building on Microsoft
Windows.
2008-03-02 13:07 Rocky Bernstein
* doc/ruby-debug.texi: Small typo.
2008-03-02 04:20 Rocky Bernstein
* cli/ruby-debug/commands/breakpoints.rb, lib/ruby-debug-base.rb,
test/base/base.rb, test/data/breakpoints.right,
test/data/emacs_basic.right: Better error message for an invalid
break command.
2008-03-02 03:32 Rocky Bernstein
* emacs/rdebug-cmd.el: Bug in wrapping to newest in
rdebug-older-location.
2008-03-02 02:48 Rocky Bernstein
* test/base/base.rb, test/base/binding.rb, test/gcd-dbg-nox.rb:
Small changes. Use unshift instead of << and Remove from $: after
done.
base.rb: Debugger.start -> Debugger.start_
2008-03-02 02:24 Rocky Bernstein
* doc/Makefile.am, doc/rdebug-emacs.texi, doc/ruby-debug.texi:
Split emacs stuff into it's own document. Right now this makes
things
worse. Hopefully the benefit over time will outweigh this.
2008-03-01 11:36 Rocky Bernstein
* doc/ruby-debug.texi: Go over post-mortem section. Note the
weirdness concerning breakpoint
file names and how to scope out how to fix.
2008-03-01 03:39 Rocky Bernstein
* emacs/rdebug-cmd.el: Add message when wrapping source location
position. Not sure if this is right. We'll see.
2008-02-29 15:24 Rocky Bernstein
* emacs/rdebug-cmd.el, emacs/rdebug-frames.el: Fix bug in
rdebug-older-location when ring is empty - index -1.
Set rdebug-frames-current-frame-number variable in comint buffer
which is
needed at least for source location history processing.
2008-02-29 10:41 Rocky Bernstein
* emacs/rdebug-cmd.el: Remove gud-gdb-complete command for now.
2008-02-29 04:34 Rocky Bernstein
* emacs/rdebug-cmd.el, emacs/rdebug-fns.el, emacs/rdebug-frames.el,
emacs/rdebug-gud.el, emacs/rdebug-secondary.el,
emacs/rdebug-source.el: Wrap when ad top stack frame and trying
to go to a newer one. I think
the bindings for "<" and ">" were reversed. Some checkdoc
warnings addressed.
2008-02-29 01:33 Rocky Bernstein
* emacs/rdebug-track.el: Try to make more like rdebug. Get
M-up/M-down working.
Need to revisit this code and rdebug-core to understand, unify,
and simplify
more.
2008-02-28 20:04 Rocky Bernstein
* emacs/rdebug-core.el: For the bogus-buffer, use something less
computationally intensive.
2008-02-28 05:06 Rocky Bernstein
* ChangeLog, emacs/rdebug-core.el, emacs/rdebug-fns.el,
lib/ChangeLog, test/data/breakpoints.cmd,
test/data/breakpoints.right: breakpoints.{cmd,right}: test for an
invalid stopping line number
rdebug-fns.el: move generic split-string-and-unquote from
rdebug-core.
rdebug-core.el: Add rdebug-common-init to replace
gud-common-init. Is
simpler, and finds files better via debugger output/annotations.
Fix bug in rdebug-setup-windows: gud-find-file can return nil,
and
we still need to set buf.
2008-02-27 04:04 Rocky Bernstein
* lib/ruby-debug-base.rb: Slightly more robust handle_post_mortem.
2008-02-26 17:31 Rocky Bernstein
* ChangeLog, emacs/rdebug-cmd.el, emacs/rdebug-fns.el,
emacs/rdebug-source.el, emacs/rdebug-vars.el,
emacs/test/test-fns.el, lib/ChangeLog: Go over source location
positioning. 0 is now the oldest (first) position. Add M-S-down
and M-S-up for first and last. More tests needed in test-fns.el
and need to prompt on wrap around.
2008-02-26 00:57 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/info.rb, lib/ChangeLog,
test/data/info.cmd, test/data/info.right: Fix bug in "info file
xxx breakpoints".
2008-02-25 12:39 Rocky Bernstein
* cli/ruby-debug/interface.rb: File.exists? -> File.exist? for Ruby
1.9
2008-02-24 16:36 Rocky Bernstein
* ChangeLog, bin/rdebug, lib/ChangeLog: rdebug; make more Ruby 1.9
compatible.
2008-02-24 16:14 Rocky Bernstein
* ChangeLog, bin/rdebug, emacs/rdebug-regexp.el, lib/ChangeLog,
rdbg.rb: Minor changes.
rdbg.rb: don't need $DEBUG test any more
rdebug-regexp.el: go over with checkdoc
bin/rdebug: use PATH_SEPARATOR (for 'doze again)
2008-02-24 04:51 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/info.rb, doc/ruby-debug.texi,
emacs/rdebug-fns.el, emacs/rdebug-layouts.el,
emacs/rdebug-secondary.el, emacs/rdebug-track.el,
emacs/test/test-fns.el, lib/ChangeLog, test/data/help.cmd,
test/data/help.right, test/test-help.rb: CLI: Add long help for
"info file".
test/test-help.rb: Make test failures easier to fix and more like
the
other tests.
emacs/test: finish testing all of the funcitons in rdebug-fns.el
rdebug-layouts.el: Make checkdoc clean.
rdebug-track.el: don't need to rename shell buffer. Do it as an
option only.
rdebug-secondary.el: get rid of hoaky buffer finding for at least
gud-comint-buf. (Should probably do others as well)
DOC: Note weird line stopping locations. Describe what "ctrl" in
prompt means.
2008-02-23 21:55 Rocky Bernstein
* emacs/rdebug-fns.el, emacs/test/test-fns.el: More stringent test
on rdebug-data-process-p. Add a unit test of this too. At least a
start at one.
2008-02-22 12:57 Rocky Bernstein
* emacs/rdebug-annotate.el: Make gud-last-frame buffer local to all
secondary buffers.
2008-02-22 12:44 Rocky Bernstein
* emacs/rdebug-frames.el: Set source frame arrow type (top or not)
in processing the stack frame
annotation. Even though there is another setting in the anotation
filter hook, we can't remove it in main annotation filter because
we
can't assume annotate=3.
2008-02-22 09:31 Rocky Bernstein
* cli/ruby-debug/commands/control.rb: Need to handle glob expansion
in program script on restart.
File.exists? -> File.exist?
2008-02-22 06:50 Anders Lindgren
* emacs/rdebug-annotate.el, emacs/rdebug-core.el,
emacs/rdebug-vars.el: Process status is now in color. Renamed
rdebug-mode-line-status to rdebug-inferior-status to be more like
gdb-ui. Moved some complexity from rdebug-mode-line-process to a
new function rdebug-display-inferior-status.
2008-02-22 02:40 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug-fns.el, emacs/rdebug-gud.el,
emacs/rdebug-track.el, emacs/test/test-cmd.el: Add some error
checking around gud-call - like dead or nonexistent process.
Set gud-comint-buffer for rdebug-track
rdebug-call -> rdebug-call-return. rdebug-call is just the call
part.
2008-02-21 19:26 Rocky Bernstein
* emacs/rdebug-annotate.el, emacs/rdebug-cmd.el,
emacs/rdebug-shortkey.el: A couple of (if .. (progn ...)) turned
into (when ...).
2008-02-21 19:00 Rocky Bernstein
* emacs/rdebug-annotate.el, emacs/rdebug-fns.el,
emacs/rdebug-track.el: More work on the simple rdebug-track mode
with respect to location
ring handling. A couple of out-and-out bugs removed.
2008-02-21 16:27 Rocky Bernstein
* emacs/rdebug-annotate.el, emacs/rdebug-cmd.el,
emacs/rdebug-fns.el, emacs/rdebug-gud.el, emacs/rdebug-track.el:
Bang on rdebug-track.el to get to work better. Basically added
gud-call-frame,
position tracking and more common initialization for key
bindings.
2008-02-21 02:56 Rocky Bernstein
* ChangeLog, emacs/Makefile.am, emacs/rdebug-annotate.el,
emacs/rdebug-error.el, emacs/rdebug-fns.el,
emacs/rdebug-frames.el, emacs/rdebug-vars.el,
emacs/test/test-error.el, emacs/test/test-fns.el,
emacs/test/test-indent.el, lib/ChangeLog: Fringe for frame buffer
the same as in source code. Move
miscellaneous small functions to a new file. Reduce duplication
of
"chomp" code.
2008-02-20 17:16 Anders Lindgren
* emacs/rdebug-annotate.el: Process status is now 'running',
'stopped', 'exited', and 'crashed'. (Detecting the crash
situation is a hack, the prompt is checked if it contains
'post-mortem'...)
2008-02-20 07:09 Anders Lindgren
* emacs/rdebug-annotate.el, emacs/rdebug-breaks.el,
emacs/rdebug-core.el, emacs/rdebug-error.el,
emacs/rdebug-frames.el, emacs/rdebug-help.el,
emacs/rdebug-info.el, emacs/rdebug-output.el,
emacs/rdebug-source.el, emacs/rdebug-varbuf.el,
emacs/rdebug-vars.el, emacs/rdebug-watch.el: Debugger status is
now displayed in the mode line of source and secondary buffers.
2008-02-19 23:44 Rocky Bernstein
* CHANGES, ChangeLog, bin/rdebug, emacs/rdebug-cmd.el,
lib/ChangeLog: rdebug-cmd.el: M-insert toggles shortkey mode in
the command buffer
rdebug: search for Ruby program if file is not found and no
SEPARATOR
chars in the filename
2008-02-19 15:20 Rocky Bernstein
* cli/ruby-debug/commands/settings.rb,
cli/ruby-debug/commands/show.rb, doc/ruby-debug.texi,
test/data/ctrl.right: Add "show post-mortem". Note "show port"
now requires 3 letters: "show por"
to distinguish it from "show post-mortem".
2008-02-19 13:56 Rocky Bernstein
* cli/ruby-debug/interface.rb, cli/ruby-debug/processor.rb,
emacs/rdebug-track.el: remove annotate=2. Emacs code can now
redirect output to command or to buffer.
rdebug-track.el
2008-02-18 19:56 Rocky Bernstein
* ChangeLog, emacs/rdebug-annotate.el, lib/ChangeLog: Frame
switching shouldn't be recorded in position history ring.
2008-02-18 04:49 Rocky Bernstein
* emacs/rdebug-annotate.el, emacs/rdebug-frames.el,
emacs/rdebug-shortkey.el, emacs/rdebug-vars.el: Make
gud-comint-buffer local in the source file.
Frame indicator is hollow except when it's the top frame.
2008-02-17 23:51 Rocky Bernstein
* doc/emacs-notes.txt: Note as to how some of the emacs code is
structured.
2008-02-17 22:45 Anders Lindgren
* emacs/test/test-annotate.el: Fixed broken case (rdebug-call-queue
is now a list of lists).
2008-02-17 22:42 Anders Lindgren
* emacs/rdebug-annotate.el: Exit messages now go to the echo area.
New command kind supported in rdebug-call-queue, :message.
2008-02-17 22:00 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-annotate.el, emacs/rdebug-dbg.el,
emacs/rdebug-info.el, emacs/rdebug-shortkey.el,
emacs/rdebug-source.el, emacs/test/test-annotate.el,
emacs/test/test-filter.el, emacs/test/test-frames.el,
emacs/test/test-regexp.el: test-filter.el -> test-annotate.el
Reinstate the ";;; redebug-xxx.el ends here" and ;;;
rdebug-xxx.el --- at the
thop.
2008-02-17 21:25 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-shortkey.el,
emacs/rdebug-source.el: Move short-key mode from source into
short-key.
Makefile.am: reduce redundancy a tad.
2008-02-17 17:52 Rocky Bernstein
* emacs/rdebug-annotate.el, emacs/rdebug-breaks.el,
emacs/rdebug-core.el, emacs/rdebug-frames.el,
emacs/rdebug-help.el, emacs/rdebug-info.el,
emacs/rdebug-output.el, emacs/rdebug-regexp.el,
emacs/rdebug-varbuf.el, emacs/rdebug-watch.el: Replace
rdebug--... with rdebug-. Run checkdoc and deal with some of
those errors.
2008-02-17 14:56 Anders Lindgren
* emacs/rdebug-annotate.el, emacs/rdebug-gud.el,
emacs/rdebug-info.el, emacs/rdebug-vars.el: The rdebug-call-queue
system reworked, each entry is now a list of the
command and options telling the system what it should do with the
output. Currently, :tooltip and :info are supported, but more can
easily be added (including support for lambda-expression, if
needed).
The info buffer now only displays things if explicitly asked to
do so.
Two proof-of-concept functions added,
rdebug-pretty-print-to-buffer
and rdebug-pretty-print-region-to-buffer. Note that the user
interface
might differ in the future (we don't want too many user-level
function.)
The info buffer is no longer treated as accumulative, this
simplifies
the rdebug-cmd-XXX functions, but the user has to wait until the
command has terminated until the output is displayed in the info
buffer.
2008-02-17 13:57 Rocky Bernstein
* CHANGES, cli/ruby-debug/commands/info.rb, doc/ruby-debug.texi,
lib/ruby-debug-base.rb, test/data/post-mortem.right: Add
Debugger.last_exception. Show exception in post-mortem when "info
program"
is issued. Reorganize list of major changes better.
2008-02-17 10:35 Rocky Bernstein
* emacs/rdebug-breaks.el: Improve comment.
2008-02-17 10:32 Rocky Bernstein
* emacs/rdebug-breaks.el: Remove rdebug-test-test which doesn't
seem to be used.
2008-02-17 03:57 Rocky Bernstein
* emacs/rdebug-breaks.el, emacs/rdebug-core.el: Move some
breakpoint-related code from rdebug-core.el to rdebug-breaks.el
2008-02-17 02:40 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-annotate.el,
emacs/rdebug-breaks.el, emacs/rdebug-cmd.el,
emacs/rdebug-core.el, emacs/rdebug-error.el,
emacs/rdebug-info.el, emacs/rdebug-shortkey.el,
emacs/rdebug-vars.el, emacs/test/test-error.el,
emacs/test/test-filter.el, emacs/test/test-regexp.el: Create
functions for showing temporary messages and error messages -
don't call show-tooltip() or message() directy.
Break out annotations and shortkeys from rdebug-core. Break out
filter
test from regular-expression tests. Add chomp test.
2008-02-16 21:03 Anders Lindgren
* emacs/rdebug-core.el: The error buffer should work correctly
again (untested)
2008-02-16 20:56 Anders Lindgren
* emacs/rdebug-core.el, emacs/rdebug-info.el,
emacs/test/test-regexp.el: Moved handling of command output out
from gud-rdebug-marker-filter. It
is now handled by rdebug-cmd-XXX (which used to be located in
rdebug-info.el.) Tooltip handling is now more robust, e.g. it
works
when more than one annotation is received at once, or if the
annotation arrives in split packages.
In case the external process echoes the command, it is stipped
away
before it is presented as a tooltip.
Test of filter function reworked. New cases added to handle
command
output. All filter tests are now tested twice, once when the
entire
block is sent at once, one where the block is sent in character
by
character.
2008-02-16 17:38 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-cmd.el, emacs/rdebug-core.el,
emacs/test/test-indent.el: Add routine to go to a particular
history location. Break out command buffer
things into its own file.
2008-02-16 13:47 Rocky Bernstein
* emacs/rdebug-core.el: Show ring number when moving positions.
2008-02-16 04:18 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug-source.el,
emacs/rdebug-vars.el, emacs/rdebug.el: Save stopping points and
give a way to move around in them.
2008-02-13 21:47 Rocky Bernstein
* ChangeLog, cli/ruby-debug/processor.rb, lib/ChangeLog:
processor.rb: spelled "post-mortem" incorrectly in prompt.
2008-02-13 17:58 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug-regexp.el,
emacs/rdebug-track.el: Use rdebug-input-prompt-regexp rather than
duplicate strings. Set comint-next/previous-prompt
2008-02-13 17:32 Rocky Bernstein
* ChangeLog, emacs/rdebug-core.el, lib/ChangeLog: Set up keys for
comint-next-prompt and comint-previous-prompt.
2008-02-13 13:08 Rocky Bernstein
* Rakefile: Newer rubygems depricates Gem::Platform::WIN32
2008-02-13 03:47 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug-gud.el, emacs/rdebug-vars.el:
Add ability to show print output as a tooltip. This is more a
proof-of-concept than a finished product.
2008-02-12 05:34 Anders Lindgren
* emacs/rdebug-core.el: Better documentation for
rdebug-non-annotated-text-kind.
2008-02-12 02:06 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/frame.rb,
cli/ruby-debug/commands/info.rb, doc/ruby-debug.texi,
lib/ChangeLog, test/data/info-thread.right, test/thread1.rb: Fix
bug in "info thread verbose" which wasn't showing full traceback.
2008-02-11 02:29 Rocky Bernstein
* cli/ruby-debug/commands/frame.rb,
cli/ruby-debug/commands/info.rb,
cli/ruby-debug/commands/threads.rb, doc/ruby-debug.texi,
test/data/ctrl.right, test/data/info-thread.cmd,
test/data/info-thread.right, test/data/info.right,
test/test-info-thread.rb: Add "info thread". Pound on "info
threads" to make it more like
pydb. In particular we can give stack traces for the threads.
Towards
addressing issue #12663.
2008-02-10 20:46 Rocky Bernstein
* emacs/rdebug-info.el, emacs/rdebug-source.el: Add key to get to
Info buffer. Add "pl" to list of print commands.
2008-02-10 17:46 Rocky Bernstein
* Rakefile, emacs/Makefile.am, emacs/rdebug-core.el: Makefile.am,
rdebug-core.el: require/add rdebug-info.el
Rakefile: some indentation
2008-02-10 16:06 Anders Lindgren
* emacs/rdebug-info.el: Got rid of warning. (Had to disabled it the
hard way since rdebug-info calls a function in rdebug-core, but
can't require it because that would lead to cyclic requires.)
2008-02-10 16:01 Anders Lindgren
* emacs/rdebug-breaks.el, emacs/rdebug-core.el,
emacs/rdebug-info.el, emacs/rdebug-layouts.el,
emacs/rdebug-output.el, emacs/rdebug-vars.el,
emacs/test/test-indent.el: New secondary window 'info', which
displays output of events and
certain commands. The non-annotated-text system reworked to
handle
this. This should be seen as a proof of concept that we can pick
up
the output of, say, "pp". The end result could very well differ
quite
a lot from what we have now.
New variable 'rdebug-accumulative-buffer', true for buffers that
grow.
Currently "output" and "info".
2008-02-10 01:39 Rocky Bernstein
* emacs/rdebug-gud.el, emacs/rdebug-source.el,
emacs/rdebug-varbuf.el: Add more variations of print commands:
pl, ps, pp, and p.
2008-02-09 22:20 Anders Lindgren
* emacs/rdebug-core.el, emacs/rdebug-layouts.el,
emacs/rdebug-source.el, emacs/rdebug.el: * New window layout "no
shell". This is the "standard" layout with the
"watch" window instead of the "debugger shell" window.
* Fixed a problem where the Watch window was not initialized
properly
until the first annotation arrived.
* Fixed a problem where we created far too many buffers, e.g
*rdebug-stopping-test.rb* and *rdebug--test.rb*.
2008-02-09 16:24 Anders Lindgren
* emacs/rdebug-frames.el, emacs/rdebug-layouts.el,
emacs/test/test-indent.el: Indentation fixes, plus adding all
rdebug-xxx.el files to the list of files to check.
2008-02-09 15:48 Rocky Bernstein
* ChangeLog, lib/ChangeLog, test/data/break-bad.cmd,
test/data/break-bad.right, test/data/break_bad.cmd,
test/data/break_bad.right, test/data/emacs-basic.cmd,
test/data/emacs-basic.right, test/data/emacs_basic.cmd,
test/data/emacs_basic.right, test/helper.rb,
test/test-break-bad.rb, test/test-emacs-basic.rb: helper.rb
Failed attempt to DRY tests more. But save what we have
which may someday in the future be used to go further. Minus to
undercore in Data file names in preparation such time. (We'll use
the
filename as the test name).
testing
2008-02-09 11:55 Rocky Bernstein
* ext/ruby_debug.c, test/data/post-mortem-next.cmd,
test/data/post-mortem-next.right, test/data/post-mortem.cmd,
test/data/post-mortem.right, test/test-pm.rb: Fix bug where we
entered debugger code if we "next" over code that
goes raises an uncaught exception. Needed to reset stepping
parameters. Added a routine to do so.
2008-02-08 02:09 Rocky Bernstein
* INSTALL.SVN: Add instructions for building on MS Windows.
2008-02-06 18:15 Rocky Bernstein
* emacs/rdebug-breaks.el, emacs/rdebug-core.el,
emacs/rdebug-gud.el, emacs/rdebug-source.el,
emacs/rdebug-varbuf.el: Add routines to print a marked expression
or a variable in the
variables buffer. Not perfect but it's a start in the right
direction.
Add key bindings for this and to print a region selected via the
mouse.
2008-02-06 16:15 Rocky Bernstein
* ChangeLog, emacs/Makefile.am, emacs/rdebug-gud.el,
emacs/test/test-gud.el, lib/ChangeLog: Add 'nowarn to
find-file-noselect and test that we don't get a warning.
2008-02-05 16:30 Rocky Bernstein
* cli/ruby-debug/interface.rb: Remove "* used as prefix argument"
warning.
2008-02-05 07:52 Anders Lindgren
* emacs/rdebug-layouts.el, emacs/rdebug-source.el: Added 'Separate
I/O buffer' to options menu. The window layouts now create an
output buffer only when separate io buffer is enabled.
2008-02-05 01:41 Rocky Bernstein
* ChangeLog, emacs/rdebug-track.el, emacs/rdebug.el, lib/ChangeLog,
test/data/setshow.cmd, test/data/setshow.right: rdebug.el: Add a
defgroup for rdebug so customization in Emacs 23 is possible.
Some other minor doc fixes.
setshow.* make sure we don't have an $Id line that we have to
check against.
2008-02-04 21:50 Anders Lindgren
* emacs/rdebug-core.el, emacs/rdebug.el: New variable
'rdebug-use-separate-io-buffer' controls if output should go to
shell window or the output window. Contiuous output can now be
received from a running process. 'gud-rdebug-marker-filter'
totally reworked (again) -- introduced the concept of one-liners
and a new helper function.
2008-02-03 20:26 Anders Lindgren
* emacs/rdebug-core.el, emacs/rdebug-regexp.el: Annotation filter
reworked. comint-process-echoes is now set, so that the user
commands aren't printed twice. 'quit' now works correcty, and the
stack frame window shows the correct content when post-mortem is
entered.
2008-02-03 15:23 Rocky Bernstein
* ChangeLog, Rakefile, doc/ruby-debug.texi, lib/ChangeLog,
test/annotate.cmd, test/annotate.right, test/break-bad.cmd,
test/break-bad.right, test/breakpoints.cmd,
test/breakpoints.right, test/condition.cmd, test/condition.right,
test/ctrl.cmd, test/ctrl.right, test/data,
test/data/annotate.cmd, test/data/annotate.right,
test/data/break-bad.cmd, test/data/break-bad.right,
test/data/breakpoints.cmd, test/data/breakpoints.right,
test/data/condition.cmd, test/data/condition.right,
test/data/ctrl.cmd, test/data/ctrl.right, test/data/display.cmd,
test/data/display.right, test/data/dollar-0.right,
test/data/dollar-0a.right, test/data/dollar-0b.right,
test/data/edit.cmd, test/data/edit.right,
test/data/emacs-basic.cmd, test/data/emacs-basic.right,
test/data/enable.cmd, test/data/enable.right,
test/data/frame.cmd, test/data/frame.right, test/data/help.cmd,
test/data/help.right, test/data/history.right,
test/data/info-var-bug2.cmd, test/data/info-var-bug2.right,
test/data/info-var.cmd, test/data/info-var.right,
test/data/info.cmd, test/data/info.right, test/data/noquit.right,
test/data/output.cmd, test/data/output.right,
test/data/post-mortem.cmd, test/data/post-mortem.right,
test/data/quit.cmd, test/data/quit.right, test/data/raise.cmd,
test/data/raise.right, test/data/setshow.cmd,
test/data/setshow.right, test/data/source.cmd,
test/data/source.right, test/data/stepping.cmd,
test/data/stepping.right, test/data/test-init.right,
test/display.cmd, test/display.right, test/dollar-0.right,
test/dollar-0a.right, test/dollar-0b.right, test/edit.cmd,
test/edit.right, test/emacs-basic.cmd, test/emacs-basic.right,
test/enable.cmd, test/enable.right, test/frame.cmd,
test/frame.right, test/help.cmd, test/help.right, test/helper.rb,
test/history.right, test/info-var-bug2.cmd,
test/info-var-bug2.right, test/info-var.cmd, test/info-var.right,
test/info.cmd, test/info.right, test/noquit.right,
test/output.cmd, test/output.right, test/post-mortem.cmd,
test/post-mortem.right, test/quit.cmd, test/quit.right,
test/raise.cmd, test/raise.right, test/setshow.cmd,
test/setshow.right, test/source.cmd, test/source.right,
test/stepping.cmd, test/stepping.right, test/test-annotate.rb,
test/test-break-bad.rb, test/test-breakpoints.rb,
test/test-condition.rb, test/test-ctrl.rb, test/test-display.rb,
test/test-dollar-0.rb, test/test-edit.rb,
test/test-emacs-basic.rb, test/test-enable.rb,
test/test-frame.rb, test/test-help.rb, test/test-hist.rb,
test/test-info-var.rb, test/test-info.rb, test/test-init.rb,
test/test-init.right, test/test-output.rb, test/test-pm.rb,
test/test-quit.rb, test/test-raise.rb, test/test-setshow.rb,
test/test-source.rb, test/test-stepping.rb: Try to get testing a
little more organized, although more work should
be done: Create a data directory for comparison ("right") and
script
command ("cmd") files. Code is now more uniform (and should DRY'd
a
bit more).
2008-02-03 12:34 Rocky Bernstein
* doc/ruby-debug.texi: Remove Debugger.init. Expand Debugger.start,
Debugger.stop and Debugger.started?
2008-02-03 04:17 Rocky Bernstein
* cli/ruby-debug/commands/catchpoint.rb,
cli/ruby-debug/commands/info.rb, test/raise.cmd,
test/raise.right: Add some argument checking in setting
catchpoints.
Showing status on "info catch" is a little silly - we can't
recover from
an exception.
2008-02-02 23:10 Rocky Bernstein
* ChangeLog, cli/ruby-debug/command.rb,
cli/ruby-debug/commands/breakpoints.rb,
cli/ruby-debug/commands/catchpoint.rb,
cli/ruby-debug/commands/control.rb,
cli/ruby-debug/commands/edit.rb, cli/ruby-debug/commands/eval.rb,
cli/ruby-debug/commands/help.rb, cli/ruby-debug/commands/info.rb,
cli/ruby-debug/commands/list.rb, cli/ruby-debug/commands/save.rb,
cli/ruby-debug/commands/script.rb,
cli/ruby-debug/commands/settings.rb,
cli/ruby-debug/commands/show.rb,
cli/ruby-debug/commands/stepping.rb,
cli/ruby-debug/commands/threads.rb, cli/ruby-debug/processor.rb,
lib/ChangeLog, test/breakpoints.right, test/emacs-basic.right,
test/pm.rb, test/post-mortem.cmd, test/post-mortem.right,
test/test-emacs-basic.rb, test/test-init.rb, test/test-pm.rb,
test/test-quit.rb: Remove commands in post-mortem which are not
applicable, e.g."step",
"next", "continue"...
"No breakpoints have been set" is now an error message when
trying to
set a breakpoint.
Add post-mortem test.
Debug.init no longer exists.
2008-02-02 18:16 Anders Lindgren
* emacs/rdebug-core.el: Changing window layout no longer clears the
secondary windows.
2008-02-02 16:14 Anders Lindgren
* emacs/rdebug-core.el, emacs/rdebug-source.el: All window layout
menu items are not collected in one place. Comment fixes.
2008-02-02 09:27 Rocky Bernstein
* CHANGES, ext/ruby_debug.c, lib/ruby-debug-base.rb,
test/gcd-dbg.rb: Remove Debugger.init and fold options parameter
into Debugger.start.
Old Debugger.start has been renamed Deebugger.start_
2008-02-01 03:09 Rocky Bernstein
* CHANGES, Rakefile, bin/rdebug,
cli/ruby-debug/commands/catchpoint.rb,
cli/ruby-debug/commands/info.rb, cli/ruby-debug/processor.rb,
ext/breakpoint.c, ext/ruby_debug.c, ext/ruby_debug.h,
test/base/base.rb, test/base/catchpoint.rb, test/ctrl.right,
test/info.right: Allow multiple exceptions to be caught.
INCOMPATIBLE CHANGE: varible Debugger.catchpoint a String was
turned
into Debugger.catchpoints, a Hash. Debugger.catchpoint= no longer
exists. Debugger.set_catchpoint was turned into
Debugger.add_catchpoint
"info catch" added.
INCOMPATIBLE CHANGE: variable Debugger.catchpoint is now
Debugger.catchpoints
which is a now hash rather than a String. Debugger.catchpoint= no
longer exists.
A catchpoint ruby-debug-base test added. use unshift in requires.
rdebug: --post-mortem now really catches uncaught exceptions and
brings you to post-mortem handling.
2008-01-31 18:29 Anders Lindgren
* emacs/rdebug-breaks.el, emacs/rdebug-frames.el: In the frames and
breakpoint windows, the left mouse button simply sets the point.
Double-clicking selects the item. The second and third mouse
button also selects.
2008-01-31 16:30 Rocky Bernstein
* ChangeLog, ext/ruby_debug.c, lib/ChangeLog: Leave ruby_debug.c
this way for now.
2008-01-31 16:24 Rocky Bernstein
* ChangeLog, cli/ruby-debug/processor.rb, ext/ruby_debug.c,
lib/ChangeLog, test/raise.right, test/tdebug.rb: ruby_debug.c:
more adventures in exception handling
processor.rb: Removal of crash when annotate is on. Need to fix
the source of the
problem though.
2008-01-31 15:16 Rocky Bernstein
* bin/rdebug, lib/ruby-debug-base.rb, test/output.right,
test/quit.right, test/raise.rb, test/raise.right, test/tdebug.rb:
Handle post-mortem and exception traceback reporting in
ruby-debug
2008-01-31 03:01 Rocky Bernstein
* bin/rdebug, ext/ruby_debug.c, test/helper.rb, test/quit.right,
test/tdebug.rb, test/test-quit.rb, test/test-raise.rb: Have
Debug.load recover from uncaught error raised in a debugged
program.
Go over regression tests.
2008-01-30 21:33 Anders Lindgren
* test/raise.cmd, test/raise.rb, test/raise.right,
test/test-raise.rb: Test case ensuring that an error in the user
code doesn't cause the debugger to single step it's own code.
(This is currently broken.)
2008-01-30 17:13 Rocky Bernstein
* cli/ruby-debug/commands/info.rb: Add broken "info file"
information.
2008-01-30 17:01 Rocky Bernstein
* ChangeLog, cli/ruby-debug/command.rb,
cli/ruby-debug/commands/enable.rb,
cli/ruby-debug/commands/info.rb, cli/ruby-debug/commands/show.rb,
lib/ChangeLog, test/condition.right: Add Command.find() to find a
subcommand name.
condition.right: correct for breakpoint hit counts.
2008-01-30 11:33 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug-output.el,
emacs/rdebug-track.el: Add keybindings in shell, output and
command buffers for going to a
traceback line or a $! traceback line.
rdebug-common-initialization -> rdebug-command-initialization and
fix
up docstring.
rdebug-core.el: Bug in handling --emacs introduced when a
parameter was added
rdebug-track.el: start with annotate 2.
2008-01-30 01:43 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/info.rb, lib/ChangeLog,
test/breakpoints.right, test/emacs-basic.right: Add number of
times a breakpoint is hit like gdb does.
2008-01-29 22:37 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/info.rb, lib/ChangeLog:
Columnize breakpoint output.
2008-01-29 22:19 Rocky Bernstein
* cli/ruby-debug/interface.rb, emacs/rdebug-frames.el,
test/test-ctrl.rb: test-ctrl.rb: try to make it influenced less
by environment.
rdebug-frames.el remove unused local variable.
2008-01-29 21:13 Anders Lindgren
* cli/ruby-debug/commands/frame.rb, emacs/rdebug-frames.el,
emacs/rdebug-secondary.el: * Fixed a problem where the source
buffer opened in the wrong window.
Turned out that the Stack Frame buffer setup function tried to
display the current frame itself, instead of letting the normal
source annotations handle this.
* Fixed a problem with an annotation turning up in the debugger
shell
buffer. The 'frame' command emitted a source annotation without
the
"source" part.
* In the stack frame window, when selecting a frame to display,
the
point is now placed at the beginning of the line of the active
frame.
* Internal restructuring of the pick source window parts.
2008-01-29 19:58 Rocky Bernstein
* emacs/rdebug-frames.el: In the frame secondary buffer, put point
somewhere on the line with
the active frame. (It had been at the end of the buffer.)
2008-01-29 19:16 Rocky Bernstein
* emacs/rdebug-layouts.el: So for a layout with one less window and
the command buffer on the bottom.
2008-01-29 11:20 Rocky Bernstein
* CHANGES, ChangeLog, bin/rdebug, cli/ruby-debug/interface.rb,
cli/ruby-debug/processor.rb, doc/ruby-debug.texi,
emacs/rdebug-core.el, emacs/rdebug-layouts.el,
emacs/rdebug-source.el, emacs/rdebug.el, emacs/test/test-core.el,
lib/ChangeLog: More annotate=2 fixes.
2008-01-29 05:03 Anders Lindgren
* emacs/rdebug-core.el: In Emacs, the current directory of the
debugger shell process is now the directory in which it was
started.
2008-01-28 21:11 Rocky Bernstein
* test/history.right, test/test-hist.rb: Disable for now.
2008-01-28 16:18 Rocky Bernstein
* test/helper.rb, test/test-hist.rb: Some more work on test-hist.
Not working yet completely though.
2008-01-28 15:59 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/info.rb, lib/ChangeLog,
test/helper.rb, test/test-dollar-0.rb, test/test-hist.rb,
test/test-output.rb: Add info file breakpoints to show lines
which we can set a breakpoint on.
Revise so we chdir into SRC_DIR.
test-hist.rb is broken - will fix later.
2008-01-28 15:50 Rocky Bernstein
* test/history.right: Comparison file for test-hist.rb
2008-01-28 03:16 Rocky Bernstein
* doc/Makefile.am: Don't remove Unix manual page.
2008-01-28 03:15 Rocky Bernstein
* cli/ruby-debug/commands/show.rb, doc/ruby-debug.texi: Make show
commands a little more like gdb. Document it too.
2008-01-28 02:24 Rocky Bernstein
* cli/ruby-debug/commands/show.rb, cli/ruby-debug/interface.rb,
test/ctrl.right, test/test-enable.rb, test/test-hist.rb:
interface.rb: Command history not saved between local rdebug
sessions. Patch from Martin Krauskopf #17491.
show.rb: add "show commands" so we can see the command history.
test/* Add a history regression test.
2008-01-26 17:12 Anders Lindgren
* emacs/rdebug-frames.el: debug--setup-frame-buffer rewritten from
scratch, it's now a lot simpler since it no longer has to handle
coloring.
2008-01-26 17:10 Anders Lindgren
* emacs/rdebug-layouts.el: comment fix.
2008-01-26 16:33 Anders Lindgren
* emacs/rdebug-breaks.el, emacs/rdebug-frames.el: Coloring added to
the Stack frames window
2008-01-26 01:45 Rocky Bernstein
* test/test-annotate.rb, test/test-enable.rb, test/test-init.rb,
test/test-init.right: Add test of new Debugger.init
2008-01-25 21:02 Rocky Bernstein
* doc/ruby-debug.texi: Document info subcommands and Debugger.init.
Start Class, Module,
method index. Order of index changed slightly.
2008-01-25 12:11 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/control.rb,
cli/ruby-debug/commands/settings.rb,
cli/ruby-debug/commands/show.rb, lib/ChangeLog,
lib/ruby-debug-base.rb, test/gcd-dbg-nox.rb, test/gcd-dbg.rb: Add
Debugger.init which intializes things that rdebug does. This
allows a restart even though rdebug wasn't called initially.
2008-01-23 02:53 Rocky Bernstein
* cli/ruby-debug/command.rb, cli/ruby-debug/commands/enable.rb,
cli/ruby-debug/commands/help.rb, cli/ruby-debug/commands/info.rb,
cli/ruby-debug/commands/settings.rb,
cli/ruby-debug/commands/show.rb, test/breakpoints.cmd,
test/breakpoints.right, test/enable.cmd, test/enable.right,
test/help.cmd, test/help.right, test/test-enable.rb,
test/test-help.rb: Add subcommand/long help for enable, disable,
set, and show. Put Subcommand structure in Command. More work is
needed to reduce redundancy.
2008-01-22 23:15 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/help.rb,
cli/ruby-debug/commands/info.rb, lib/ChangeLog,
test/annotate.cmd, test/annotate.right, test/ctrl.right,
test/info.cmd, test/info.right, test/test-edit.rb,
test/test-source.rb: Allow "help info xxx". Add ability for long
help on "info" command.
Add "info break xx".
test: remove test/unit class name conflicts. All the tests we
wrote
now get run.
2008-01-22 18:48 Rocky Bernstein
* emacs/rdebug-secondary.el: A small comment spelling mistake.
2008-01-20 22:01 Rocky Bernstein
* cli/ruby-debug/commands/breakpoints.rb, test/break-bad.cmd,
test/break-bad.right, test/breakpoints.cmd,
test/breakpoints.right, test/rdebug-save.1, test/source.right,
test/test-break-bad.rb: We now only allow breakpoints on stopping
lines. We get this via
linecache which ultimately gets it from ParseTree.
2008-01-19 19:28 Rocky Bernstein
* ChangeLog, Rakefile, lib/ChangeLog, test/base, test/base/base.rb,
test/base/binding.rb, test/test-ruby-debug-base.rb: Move
ruby-debug-base tests to base directory. Add a binding_n
regression test.
2008-01-17 22:29 Rocky Bernstein
* cli/ruby-debug/commands/info.rb: lines -> size.
2008-01-17 20:28 Rocky Bernstein
* cli/ruby-debug/commands/info.rb, test/ctrl.right,
test/info.right: Add "info file" in addition to "info files" Use
some features in linecache 0.3
which are in SVN only. Give SHA1, number of lines and timestamp
on a specific
file.
2008-01-17 06:58 Rocky Bernstein
* test/ctrl.right: info file -> info files
2008-01-17 03:33 Rocky Bernstein
* cli/ruby-debug/commands/info.rb, test/info.right: "info file" ->
"info files" as per gdb.
2008-01-16 18:42 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/breakpoints.rb, lib/ChangeLog,
test/annotate.right, test/breakpoints.right,
test/condition.right, test/display.right, test/emacs-basic.right,
test/info-var.right: Need to present source filename (__FILE__)
as Ruby and therefore breakpoint
sees it.
2008-01-16 12:30 Rocky Bernstein
* emacs/rdebug-track.el: Slightly better rdebug-track-attach
initialization. Still has problems, but it's better.
2008-01-16 02:19 Rocky Bernstein
* ChangeLog, Rakefile, cli/ruby-debug/command.rb,
cli/ruby-debug/commands/breakpoints.rb,
cli/ruby-debug/commands/list.rb, lib/ChangeLog,
lib/ruby-debug-base.rb: Line caching moved to an external gem,
linecache. We now require
version 0.2 of that or greater.
2008-01-16 01:14 Rocky Bernstein
* emacs/rdebug-source.el: Get insert working again.
2008-01-16 01:13 Rocky Bernstein
* emacs/rdebug-secondary.el: Typo.
2008-01-16 00:23 Rocky Bernstein
* emacs/rdebug-core.el: Chomp error before message'ing.
2008-01-15 23:41 Anders Lindgren
* emacs/rdebug-core.el: When starting 'rdebug' the first time, the
file name of the current buffer is suggested as script name.
2008-01-15 23:34 Anders Lindgren
* emacs/rdebug-core.el, emacs/rdebug-source.el: Local short key
mode renamed to internal short key mode. Original read-only
status saved in local variable. Minor mode text 'ShortKey' added.
2008-01-15 23:04 Anders Lindgren
* emacs/rdebug-breaks.el, emacs/rdebug-core.el,
emacs/rdebug-dbg.el, emacs/rdebug-error.el,
emacs/rdebug-frames.el, emacs/rdebug-gud.el,
emacs/rdebug-help.el, emacs/rdebug-layouts.el,
emacs/rdebug-output.el, emacs/rdebug-regexp.el,
emacs/rdebug-secondary.el, emacs/rdebug-source.el,
emacs/rdebug-track.el, emacs/rdebug-varbuf.el,
emacs/rdebug-vars.el, emacs/rdebug-watch.el, emacs/rdebug.el:
Comment fixes.
2008-01-15 22:48 Anders Lindgren
* emacs/rdebug-breaks.el: Breakpoints font-lock rules even more
generous, now all characters are matched.
2008-01-15 22:44 Anders Lindgren
* emacs/rdebug-core.el: rdebug-get-script-name now skips ruby
options, if present
2008-01-15 07:56 Rocky Bernstein
* emacs/rdebug-breaks.el: File names can have a - in them.
2008-01-15 06:51 Anders Lindgren
* emacs/rdebug-breaks.el, emacs/rdebug-core.el: The source
breakpoint toggle and toggle enabled commands, when issued in the
breakpoints window, do the right thing. In other non-file buffers
they do nothing.
2008-01-15 04:57 Rocky Bernstein
* emacs/test/test-core.el: indentation.
2008-01-15 04:56 Rocky Bernstein
* emacs/test/test-core.el: More tests.
2008-01-14 22:22 Anders Lindgren
* emacs/rdebug-breaks.el: Replaced code coloring breakpoint buffer
with font-lock rules. Now coloring of breakpoints of kind
'Type:function' works.
2008-01-14 07:00 Anders Lindgren
* emacs/rdebug-core.el, emacs/test/test-core.el:
rdebug-get-script-name now handles something else than 'rdebug'
as command name. Rewritten to get rid of unmaintanable recursive
function.
2008-01-14 06:58 Anders Lindgren
* emacs/test/test-cmd.el: Breakpoints are now parsed and cached
when a new annotation arrives.
2008-01-14 06:57 Anders Lindgren
* emacs/rdebug-breaks.el: Breakpoints are now parsed and cached
when a new annotation arrives.
2008-01-14 01:31 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/control.rb,
emacs/rdebug-core.el, emacs/rdebug-track.el, lib/ChangeLog: Make
rdebug-track work better in the face of prompt and error
annotations.
control.rb: need another test when rdebug not called initially.
2008-01-13 22:03 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug-layouts.el: A couple more
stack -> frame spots missed
2008-01-13 21:51 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/breakpoints.rb,
emacs/rdebug-core.el, emacs/rdebug-frames.el,
emacs/rdebug-source.el, ext/breakpoint.c, lib/ChangeLog: Some
stack -> frame renaming
ext/breakpoint.c: put methods in alpha order (to help with
reference man)
breakpoints.rb: one print -> errmsg
2008-01-13 21:19 Rocky Bernstein
* doc/ruby-debug.texi: Add info about the 3 kinds of interfaces and
give some
Debugger::Breakpoint methods.
2008-01-13 20:32 Rocky Bernstein
* test/test-output.rb: Seems we don't get a core dump any more.
2008-01-13 18:13 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/condition.rb,
cli/ruby-debug/commands/control.rb,
cli/ruby-debug/commands/display.rb,
cli/ruby-debug/commands/edit.rb,
cli/ruby-debug/commands/frame.rb,
cli/ruby-debug/commands/help.rb, cli/ruby-debug/commands/info.rb,
cli/ruby-debug/interface.rb, cli/ruby-debug/processor.rb,
emacs/Makefile.am, emacs/rdebug-core.el, emacs/rdebug-error.el,
emacs/rdebug-output.el, emacs/rdebug-source.el, lib/ChangeLog,
test/annotate.cmd, test/annotate.right, test/breakpoints.right,
test/condition.right, test/edit.right, test/emacs-basic.right,
test/frame.right: Create errmsg routine for error output, start
tagging error messages
as errors. Under annotate 3, output errors similar to gdb
--annotate
does (although still simplified). Have Emacs pick up debugger
error
annotations.
2008-01-13 04:05 Rocky Bernstein
* ChangeLog, cli/ruby-debug/command.rb,
cli/ruby-debug/commands/breakpoints.rb,
cli/ruby-debug/commands/enable.rb, cli/ruby-debug/helper.rb,
cli/ruby-debug/interface.rb, cli/ruby-debug/processor.rb,
lib/ChangeLog, test/condition.cmd, test/condition.right: Check
validity of expressions in breakpoint conditions and don't allow
enabling a syntactically invalid expression.
Start noting messages which are errors via an errmsg routine.
2008-01-12 13:35 Rocky Bernstein
* CHANGES: Typo.
2008-01-12 13:22 Rocky Bernstein
* emacs/rdebug-core.el: Typo.
2008-01-12 12:45 Rocky Bernstein
* emacs/rdebug-breaks.el, emacs/rdebug-frames.el: breaks.el
gdb-put-breakpoint-icon seems to want to string for a breakpoint
number and our entries are
numbers.
frames.el: wasn't resetting search string to first line pattern
(for subsequent testing of
whether this is the current frame) after processing split entry
with file/line position. Break out
a common routine rdebug-stack-buffer-field which also seems to
simplify it.
2008-01-12 10:56 Anders Lindgren
* emacs/rdebug-breaks.el: Breakpoint icons are now displayed in the
margin. This is a simple implementation that used gdb-ui to do
the actual display.
2008-01-11 18:04 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-frames.el,
emacs/rdebug-regexp.el, emacs/test/test-frames.el: Process frames
which are split across two lines. DRY a little
and add the first frame test.
2008-01-11 15:08 Rocky Bernstein
* emacs/Makefile.am: ELC typo.
2008-01-11 14:01 Rocky Bernstein
* emacs/Makefile.am: Don't give an error on "make test" if emacs is
not around.
2008-01-11 10:26 Rocky Bernstein
* ChangeLog, bin/rdebug, doc/ruby-debug.texi, lib/ChangeLog:
Document that ruby-debug resets $0. Align program options in ref
manual and --help. Alphabetize better.
2008-01-11 10:10 Rocky Bernstein
* CHANGES, bin/rdebug, test/output.right, test/quit.right,
test/tdebug.rb, test/test-quit.rb: rdebug: do syntax checking
when running as server as well as local interface. --no-quit
intercepts Syntax Errors now
(which shouldn't happen and means there's another bug in there to
fix; but robustness is good.)
Bring tdebug.rb more in line iwth rdebug until we can get rid of
it altogether. Note some of the current weaknesses.
2008-01-10 22:56 Rocky Bernstein
* ChangeLog, bin/rdebug, lib/ChangeLog, test/dollar-0.rb,
test/dollar-0.right, test/dollar-0a.right, test/dollar-0b.right,
test/test-dollar-0.rb: More correct $0 fix. Deal with the case ./
is automatically added.
However this might not be right in all cases.
2008-01-10 22:25 Rocky Bernstein
* ChangeLog, emacs/rdebug-core.el, emacs/test/test-core.el,
lib/ChangeLog: Was gobbling arg in processing --emacs. Add test.
2008-01-10 21:57 Rocky Bernstein
* bin/rdebug, emacs/rdebug-core.el, test/dollar-0.rb,
test/dollar-0.right, test/helper.rb, test/test-dollar-0.rb: Fix
for "if $0 == __FILE__" idiom. Bug #16038
rdebug-core.el add '--'; -emacs -> --emacs
rdebug: add subroutines for calling debugger and processing
options.
2008-01-10 10:34 Rocky Bernstein
* CHANGES, ChangeLog, cli/ruby-debug/commands/condition.rb,
cli/ruby-debug/commands/enable.rb, cli/ruby-debug/processor.rb,
doc/ruby-debug.texi, emacs/Makefile.am, emacs/rdebug-breaks.el,
emacs/rdebug-regexp.el, emacs/test/test-regexp.el,
ext/breakpoint.c, lib/ChangeLog, test/condition.cmd,
test/condition.right, test/test-breakpoints.rb,
test/test-condition.rb: Add condition command.
2008-01-10 09:07 Rocky Bernstein
* emacs/rdebug-frames.el, emacs/rdebug-regexp.el,
emacs/test/test-cmd.el: rdebug-frames.el: fix redisplay of source
when frames change by running rdebug-display-line in creating
frame buffer. require things we need to require to eval this
file. set-local-variables.
rdebug-regexp.el: add constants for file and line stack positions
in regexp.
test-cmd.el: rdebug-cmd -> rdebug-gud.
2008-01-09 23:00 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug-gud.el,
emacs/test/test-indent.el: Some more GUD things moved to gud-el.
2008-01-09 22:56 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-breaks.el, emacs/rdebug-cmd.el,
emacs/rdebug-core.el, emacs/rdebug-gud.el,
emacs/rdebug-regexp.el: rdebug-cmd.el -> rdebug-gud.el
Move gud things from rdebug-core.el to rdebug-gud.el
2008-01-09 22:37 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug-source.el: Allow [insert] to
turn on/off short-key-mode.
2008-01-09 19:10 Rocky Bernstein
* ChangeLog, Rakefile, emacs/rdebug-dbg.el, lib/ChangeLog:
Rakefile: rdebug.rb -> rdbg.el
rdebug-dbg.el: Add $Id$
2008-01-09 19:03 Rocky Bernstein
* ChangeLog, emacs/Makefile.am, emacs/rdebug-breaks.el,
emacs/rdebug-cmd.el, emacs/rdebug-core.el, emacs/rdebug-dbg.el,
emacs/rdebug-frames.el, emacs/rdebug-help.el,
emacs/rdebug-output.el, emacs/rdebug-secondary.el,
emacs/rdebug-track.el, emacs/rdebug-varbuf.el,
emacs/rdebug-watch.el, emacs/test/test-indent.el,
emacs/test/test-regexp.el, lib/ChangeLog: Break out secondary
buffer into their own file, and also internal
debug code and general secondary commands. Secondary buffer code
removed from rdebug-cmd and moved into the appropriate file.
rdebug-edit-variables-value is not defined so comment out for
now.
2008-01-08 16:11 Rocky Bernstein
* emacs/rdebug-core.el: Change indentation.
2008-01-08 16:04 Rocky Bernstein
* ChangeLog, lib/ChangeLog, rdbg.rb: Restore $: to the value it was
before rdebug call.
2008-01-08 12:04 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-core.el, emacs/rdebug-layouts.el,
emacs/rdebug-vars.el: rdebug-layouts.rb, Makefile.am: window
layouts - split off from rdebug-core.el
Add some output commands: command to add a marker line, clear the
output window, and allow undo.
2008-01-08 06:30 Anders Lindgren
* emacs/rdebug-core.el, emacs/rdebug-source.el: New and old
byte-compile warnings eliminated.
2008-01-08 02:36 Rocky Bernstein
* INSTALL.SVN, Rakefile, rdbg.rb, test/helper.rb,
test/test-breakpoints.rb, test/test-output.rb, test/test-quit.rb:
Rewrite runner.sh in Ruby: rdbg.rb
Were it not for a bug that needs to be fixed, we could
remove runner.sh. test-output.rb hits this bug.
2008-01-07 23:02 Rocky Bernstein
* README: Note need for VC6.
2008-01-07 20:51 Rocky Bernstein
* CHANGES: What's changed.
2008-01-07 20:38 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/info.rb,
cli/ruby-debug/commands/variables.rb, lib/ChangeLog: Add "var
class". This means "var const .." can no longer be abbreviated
"var c"; use "var co" instead.
(Or "var const" or "var constant"
2008-01-07 19:57 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/info.rb, lib/ChangeLog,
test/info-var-bug.rb, test/info-var.cmd, test/info-var.right: Add
class level variables to "info variables"
2008-01-07 17:37 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/info.rb, lib/ChangeLog,
test/annotate.right, test/info-var-bug2.right,
test/info-var.right, test/output.right, test/test-info-var.rb:
Add "self" to list "info variables" spits out.
2008-01-07 10:36 Rocky Bernstein
* emacs/Makefile.am: Missing a backslash to continue a line.
2008-01-07 10:21 Anders Lindgren
* emacs/rdebug-core.el: Fixed problem with byte-compile warning due
to an extra comma.
2008-01-07 09:59 Rocky Bernstein
* ChangeLog, Rakefile, bin/rdebug, emacs/rdebug-core.el,
lib/ChangeLog: --emacs sets width to 120. rdebug-core.el will
reset to 120 unless it's already that.
2008-01-07 09:08 Rocky Bernstein
* README: Add Anders' instruction on how to compile in MS Windows
(modified slightly).
2008-01-07 04:29 Rocky Bernstein
* ChangeLog, Makefile.am, ext/ChangeLog, lib/ChangeLog: Split out
ChangeLogs better (I hope).
2008-01-06 21:16 Rocky Bernstein
* bin/rdebug: Syntax error.
2008-01-06 20:56 Rocky Bernstein
* ChangeLog, bin/rdebug, cli/ruby-debug/processor.rb,
emacs/rdebug-core.el, emacs/rdebug-regexp.el,
emacs/test/test-regexp.el, ext/ChangeLog, lib/ChangeLog,
test/emacs-basic.cmd, test/emacs-basic.right, test/quit.right,
test/tdebug.rb, test/test-emacs-basic.rb: test/*-emacs-basic*,
tdebug: Add test of running in Emacs without annotations.
emacs/*.el: make regexp tests work again, move regexp to from
core to regexp.
Add an annotate regexp test.
processor.rb: Remove some anotation print from bleeding into
output
when annotations are not wanted. Reinstate "Program finished" in
annotations and outside (rdebug).
2008-01-06 18:55 Rocky Bernstein
* ChangeLog, cli/ruby-debug/processor.rb, emacs/Makefile.am,
emacs/rdebug-core.el, emacs/test/test-indent.el, ext/ChangeLog,
lib/ChangeLog, test/annotate.right, test/output.right: Create
Processor class and subclass that. Perhaps a mixin would be good.
Remove annotation output bleanding when annotate is off.
Try to reduce the mess annotations is adding to processor.rb
rdebug-core.el: fix indentation to pass the regression test
Anders added
Makefile.am: Add rdebug-source.el to distribution.
Make sure "rake test"
2008-01-06 12:31 Anders Lindgren
* bin/rdebug, cli/ruby-debug/processor.rb, emacs/rdebug-core.el,
emacs/rdebug-regexp.el: Emacs interface adopted to new
annotations scheme.
2008-01-06 06:46 Rocky Bernstein
* test/source.right: correct output for source test
2008-01-06 06:44 Rocky Bernstein
* cli/ruby-debug/commands/save.rb,
cli/ruby-debug/commands/script.rb, cli/ruby-debug/interface.rb,
cli/ruby-debug/processor.rb, test/rdebug-save.1, test/source.cmd,
test/test-source.rb: The source command now allows us to read in
breakpoint in the current
context. More work is needed but this is a start.
2008-01-06 02:15 Rocky Bernstein
* ChangeLog, bin/rdebug, cli/ruby-debug/commands/breakpoints.rb,
cli/ruby-debug/commands/control.rb,
cli/ruby-debug/commands/save.rb,
cli/ruby-debug/commands/script.rb, cli/ruby-debug/interface.rb,
cli/ruby-debug/processor.rb, ext/ChangeLog, lib/ChangeLog: Some
work on saving state across a restart. More work is needed on the
script command to get this working. The save-file name is now
optional. save.rb split off from script.rb Display expressions
and
some settings are now captured in the save/restore file.
Add interface.finalize - things that need to be done before quit
or
restart.
2008-01-05 21:16 Rocky Bernstein
* ChangeLog, bin/rdebug, cli/ruby-debug/interface.rb,
cli/ruby-debug/processor.rb, ext/ChangeLog, lib/ChangeLog,
test/annotate.right, test/output.cmd, test/output.right,
test/quit.right, test/tdebug.rb, test/test-output.rb: More work
to make annotate more like gdb's. starting/stopping/exiting
should be more similar. Some code has been commented out until we
get
the Emacs interface to match. See "FIXME: ANNOTATE" in
processor.rb.
Also regression tests for output and annotate currently fail for
this
reason.
2008-01-05 16:32 Anders Lindgren
* emacs/rdebug-core.el, emacs/rdebug-source.el, emacs/rdebug.el,
emacs/test/test-indent.el: rdebug-source.el now spawned off from
rdebug-core.el.
2008-01-05 15:46 Anders Lindgren
* emacs/rdebug-source.el: Initial commit of split of
rdebug-code.el. (Currently, rdebug-source.el is straight copy of
rdebug-core.el.)
2008-01-05 15:05 Anders Lindgren
* emacs/rdebug-core.el: New commands for displaying to the source
buffer 'rdebug-display-source-buffer' and ...-resync'. The former
is bound to S in the secondary buffers. Added View->Source to the
menu bar.
2008-01-05 13:46 Rocky Bernstein
* cli/ruby-debug/commands/breakpoints.rb,
cli/ruby-debug/commands/edit.rb, cli/ruby-debug/helper.rb,
doc/ruby-debug.texi, test/ctrl.right, test/edit.cmd,
test/edit.right, test/test-edit.rb: Add edit command.
breakpoints.rb/helper.rb: bad regular-expression separation.
2008-01-05 13:24 Anders Lindgren
* test/output.cmd, test/output.rb, test/output.right,
test/test-output.rb: Added test case for the 'starting'
annotation. (It currently fails since the annotation is broken.)
2008-01-05 10:40 Anders Lindgren
* emacs/rdebug-core.el: New selection algorithm for picking the
best secondary window, as suggested in rubyforge issue 1950.
2008-01-05 10:36 Rocky Bernstein
* cli/ruby-debug/commands/breakpoints.rb: Catch places were we
can't set breakpoints or delete breakpoints because
we don't have context set.
2008-01-04 07:43 Rocky Bernstein
* cli/ruby-debug/interface.rb: @history_save can sometimes be
undefined. Test for it so we don't get a warning
when $DEBUG/$WARING is true.
2008-01-03 18:54 Anders Lindgren
* emacs/rdebug.el: When running 'make' (comp-elisp) an error was
triggered. This is probably a problem in comp-elisp since nil is
part of the initial load-path. A work-around was added in
'rdebug-compare-directories'.
2008-01-03 15:44 Rocky Bernstein
* emacs/rdebug-core.el: Deal with a killed gud-comint-buffer.
2008-01-03 10:34 Anders Lindgren
* emacs/rdebug-cmd.el, emacs/rdebug-core.el,
emacs/test/test-indent.el: Indentation: fixed problem with test
case and some real minor indentation issues.
2008-01-03 10:34 Rocky Bernstein
* emacs/Makefile.am: Filename typo.
2008-01-03 07:33 Anders Lindgren
* emacs/rdebug-cmd.el, emacs/rdebug-core.el, emacs/rdebug.el: The
directory of rdebug.el is added to the load-path. (The trick to
add . doesn't work since it referes to the current directory of
the current user buffer, not the file being loaded.)
2008-01-03 07:11 Anders Lindgren
* emacs/rdebug-core.el: Added a Options->Window Layout submenu. It
sets and redisplays the window layout, so that the user can try
out the available window layouts.
2008-01-02 20:35 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/breakpoints.rb,
cli/ruby-debug/helper.rb, ext/ChangeLog, lib/ChangeLog:
helper.rb: add regexp for a position. TODO: add parsing routine
and use in
various commands
2008-01-02 17:39 Anders Lindgren
* emacs/rdebug-cmd.el, emacs/rdebug-core.el,
emacs/rdebug-regexp.el, emacs/rdebug-track.el, emacs/rdebug.el:
New comment headers added. Minor rearrangement of functions.
2008-01-02 17:31 Rocky Bernstein
* test/test-ruby-debug-base.rb: A little more robust.
2008-01-02 14:41 Rocky Bernstein
* ChangeLog, cli/ruby-debug/processor.rb, emacs/rdebug.el,
ext/ChangeLog, lib/ChangeLog, test/annotate.right: processor.rb:
Redo where starting/exiting annotations are done.
rdebug.el: back off on setting output command for now.
2008-01-02 04:17 Rocky Bernstein
* test/quit.cmd, test/quit.right, test/tdebug.rb,
test/test-quit.rb: --no-quit bug fixed. But we don't know how to
test it properly yet.
2008-01-02 04:04 Rocky Bernstein
* bin/rdebug, cli/ruby-debug/commands/info.rb,
cli/ruby-debug/processor.rb, cli/ruby-debug/theend.rb,
test/annotate.right, test/ctrl.cmd, test/ctrl.right,
test/test-ctrl.rb, test/test-help.rb, test/test-info.rb: Redo how
--no-quit is handled. We now go into a control state with
limited commands.
Add annotation for "exiting"
Add regression test for ctrl debugger state. "info" commands are
allowed this state although most don't do anything. Some tests
comments corrected.
2008-01-01 15:23 Rocky Bernstein
* ChangeLog, bin/rdebug, ext/ChangeLog, lib/ChangeLog: Fix --emacs
to do --no-quit properly.
2008-01-01 09:00 Rocky Bernstein
* ChangeLog, ext/ChangeLog, ext/breakpoint.c, ext/ruby_debug.c,
ext/ruby_debug.h, lib/ChangeLog: Remove RDoc warnings caused
because C files have been split up.
2008-01-01 08:18 Rocky Bernstein
* emacs/rdebug-core.el, emacs/rdebug.el: Add
rdebug-user-separate-io-buffer to let folks decide where output
should appear - similar to gdb-ui's
rdebug-user-separate-io-buffer.
Move customizable variables from rdebug-core.el to rdebug.el.
2008-01-01 05:51 Rocky Bernstein
* ChangeLog, emacs/Makefile.am, emacs/test/test-indent.el,
emacs/test/test-reindent.el, ext/ChangeLog, lib/ChangeLog:
reindent -> indent. Makefile.am: wasn't including all test files.
2008-01-01 05:45 Rocky Bernstein
* emacs/Makefile.am, emacs/elk-test.el, emacs/rdebug-test-cmd.el,
emacs/rdebug-test-regexp.el, emacs/rdebug-test.el, emacs/test,
emacs/test/elk-test.el, emacs/test/test-cmd.el,
emacs/test/test-core.el, emacs/test/test-regexp.el,
emacs/test/test-reindent.el: Create test directory and put
regression tests in that.
2007-12-31 15:38 Rocky Bernstein
* configure.ac: Now in 0.10.1
2007-12-31 15:37 Rocky Bernstein
* doc/triangle.rb: Another example program used in documentation.
2007-12-31 06:26 Rocky Bernstein
* ChangeLog, Rakefile, ext/ChangeLog, lib/ChangeLog: Rakefile: add
spit-off C files to ruby-debug-base gem.
2007-12-31 06:23 Rocky Bernstein
* ChangeLog, emacs/rdebug-test-cmd.el, ext/ChangeLog,
lib/ChangeLog: rdebug-test-cmd.el: Indentation
2007-12-31 06:20 Rocky Bernstein
* ext/breakpoint.c: Was missing check_breakpoint_expression().
2007-12-31 06:08 Rocky Bernstein
* CHANGES, ChangeLog, lib/ChangeLog: Changes and more changes.
2007-12-31 06:06 Rocky Bernstein
* ext/ChangeLog, ext/breakpoint.c, ext/ruby_debug.c,
ext/ruby_debug.h: Split off breakpoint code from ruby_debug.c;
add common ruby_debug.h
header Alas this means some statics are now externs and one
inline was
dropped. In some cases though moving static to extern might be
desirable for other packages that want to hook into ruby_debug.
Start to preface the global ruby_debug variables with rdebug.
2007-12-31 05:55 Rocky Bernstein
* bin/rdebug, doc/rdebug.1, doc/ruby-debug.texi, emacs/Makefile.am,
emacs/rdebug-core.el, emacs/rdebug-test-cmd.el,
emacs/rdebug-test.el, test/runall: rdebug, emacs/* doc/*: --emacs
is now --emacs-basic while --emacs now implies
--emacs-basic --annotate=3 --post-mortem --no-control --no-start
--no-quit
runall: test-*.rb are tests
rdebug-test-cmd.el: use 'require and add tests of
rdebug-{step,next}.
emacs/Makefile.am: break out individual test as separate targets.
2007-12-30 10:54 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-test-cmd.el,
emacs/rdebug-test-frame.el, emacs/rdebug-vars.el: rdebug-vars.el:
remove cut-and-paste artifact
rest: rdebug-test-frame.el -> rdebug-test-cmd.el
2007-12-30 10:26 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-cmd.el, emacs/rdebug-core.el,
emacs/rdebug-regexp.el, emacs/rdebug-track.el,
emacs/rdebug-vars.el: Break up rdebug-core.el. Split out
variables, regexps, and debugger commands.
2007-12-30 10:13 Anders Lindgren
* emacs/rdebug-core.el: New function
'rdebug-turn-on-short-key-mode', designed to be used in user
hooks.
2007-12-30 10:08 Anders Lindgren
* emacs/rdebug-core.el: C-x C-a C-q now toggles short key mode
2007-12-29 23:04 Rocky Bernstein
* doc/ruby-debug.texi: Add subsection as to why no parameter values
in a call stack.
2007-12-29 22:05 Rocky Bernstein
* doc/rdebug.1, doc/ruby-debug.texi: Remove short -n option;
--no-stop remains.
2007-12-29 15:19 Anders Lindgren
* emacs/rdebug-core.el: Added 'Customize Rdebug' to the Options
submenu.
2007-12-29 13:31 Rocky Bernstein
* ChangeLog, bin/rdebug, cli/ruby-debug/command.rb, ext/ChangeLog,
lib/ChangeLog, test/helper.rb, test/noquit.right, test/null.rb,
test/quit.cmd, test/quit.right, test/tdebug.rb: Remove looping on
quit. "-n" is broken so remove it for now.
2007-12-29 12:27 Rocky Bernstein
* emacs/rdebug-core.el: -(require 'cl) needed for ignore-errors.
-Short key bindings added: "b" for break "t" for toggle.
-Common key bindings added/changed
R (along with r) is restart. Restart prompts, like quit does.
+, - and _ are now modifiers to step and next; _ takes the
default.
- Numeric argument on "continue" goes to that line, e.g. M-10
continue is
"continue 10", not "continue" 10 times.
2007-12-29 10:50 Anders Lindgren
* bin/rdebug, cli/ruby-debug/theend.rb: * The 'theend.rb' script is
now always loaded with the 'stop' flag.
* The 'theend.rb' script is now loaded after the restarted print
statement.
* Removed an 'if' statement preventing restart when the no-stop
flag
was used.
* Added end-of-line comment in 'theend.rb' on the same line as
the
single statement. This helps people that use the command-line
debugger.
2007-12-29 09:29 Anders Lindgren
* bin/rdebug, cli/ruby-debug/theend.rb: When the end of the program
is reached and the --no-quit option is
used, the user now steps into the file 'theend.rb'. This file
contains
a message telling the user that the end of the application has
been
reached. For a normal debug session this feels better. However,
if the
user file is empty, this prevents the debugger from going into an
infinite loop.
Note, an alternative implementation would be if the debugger
itself
would create an artificial step point at the of the the user
program.
2007-12-29 08:49 Anders Lindgren
* emacs/rdebug-core.el: New feature requested by Rocky: Source
short key mode, in the source buffer that corresponds to the
current frame read-only is activated and the plain secondary
buffer keys are bound.
2007-12-29 00:50 Rocky Bernstein
* emacs/rdebug-test-frame.el: Remove c: as that's not OS
independent.
2007-12-28 20:06 Rocky Bernstein
* doc/ruby-debug.texi: Another misspelling.
2007-12-28 20:04 Rocky Bernstein
* doc/ruby-debug.texi: Another typo.
2007-12-28 20:01 Rocky Bernstein
* doc/ruby-debug.texi: Tag code/directory sections better.
2007-12-28 15:33 Rocky Bernstein
* ChangeLog, cli/ruby-debug/commands/display.rb,
cli/ruby-debug/commands/info.rb, cli/ruby-debug/processor.rb,
ext/ChangeLog, lib/ChangeLog, test/annotate.right,
test/display.cmd, test/display.right: info.rb: Incorrect test for
no display expressions.
display.rb: Grammar thing.
processor.rb: Slightly cleaner code
test/* more/better tests.
2007-12-28 15:04 Rocky Bernstein
* test/annotate.right, test/info-var-bug2.right: Forgot to check in
these files when adding new tests
2007-12-28 13:48 Rocky Bernstein
* cli/ruby-debug/processor.rb, test/annotate.cmd: Reduce
unneccessary display annotation output.
2007-12-28 11:27 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-test-regexp.el,
emacs/rdebug-test.el: Split off Emacs test which are regular
expression oriented.
2007-12-28 10:54 Rocky Bernstein
* test/test-annotate.rb: *** empty log message ***
2007-12-28 10:54 Rocky Bernstein
* test/test-annotate.rb: Doc bug.
2007-12-28 10:53 Rocky Bernstein
* test/test-annotate.rb: My old cut-and-paste error. Gotta get in
my "method redefined" patch into rake's test/unit.
2007-12-28 10:47 Rocky Bernstein
* cli/ruby-debug/commands/breakpoints.rb,
cli/ruby-debug/processor.rb, test/annotate.cmd,
test/test-annotate.rb: Reduce unnecesary breakpoint, stack, and
variable post-command annotations.
Fix bug in not showing empty breakpoints when last one is
deleted.
2007-12-28 10:12 Anders Lindgren
* emacs/rdebug-test-frame.el, emacs/rdebug-test.el: Test cases for
new source buffer breakpoint commands.
2007-12-27 23:20 Anders Lindgren
* emacs/rdebug-core.el: Two new breakpoint commands for source
buffers: toggle break point and toggle enable/disable. (The
commands corresponds to F9 and C-F9 in common debuggers
interfaces.)
2007-12-27 21:05 Rocky Bernstein
* emacs/rdebug-track.el: Lacking a quote in the last commit.
2007-12-27 21:03 Rocky Bernstein
* ChangeLog, emacs/rdebug-track.el, ext/ChangeLog, lib/ChangeLog:
Be more agressive about resetting gud-last-frame and
gud-last-last-frame. These foul up tracking when debugging is
interrupted.
We probably need a special "reset" command.
2007-12-27 03:11 Rocky Bernstein
* Rakefile, cli/ruby-debug/command.rb,
cli/ruby-debug/commands/enable.rb, cli/ruby-debug/helper.rb,
doc/ruby-debug.texi, emacs/rdebug-test-frame.el,
test/test-columnize.rb: Use columnize gem from rubyforge.
Remove toggle since Anders can't use - easy come, easy go.
rdebug-test-frame.el was broken.
2007-12-26 22:31 Anders Lindgren
* emacs/rdebug-core.el: Fix for broken 'rdebug-goto-frame-n'.
2007-12-26 21:20 Rocky Bernstein
* README: Note we (may) need "sudo" before installing. Also note
the test options.
2007-12-26 20:29 Rocky Bernstein
* CHANGES: *** empty log message ***
2007-12-26 19:10 Rocky Bernstein
* emacs/Makefile.am, emacs/rdebug-test-frame.el: Add regression
tests for new code.
2007-12-26 18:42 Rocky Bernstein
* emacs/rdebug-core.el: Doc fixes.
2007-12-26 18:35 Rocky Bernstein
* ChangeLog, ext/ChangeLog, ext/ruby_debug.c, lib/ChangeLog:
Version number games - maybe 0.10.1 is better.
2007-12-26 18:18 Rocky Bernstein
* emacs/rdebug-core.el: Number keys should move the frame, not just
position the cursor there.
2007-12-26 10:41 Rocky Bernstein
* cli/ruby-debug/commands/info.rb, test/info-var-bug2.cmd,
test/info-var-bug2.rb, test/test-info-var.rb: Need to escape
escape (% -> %%) in "info variables"
2007-12-26 00:04 Rocky Bernstein
* ext/ruby_debug.c: 2nd attempt to deal with *both* problems Timur
reported.
1. Catchpoint is never called when program raises an object of
type
Exception. So, my exceptional breakpoints doesn't work for
Exception
class.
2. When SystemExit exception is raised debugger become stopped
and
stop method is called as many times, as a number of threads
running in
application. For example, in next code debugger become stopped in
rescue block, but program continues its execution.
|