Just to let people know that there have been new releases of the trepanning series of debuggers and gems have been cut on
gemcutter.org
In this flurry, new is a backport to MRI 1.8.7 using ruby-debug-base and MRI 1.9 using ruby-debug-base19. The new gem is called rb8-trepanning.
I had a little bit of problem with the dependencies and gem naming. I may need to do future releases after I totally figure out how automatic gem selection works seemed to work a little different on the different Ruby platforms and versions of rubygems.
Changes to rb-trepanning and rbx-trepanning:
- Add debugger commands:
* tbreak (is in gdb)
* info globals (is in ruby-debug)
* info locals (is in gdb)
* info source (is in gdb)
* info stack (is in gdb, same as backtrace)
* info macro (in in gdb; remove show macro)
* show timer (set timer was already there)
* parsetree
* pp (is in ruby-debug)
* set/show reload (is in ruby-debug)
- Add options from ruby-debug:
* --cd
* --include
* --require
* --debug
- fix bugs, and improve help
The new gem rb8-trepanning compared to ruby-debug:
New features
- Syntax highlighting (if coderay, term-ansicolor and newer linecache)
- tab completion (more complete on MRI 1.8.7 rb-readline gem used)
- parsetree (if ParseTree installed)
New commands from trepanning:
- gdb-like "confirm" to turn on/off prompting of dangerous commands
- "eval" and "eval?" without args to run parts of the current source line
- macros
- aliases
- new help system
- unique command abbrev (or not if "set abbrev off")
- new "!" suffix on "quit" and "kill" command, e.g. "q!", to avoid prompting.
Incompatibilities:
- autoeval is on by default
- ";;" separates debugger commands so you can use ";" in eval
- some possibliy lesser-used commands have been dropped. If people notice,
they can be reinstated.
- p is now pr to avoid eval confusion with Ruby's "p" method
- dropped support for annotations and ruby-debug emacs. Use newer emacs-dbgr
- some commands have been moved to closer match gdb:
* threads -> info threads
* reload -> set reload
* trace -> set trace
Updating trepanning also means that there are a number of dependent gems that