2011-02-15 rocky * .gemspec, Rakefile, app/options.rb: Get ready for 0.0.5 release 2011-02-15 rocky * app/options.rb: Clean up usage text 2011-02-15 rocky Merge branch 'master' of github.com:rocky/rbx-trepanning 2011-02-15 rocky * bin/trepanx, processor/validate.rb: Small bugs. validate: handling get_an_int error msg. trepanx: option name is now highlight, not readline 2011-02-15 rocky * bin/trepanx, processor/validate.rb: Small bugs. validate: handling get_an_int error msg. trepanx: option name is now highlight, not readline 2011-02-15 rocky * .gemspec, ChangeLog, NEWS, app/options.rb, bin/trepanx, interface/user.rb, io/input.rb, lib/trepanning.rb: Add --readline and --no-readline options to trepanx .gemspec: was missing data directory Update NEWS in preparation for a release. 2011-02-14 rocky * processor/command/macro.rb, processor/load_cmds.rb: Add macros to list of initial completions. Better fin+ macro example 2011-02-14 rocky * .gemspec, app/method.rb, app/method_name.citrus, app/method_name.rb, lib/trepanning.rb, processor/breakpoint.rb, processor/command/break.rb, processor/command/disassemble.rb, processor/stepping.rb, processor/validate.rb, test/unit/test-proc-validate.rb: first_line_on_ip's "not found" is now nil for next rubinius release. Remove citrus-related code and Method name lookup. Will reinstate after a release with kpeg. Prevent breakpoint resolve! from getting in an infinite loop. 2011-02-14 rocky * processor/command/macro.rb: Typo 2011-02-14 rocky * processor/command/help.rb, processor/command/macro.rb, processor/main.rb: macro.rb: Macros are more useful now. An array of strings pushes additional commands on the command queue. help.rb: Show aliases and macros in help *. Add help for exach of these individually. 3 2011-02-13 rocky * interface/user.rb: Remove extraneous line in saving history 2011-02-13 rocky * interface/user.rb: Remove duplicate history save 2011-02-13 rocky * .gemspec, app/method_name.citrus, app/method_name.rb, io/tcpclient.rb, processor/command/break.rb, processor/command/disassemble.rb, processor/validate.rb, test/unit/test-io-tcpclient.rb, test/unit/test-proc-validate.rb: Use citus to parse method names avoiding use of eval which is safer. Add disconnected? to tcpclient. 2011-02-12 rocky * processor/command/continue.rb: Sync continue somewhat with rb-trepanning 2011-02-12 rocky * processor/command/info_subcmd/files.rb: Add mtime and ctime. 2011-02-11 rocky * test/unit/test-io-tcpclient.rb, test/unit/test-subcmd-help.rb: Subcommand HELP constant is set correcltly, so remove message and add test. 2011-02-11 rocky * processor/command/info_subcmd/files.rb, processor/command/info_subcmd/line.rb, processor/command/info_subcmd/program.rb, processor/command/info_subcmd/variables.rb, processor/mock.rb: Clean up/DRY "info" standalone code 2011-02-11 rocky * processor/command/info_subcmd/ruby.rb: Small change 2011-02-11 rocky * processor/command/info_subcmd/rubinius.rb, processor/command/info_subcmd/ruby.rb: info rubinius -> info ruby. To be more compatible with rb-trepanning 2011-02-11 rocky * processor/command/info_subcmd/rubinius.rb, processor/command/set_subcmd/confirm.rb, processor/command/show_subcmd/confirm.rb: Ad "info rubinius" akin to rbx -v or rbx -vv. Add gdb set/show confirm. 2011-02-11 rocky * Rakefile, test/unit/test-completion.rb: Pass --verbose option to rake tasks properly. 2011-02-11 rocky * io/input.rb, test/unit/test-completion.rb: Make sure readline finalize is done only once. 2011-02-10 rocky * interface/user.rb, lib/trepanning.rb, test/integration/test-quit.rb: lib/trepanning.rb: stop-gap stop. Reinstate save-history. 2011-02-10 rocky * test/unit/test-completion.rb: Hacky way to make sure we turn off finalize and Readline. 2011-02-10 rocky Merge branch 'master' of github.com:rocky/rbx-trepanning Conflicts: interface/base_intf.rb interface/user.rb processor/command/irb.rb processor/main.rb 2011-02-10 rocky * app/irb.rb, interface/base_intf.rb, interface/user.rb, processor/command/irb.rb, processor/main.rb, processor/mock.rb, test/unit/test-intf-user.rb, test/unit/test-proc-eval.rb: Work on history reading and saving and in between irb sessions although somewhat disabled for now. 2011-02-09 rocky * processor/command/info_subcmd/line.rb, processor/command/info_subcmd/program.rb: Start a gdb "info line" command. 2011-02-09 rocky * processor/command/show_subcmd/basename.rb, processor/command/show_subcmd/max.rb, processor/default.rb, processor/validate.rb, test/data/quit2.cmd, test/data/quit2.right, test/integration/helper.rb, test/integration/test-quit.rb: Add set/show confirm 2011-02-09 rocky * lib/trepanning.rb, processor/command/irb.rb: Change completion proc on entering and leaving irb 2011-02-09 rocky * processor/command/eval.rb: Sync with rb-trepanning 2011-02-08 rocky * processor/command/eval.rb, processor/location.rb: eval without a string eval's the current source code. Update and expand 'eval' help text. 2011-02-08 rocky * interface/base_intf.rb, interface/user.rb, io/input.rb, lib/trepanning.rb, processor/default.rb, processor/main.rb: Save debugger commands in history now. Move history saving code from debugger into user interface. Save history file on exit in finalization routine. 2011-02-06 rocky * processor/command/base/cmd.rb, processor/command/base/subcmd.rb, processor/load_cmds.rb, sample/rocky-trepanx-colors.rb, test/unit/test-base-cmd.rb, test/unit/test-completion.rb: Fix bug in completing an initial list of commands (null string ''). 2011-02-06 rocky * processor/command/info_subcmd/file.rb, processor/command/info_subcmd/files.rb: info file -> info files to match gdb better. Dynamic list completion in info files. Usual cleanups 2011-02-06 rocky * processor/command/base/cmd.rb, processor/command/base/subcmd.rb, test/unit/test-base-subcmd.rb: Allow for more dynamic setting of completion array. Some other minor corrections. Sync with rb-trepanning. 2011-02-05 rocky * io/tcpfns.rb, io/tcpserver.rb, lib/trepanning.rb, test/unit/test-completion.rb: Syn with rb-trepanning 2011-02-05 rocky * lib/trepanning.rb: Wrong default variable name in completion 2011-02-05 rocky * lib/trepanning.rb: Add comments to completion - it is a little subtle 2011-02-05 rocky * lib/trepanning.rb, processor/load_cmds.rb, test/unit/test-completion.rb: Add space to completion when last token is complete. Break completion into its own routine and we now start testing that. 2011-02-04 rocky * README.textile: Nope ```ruby does not work for README on gitub :-/ 2011-02-04 rocky * README.textile: Nope ```ruby does not work for README on gitub :-/ 2011-02-04 rocky * README.textile: Nope ```ruby does not work for README on gitub :-/ 2011-02-04 rocky * README.textile: Nope ```ruby does not work for README on gitub :-/ 2011-02-04 rocky * README.textile, io/input.rb, lib/trepanning.rb, processor/command/complete.rb, processor/command/set_subcmd/max.rb, processor/load_cmds.rb: Back off of trying to complete anything other than the last token in completion. io/input.rb Remove Readline.rl_line_buffer= READE.textile: cooler code formatting. 2011-02-04 rocky * io/input.rb, processor/command/base/subcmd.rb: input.rb: add termination routine for readline on interrupt subcmd.rb: add completion for set boolean (on/off). 2011-02-04 rocky * interface/user.rb, io/input.rb, processor/command/help.rb, processor/command/set_subcmd/max.rb, processor/load_cmds.rb: More completion work: for help and help command . Bug in not setting prompt in readline fixed. 2011-02-04 rocky Merge branch 'master' of github.com:rocky/rbx-trepanning Conflicts: processor/command/base/subsubmgr.rb processor/load_cmds.rb 2011-02-04 rocky * app/complete.rb, app/util.rb, interface/comcodes.rb, io/tcpfns.rb, processor/command/base/cmd.rb, processor/command/base/submgr.rb, processor/command/base/subsubmgr.rb, processor/command/help.rb, processor/command/info_subcmd/file.rb, processor/load_cmds.rb, processor/subcmd.rb, test/unit/test-app-util.rb: Expand completion one level down. Needs refactoring. Sync with rb-trepanning. 2011-02-04 rocky * processor/command/base/subsubmgr.rb, processor/command/set_subcmd/max.rb, processor/load_cmds.rb, processor/location.rb: Inch forward in handling sub-subcommand completion. 2011-02-03 rocky * Rakefile, app/util.rb, processor/command/base/cmd.rb, processor/command/base/submgr.rb, processor/command/help.rb, processor/command/show.rb, processor/command/source.rb, processor/load_cmds.rb, test/unit/test-app-util.rb, test/unit/test-cmd-help.rb: Sync with rb-trepanning. Adding more completion help. Running check: tasks. DRYing code. 2011-02-03 rocky * interface/user.rb, io/input.rb, io/tcpserver.rb, lib/trepanning.rb, processor/command/base/submgr.rb, processor/load_cmds.rb: Completion now using rb-readline. 2011-02-02 rocky * processor/command/base/submgr.rb, processor/command/show_subcmd/auto.rb, processor/load_cmds.rb, test/unit/test-base-submgr.rb, test/unit/test-proc-load_cmds.rb: More work on completion: handle completing subcommands 2011-02-02 rocky * processor/command/disassemble.rb, processor/disassemble.rb: Allow unlimited number of disassemble args. 2011-02-02 rocky * processor/command/base/submgr.rb, processor/load_cmds.rb: Avoid using eval to instantiate commands and subcommands. 2011-02-02 rocky Merge branch 'master' of github.com:rocky/rbx-trepanning 2011-02-02 rocky * interface/user.rb, io/input.rb, lib/trepanning.rb, processor/command/complete.rb, processor/load_cmds.rb: Start tab completion. Correct setting for line edit via Readline. 2011-02-01 rocky * app/options.rb, processor/command/disassemble.rb: Allow disassembly of a single line. 2011-02-01 rocky * ChangeLog: Update ChangeLog of 0.0.4 2011-02-01 rocky * NEWS, app/options.rb: Get ready for 0.0.4 release 2011-02-01 rocky * processor/msg.rb, sample/list-terminal-colors.rb, sample/rocky-trepanx-colors.rb: Change error messages from underline to italic. Sync with rb-trepanning. 2011-01-30 rocky * processor/command/set_subcmd/hidelevel.rb, processor/command/set_subcmd/kernelstep.rb, processor/command/set_subcmd/trace.rb: Minor cleanup. 2011-01-28 rocky * app/options.rb, lib/trepanning.rb, processor/command/disassemble.rb, processor/command/list.rb, processor/command/set_subcmd/highlight.rb, processor/command/set_subcmd/terminal.rb, processor/command/show_subcmd/highlight.rb, processor/command/show_subcmd/terminal.rb, processor/default.rb, processor/disassemble.rb, processor/location.rb, processor/main.rb, processor/msg.rb: set/show terminal -> set/show highlight 2011-01-28 rocky Add debugger command syntax help. 2011-01-28 rocky Describe debugger command syntax in help. 2011-01-28 rocky I hate conflicted merges 2011-01-28 rocky * processor/command/help.rb, processor/default.rb, test/unit/cmd-helper.rb, test/unit/test-proc-main.rb: Sync with trepanning. 2011-01-24 rocky * processor/msg.rb: Error messages are underlined when in term mode. 2011-01-24 rocky * interface/base_intf.rb, processor/command/help.rb, processor/main.rb: main.rb: add command queuing and splitting via ;;. help.rb: document complex debugger command syntax. base_intf.rb: remove ansi_term. Not used here. 2011-01-24 rocky * processor/command/complete.rb: Rudimentary gdb "complete" commnd. 2011-01-24 rocky * app/options.rb, processor/command/help.rb, processor/command/show_subcmd/version.rb, processor/command/source.rb: A little more like gdb: add "show version" and "help all". 2011-01-23 rocky * processor/command/backtrace.rb: More compatible with gdb's backtrace. Expand help text. 2011-01-23 rocky * processor/command/list.rb: Don't truncate list output. 2011-01-23 rocky * app/display.rb, lib/trepanning.rb, processor/command/display.rb, processor/command/undisplay.rb, processor/display.rb, processor/main.rb: Add display expressions. It works, although the mocks and standalone code doesn't. 2011-01-23 rocky * sample/rocky-trepanx-colors.rb: Sample file color tweaks 2011-01-22 rocky * interface/base_intf.rb, processor/command/base/cmd.rb, processor/command/disassemble.rb, processor/command/eval.rb, processor/command/help.rb, processor/command/info_subcmd/breakpoints.rb, processor/command/info_subcmd/variables.rb, processor/command/list.rb, processor/command/pr.rb, processor/command/ps.rb, processor/disassemble.rb, processor/mock.rb, processor/msg.rb, sample/.gitignore, sample/list-terminal-colors.rb, test/unit/cmd-helper.rb, test/unit/test-base-subcmd.rb: Add section command - in terminal mode it makes the text bold. Add option hash to msg, ermmsg, etc. Only option right now is to allow unlimited (not truncated) text. 2011-01-22 rocky * app/llvm.rb, app/rbx-llvm.rb, processor/command/disassemble.rb, processor/disassemble.rb: Start to DRY CodeRay scanner for rubinius llvm. 2011-01-22 rocky * app/llvm.rb: syntax highlighting improvements for strings with embeded ", immediates, etc. 2011-01-22 rocky * app/llvm.rb, sample/rocky-trepanx-colors.rb: More complete Rubinius LLVM parsing. 2011-01-22 rocky * app/iseq.rb, app/llvm.rb, processor/command/disassemble.rb, processor/disassemble.rb: Add syntax coloring of disassembly via CodeRay. llvm.rb: our custom LLVM scanner. 2011-01-21 rocky Merge branch 'master' of github.com:rocky/rbx-trepanning 2011-01-21 rocky * processor/command/disassemble.rb: One more Trepanning->Trepan 2011-01-21 rocky * app/breakpoint.rb, app/brkptmgr.rb, test/unit/test-app-brkptmgr.rb: BreakpointMgr -> Trepan::BreakpointMgr 2011-01-21 rocky * app/breakpoint.rb, app/brkptmgr.rb, lib/trepanning.rb, processor/command/nexti.rb, processor/stepping.rb, test/unit/test-app-brkpt.rb, test/unit/test-app-brkptmgr.rb: Trepanning::Breakpoint -> Trepan::Breakpont 2011-01-21 rocky * app/iseq.rb: Trepan::ISeq needs only to be a module, not a class. 2011-01-21 rocky * app/default.rb: It *is* already large 2011-01-21 rocky * app/brkptmgr.rb, app/default.rb, app/options.rb, io/tcpserver.rb, lib/trepanning.rb, processor/command/server.rb, processor/command/source.rb, processor/default.rb, processor/mock.rb, test/unit/mock-helper.rb, test/unit/test-app-options.rb: Trepanning module -> Trepanning class singleton for app/default.rb 2011-01-21 rocky * .gemspec, Rakefile, app/options.rb, bin/trepanx, test/unit/test-app-options.rb: Trepanning module -> Trepan class singleton methods for app/options.rb 2011-01-21 rocky * app/iseq.rb, processor/disassemble.rb, processor/stepping.rb, test/unit/test-app-iseq.rb: Start to remove Trepanning module replacing it with Trepan singleton methods. 2011-01-18 rocky * processor/location.rb: Don't truncate source test in print_location 2011-01-18 rocky * processor/command/base/subcmd.rb, processor/command/info_subcmd/breakpoints.rb, processor/command/info_subcmd/file.rb, processor/command/info_subcmd/method.rb, processor/command/info_subcmd/program.rb, processor/command/info_subcmd/variables.rb, processor/command/set_subcmd/auto.rb, processor/command/set_subcmd/basename.rb, processor/command/set_subcmd/debug.rb, processor/command/set_subcmd/different.rb, processor/command/set_subcmd/hidelevel.rb, processor/command/set_subcmd/kernelstep.rb, processor/command/set_subcmd/max.rb, processor/command/set_subcmd/substitute.rb, processor/command/set_subcmd/terminal.rb, processor/command/set_subcmd/trace.rb, processor/command/show_subcmd/alias.rb, processor/command/show_subcmd/args.rb, processor/command/show_subcmd/auto.rb, processor/command/show_subcmd/basename.rb, processor/command/show_subcmd/debug.rb, processor/command/show_subcmd/different.rb, processor/command/show_subcmd/hidelevel.rb, processor/command/show_subcmd/kernelstep.rb, processor/command/show_subcmd/max.rb, processor/command/show_subcmd/terminal.rb, processor/command/show_subcmd/trace.rb: Use set_name_prefix to DRY setting class NAME and PREFIX inside command class. 2011-01-18 rocky * processor/command/set_subcmd/terminal.rb: Add 'set terminal reset' to force redoing syntax highlight. 2011-01-18 rocky * app/util.rb, processor/command/list.rb, processor/command/set_subcmd/max_subcmd/string.rb: Allow disabling max string which is what we do in listing. Default value is no longer the same as the minimum value. Revise and expand "help max string". 2011-01-18 rocky * sample/list-terminal-colors.rb: Add Ruby program to list and show default Term::ANSIColor names, colors and values. 2011-01-17 rocky * sample/rocky-dot-trepanxrc: Until I find the bug, turn off syntax highlighting 2011-01-17 rocky * .gemspec, sample/rocky-dot-trepanxrc, sample/rocky-trepanx-colors.rb: Show how to customize syntax highlighthing and give the debugger profile I use. 2011-01-17 rocky * test/unit/test-io-tcpserver.rb: Fix unit test? 2011-01-17 rocky * .gemspec: Change linecache required version number to make sure we pick up syntax highlighting 2011-01-17 rocky * .gemspec, processor/command/set_subcmd/basename.rb, processor/command/set_subcmd/terminal.rb, processor/command/show_subcmd/auto.rb, processor/command/show_subcmd/basename.rb, processor/command/show_subcmd/hidelevel.rb, processor/command/show_subcmd/kernelstep.rb, processor/command/show_subcmd/terminal.rb, processor/command/show_subcmd/trace.rb, processor/main.rb, test/unit/test-cmd-source.rb: Add ability to turn on and off terminal highlighting with "set/show terminal" 2011-01-17 rocky * lib/trepanning.rb, processor/command/show_subcmd/max.rb, processor/command/show_subcmd/trace.rb, processor/default.rb: Prepare for adding terminal command. Remove more of highlight from reference debugger. 2011-01-17 rocky * processor/location.rb: Update copyright 2011-01-17 rocky * app/options.rb, bin/trepanx, lib/trepanning.rb, processor/command/list.rb, processor/location.rb: Start using syntax highlighting for source via linecache. Add --terminal option. More work is needed. 2011-01-16 rocky * processor/command/source.rb: Add unit test source options. Fix bug in source option processing. 2011-01-13 rocky * processor/command/server.rb: Command to set server interface 2011-01-13 rocky * processor/command/source.rb: Sync with rb-trepanning 2011-01-13 rocky * app/client.rb, app/default.rb, app/options.rb, interface/base_intf.rb, processor/command/source.rb: server.rb: Add command to go server mode. source.rb: use optparse to parse options. client.rb: handle user EOF. default.rb: DRY host/port options. base_intf.rb: close() guards against uninitialized I/O. 2011-01-12 rocky * interface/server.rb, io/tcpserver.rb: Small changes 2011-01-11 rocky * app/options.rb, bin/trepanx, io/tcpclient.rb, lib/trepanning.rb, processor/main.rb, test/unit/test-io-tcpclient.rb: Sync with rb-trepanning. Small changes mostly. 2011-01-09 rocky * app/client.rb, app/default.rb, bin/trepanx, interface/server.rb, lib/trepanning.rb: Add trepanx --port and --host options and make sure these get passed through. 2011-01-09 rocky * app/default.rb, app/options.rb, io/tcpserver.rb, test/data/fname-with-blank.right, test/data/quit.right, test/integration/test-fname-with-blank.rb, test/integration/test-inline-call.rb, test/integration/test-quit.rb: Previous change removed some bugs which changed integration-test output. Start adding --port and --host options for remote debugging. 2011-01-09 rocky * ChangeLog, test/data/inline-call.right, test/example/gcd-inline-call.rb, test/example/gcd-server.rb, test/example/gcd.rb, test/example/inline-call.rb, test/integration/helper.rb, test/integration/test-inline-call.rb: Integration test for explict call to debugger in Ruby program. 2011-01-09 rocky * lib/trepanning.rb, processor/command/directory.rb, test/data/inline-call.cmd, test/example/gcd-inline-call.rb, test/example/gcd-server.rb, test/example/gcd-xx.rb, test/example/gcd1.rb: A number of small enhancements and little bug fixes. trepanning.rb: 1. set default input/output correctly. 2. add debugger alias for start 3. Allow cmdfile specification in start/debugger 4. Allow script options in cmdfile specification via tuple directory.rb: Expand help string example/gcd-*.rb: Start examples of above changes. No integration tests yet :-( 2011-01-09 rocky * app/client.rb, interface/base_intf.rb, interface/client.rb, interface/comcodes.rb, interface/server.rb, io/tcpserver.rb, processor/command/exit.rb, processor/main.rb: Remote debugging minimally works. 2011-01-08 rocky * app/client.rb, app/default.rb, app/options.rb, bin/trepanx, interface/base_intf.rb, interface/client.rb, interface/comcodes.rb, interface/server.rb, interface/user.rb, io/tcpserver.rb, lib/trepanning.rb, processor/command/continue.rb, processor/main.rb, test/unit/test-app-options.rb: First hint that remote debugging will work someday. options.rb, default.rb: Add --client and --server options client.rb: front-end client read loop continue.rb: fix docstring 2011-01-08 rocky * .gemspec, app/default.rb, app/options.rb, lib/trepanning.rb: Add --server option and remove duplicate version number. 2011-01-08 rocky * interface/client.rb, interface/server.rb, interface/user.rb, io/tcpserver.rb, test/unit/test-io-tcp.rb, test/unit/test-io-tcpclient.rb, test/unit/test-io-tcpserver.rb: Start client interface. Test TCP server/client pair together. 2011-01-08 rocky * io/tcpclient.rb, test/unit/test-io-tcpclient.rb, test/unit/test-io-tcpserver.rb: Add rudimentary TCP client-side I/O. Have neither tested combo, nor higher-level interface. 2011-01-08 rocky Merge branch 'master' of github.com:rocky/rbx-trepanning 2011-01-08 rocky * interface/comcodes.rb, interface/server.rb, io/base_io.rb, io/tcpfns.rb, io/tcpserver.rb, test/unit/test-io-tcpfns.rb, test/unit/test-io-tcpserver.rb: Start working on remote or out-of-process debugging, staring with TCP connections. Server IO started. Still need client, more of the interface and setup side. That is, much much more work is needed. 2011-01-01 rocky * ChangeLog, NEWS, lib/trepanning.rb: Get ready for release 0.0.3 2010-12-30 brainopia * processor/command/up.rb: Remove unneeded require with explicit location 2010-12-28 rocky * test/unit/cmd-helper.rb, test/unit/mock-helper.rb, test/unit/test-cmd-alias.rb, test/unit/test-cmd-break.rb, test/unit/test-cmd-exit.rb, test/unit/test-cmd-finish.rb, test/unit/test-cmd-help.rb, test/unit/test-cmd-kill.rb, test/unit/test-cmd-step.rb, test/unit/test-proc-eval.rb, test/unit/test-proc-main.rb: DRY code just a little more. 2010-12-27 rocky * processor/command/list.rb: list.rb: help text corrections. 2010-12-27 rocky * processor/command/finish.rb, processor/command/step.rb, processor/main.rb, processor/running.rb: Add finish+ to step one in calling method rather than stop before method return. 2010-12-27 rocky * processor/command/finish.rb, processor/command/step.rb, processor/stepping.rb, test/unit/test-cmd-finish.rb, test/unit/test-cmd-step.rb, test/unit/test-proc-location.rb: step.rb: Add "step into" "step over" and "step out" as alternates for "step", "next", and "finish" Add standalone and unit tests for step and finish. 2010-12-26 rocky * processor/stepping.rb, test/integration/helper.rb, test/integration/test-quit.rb: stepping.rb: Address another bug in stepping from the begging of a file. test-quit.rb: Simple check of .rbxrc for calling Trepan.start helper.rb: redirect stderr to stdout 2010-12-26 rocky * .gemspec, NEWS, Rakefile, lib/trepanning.rb, processor/command/step.rb: Repackage so gem will find on rubinius 1.2. 2010-12-25 rocky * README.textile: Oops... wrong require 2010-12-25 rocky * NEWS, README.textile, lib/trepanning.rb: Update README.textile which was horribly out of date for something so new. 2010-12-24 rocky * THANKS: Fix some of my usual spelling and grammar mistakes. 2010-12-23 rocky Merge branch 'master' of github.com:rocky/rbx-trepanning 2010-12-23 rocky * .gemspec, Rakefile, THANKS: Administrivia updates. 2010-12-23 rocky * Rakefile, app/frame.rb, app/iseq.rb, lib/trepanning.rb, processor/command/disassemble.rb, processor/command/frame.rb, processor/command/list.rb, processor/disassemble.rb, processor/frame.rb, processor/location.rb, processor/main.rb, processor/mock.rb, processor/running.rb, test/unit/test-proc-eval.rb, test/unit/test-proc-frame.rb: location -> vm_location where location is of type Rubinius::Location. 2010-12-19 rocky * processor/command/base/submgr.rb, processor/command/disassemble.rb, processor/command/irb.rb, processor/command/kill.rb: Sync with rb-trepanning. 2010-12-15 rocky * test/integration/helper.rb: Check $?.exitstatus after running debugger. 2010-12-15 rocky * test/data/quit-Xdebug.right, test/integration/helper.rb, test/integration/test-quit.rb: Add minimal -Xdebug integration test 2010-12-15 rocky * .gemspec, Rakefile, app/options.rb, lib/trepanning.rb, test/data/.gitignore, test/data/enable.right, test/data/fname-with-blank.cmd, test/data/fname-with-blank.right, test/data/quit.cmd, test/data/quit.right, test/example/.gitignore, test/example/fname with blank.rb, test/example/gcd-xx.rb, test/example/gcd.rb, test/example/gcd1.rb, test/example/null.rb, test/example/thread1.rb, test/integration/.gitignore, test/integration/file-diff.rb, test/integration/helper.rb, test/integration/test-fname-with-blank.rb, test/integration/test-quit.rb: Start integration tests. Wasn't packaging test/data/. Turn on "set kernelstep off" for now. 2010-12-15 rocky * lib/trepanning.rb: Turn of kernelstep for now and leave that for the user to turn on. When things go wrong, we need this on. So until everything is more robust leave out. 2010-12-14 rocky * processor/stepping.rb: Give error message if we can't step to parent. 2010-12-14 rocky * NEWS, THANKS: Cleaning up in preparation for release. 2010-12-14 rocky * .gemspec, Rakefile, app/frame.rb, app/method.rb, lib/trepanning.rb, processor/command/disassemble.rb, processor/command/info_subcmd/program.rb, processor/command/nexti.rb, processor/disassemble.rb, processor/location.rb, processor/stepping.rb: Adapt to recent ip changes - need to use next_ip rather than ip sometimes. Rakefile: Require newer linecache and Rubinius; make gem Rubinius specific. 2010-12-05 rocky * processor/location.rb, test/functional/fn_helper.rb: Add IP when showing location. 2010-12-05 rocky * lib/trepanning.rb, processor/command/set_subcmd/basename.rb, processor/command/set_subcmd/kernelstep.rb, processor/command/show_subcmd/basename.rb, processor/command/show_subcmd/kernelstep.rb, processor/main.rb, processor/running.rb: "set kernelstep on/off": filter out stepping into the kernel. 2010-12-05 rocky * processor/command/base/subcmd.rb, processor/command/set_subcmd/different.rb, processor/command/set_subcmd/hidelevel.rb, processor/command/show_subcmd/alias.rb, processor/running.rb: add subcmd#prefix to DRY demo code more. Start ignore_file_re to ignore kernel fns. 2010-11-28 rocky * Rakefile: Add rake tasts to run standalone in bulk. 2010-11-28 rocky * processor/command/info_subcmd/breakpoints.rb, processor/command/set_subcmd/different.rb, processor/command/set_subcmd/hidelevel.rb, processor/command/set_subcmd/trace.rb, processor/command/show_subcmd/alias.rb, processor/command/show_subcmd/args.rb, processor/command/show_subcmd/different.rb, processor/mock.rb: DRY subcommand standalone code. 2010-11-28 rocky * processor/breakpoint.rb, processor/validate.rb: Method parsing from "list" and "disassemble" command reused in "breakpoint" and "continue". 2010-11-28 rocky * processor/breakpoint.rb, processor/validate.rb: Small changes. 2010-11-28 rocky * processor/command/disassemble.rb, processor/command/list.rb, processor/validate.rb: Allow method names in the "list" command. 2010-11-28 rvm * processor/command/disassemble.rb, processor/eval.rb: Handle method names with '.' in disassembly. e.g. Object.is_a? or [1,2].max 2010-11-27 rocky * processor/command/set_subcmd/auto_subcmd/dis.rb, processor/command/set_subcmd/auto_subcmd/eval.rb, processor/command/set_subcmd/auto_subcmd/irb.rb, processor/command/set_subcmd/auto_subcmd/list.rb, processor/command/set_subcmd/debug_subcmd/dbgr.rb, processor/command/set_subcmd/debug_subcmd/skip.rb, processor/command/set_subcmd/debug_subcmd/step.rb, processor/command/show_subcmd/auto_subcmd/eval.rb, processor/command/show_subcmd/auto_subcmd/irb.rb, processor/command/show_subcmd/auto_subcmd/list.rb, processor/command/show_subcmd/debug_subcmd/dbgr.rb, processor/command/show_subcmd/debug_subcmd/skip.rb, processor/command/show_subcmd/debug_subcmd/step.rb, processor/mock.rb: Start much-needed DRY of subsubcommand standalone code. Another half remain to be shortened. 2010-11-27 rvm * processor/command/show_subcmd/debug_subcmd/skip.rb, processor/command/show_subcmd/debug_subcmd/step.rb: Last bugfixes before we *really* DRY this redundant code. 2010-11-27 rvm * app/method.rb: meth->cm 2010-11-27 rvm * app/iseq.rb, processor/command/disassemble.rb, processor/command/nexti.rb, processor/command/set_subcmd/debug_subcmd/skip.rb, processor/command/set_subcmd/debug_subcmd/step.rb, processor/command/show_subcmd/debug_subcmd/step.rb, processor/main.rb, processor/stepping.rb: Fix bug in nexti.rb. Add set/show debug step. More standalone code. Start great rewrite method/meth -> cm. 2010-11-27 rvm * app/method.rb, processor/command/disassemble.rb: Show lines numbers in method disassembly. 2010-11-27 rocky * processor/command/set_subcmd/auto_subcmd/dis.rb, processor/command/show_subcmd/auto_subcmd/dis.rb, processor/command/show_subcmd/auto_subcmd/eval.rb, processor/command/show_subcmd/auto_subcmd/irb.rb, processor/command/show_subcmd/auto_subcmd/list.rb, processor/hook.rb, processor/main.rb, processor/stepping.rb: Add "auto dis" which might be short-lived. Uncomment and fix some of the standalone code for subcommands. 2010-11-27 rocky * lib/trepanning.rb, processor/location.rb: Small changes. 2010-11-21 rocky * lib/trepanning.rb: Add Kernel.debugger 2010-11-21 rocky * test/functional/test-next-bug.rb: Code function may be less puzzling, not that it really matters. 2010-11-21 rocky * app/method.rb, app/run.rb, processor/command/disassemble.rb, processor/command/next.rb, processor/main.rb, processor/running.rb, processor/stepping.rb, test/functional/test-next-bug.rb: Fix bug in 'next' when a line has discontinuous ips. Fix broken bin/trepanx due to interface change in ignored_methods. Allow disassembly of methods in "disassemble" command. 2010-11-20 rocky * processor/command/continue.rb, processor/location.rb: continue.rb: forgotting to update a call for an interface change => brokenness. 2010-11-20 rocky Merge branch 'master' of github.com:rocky/rbx-trepanning 2010-11-20 rocky * processor/frame.rb, processor/location.rb: Remap eval strings to temporary files. Use a better eval location indicator. 2010-11-19 rvm * lib/trepanning.rb, processor/main.rb, processor/stepping.rb, test/functional/test-step2.rb: Fix bug where stepping from of a return doesn't stop on outside frame. 2010-11-19 rocky * app/iseq.rb, lib/trepanning.rb, processor/command/disassemble.rb, processor/command/up.rb, processor/disassemble.rb, processor/frame.rb, processor/main.rb, processor/running.rb, processor/stepping.rb, processor/validate.rb, test/functional/test-finish.rb, test/unit/test-app-iseq.rb: Towards handing step across return. Nicer disassembly single statements. Fixed method filtering iseq.c: go_between: now understands that a return breaks the flow too lib/trepannig.rb: add initialize routine to ignored list of filtered fns command/disassemble.rb: reorganize so we can handle disassemble of individual methods command/up.rb: fix comment processor/disassemble.rb: use Rubinius::CompiledMethod::Instruction to shorten code and get comments in output frame.rb: common routine to get parent frame. processor/running.rb: remove bug in method filter test. processor/stepping.rb: better generalization of related breakpoint handling. 2010-11-17 rocky * app/method.rb, app/validate.rb, processor/breakpoint.rb, processor/command/break.rb, processor/command/continue.rb, processor/validate.rb, test/functional/test-tbreak.rb, test/unit/test-app-method.rb, test/unit/test-app-validate.rb: Can now set breakpoints on IPs. Fix status and setting of some temporary breakpoints. 2010-11-16 rocky * .gemspec, processor/command/list.rb, processor/location.rb, processor/validate.rb, test/functional/test-break-name.rb: Use script caching recently added to linecache for eval-like things. As a result, "list" now works. validate: bug in regexp was not catching !,? or = at the end. 2010-11-15 rvm * app/frame.rb, processor/location.rb: We pick up the eval_string now. Thanks again, evan! (More could be done to cache info as a file.) 2010-11-14 rvm * processor/breakpoint.rb: Remove extraneous comment. 2010-11-14 rvm * processor/breakpoint.rb, processor/main.rb: Delete temporary breakpoints after hitting them. 2010-11-14 rvm * app/irb.rb, app/iseq.rb, processor/command/disassemble.rb, processor/command/info_subcmd/program.rb, processor/disassemble.rb, test/unit/test-app-iseq.rb: Tag disassemble output with IP location and breakpoints set. 2010-11-13 rvm * app/util.rb, lib/trepanning.rb, processor/command/set_subcmd/hidelevel.rb, processor/frame.rb: Hiding levels below "main" for -Xdebug and trepanx better. util.rb: Don't need dollar_0 routine anymore. set_subcmd/hidelevel.rb: recalculate level on resetting. 2010-11-12 rvm * app/default.rb, processor/command/restart.rb, processor/command/show_subcmd/args.rb, processor/mock.rb: Synch with rb-trepannning 2010-11-11 rvm * app/method.rb, test/unit/test-app-method.rb: Add locate_line test. Some other small changes. 2010-11-10 rvm * app/iseq.rb, processor/running.rb, processor/stepping.rb, test/unit/test-app-iseq.rb: "finish" should include "yield" ops in addition to "return" ops. 2010-11-09 rvm * data/irbrc: One more small name change. 2010-11-09 rvm * data/irbrc, processor/command/irb.rb: trepan -> trepanx 2010-11-09 rvm * data/irbrc, processor/command/set_subcmd/trace_subcmd/.gitignore, processor/command/show_subcmd/trace_subcmd/.gitignore: Monkeypatch in the proper way. 2010-11-09 rocky * app/default.rb, app/run.rb, bin/trepanx, lib/trepanning.rb, processor/command/restart.rb, processor/command/show_subcmd/args.rb, processor/location.rb, processor/mock.rb, test/unit/test-app-run.rb: Greatly simplify restart code and it's now more reliable thanks to the addition of Rubinuis::OS_ARGV and Rubinius::OS_STARTUP_DIR. Thanks, Evan! 2010-11-08 rocky * app/default.rb, app/run.rb, lib/trepanning.rb: Generalize standalone hack so and include -Xdebug. 2010-11-08 rocky * processor/command/backtrace.rb: Wasn't starting from top if we had adjusted the frame. Add position indicator in backtrace and make it look more like trepan (and gdb). 2010-11-08 rvm * app/method.rb, app/run.rb, interface/script.rb, io/base_io.rb, io/null_output.rb, processor/command/set_subcmd/max.rb, processor/command/set_subcmd/max_subcmd/list.rb, processor/command/set_subcmd/substitute.rb, processor/command/set_subcmd/trace.rb, processor/command/set_subcmd/trace_subcmd/.gitignore, processor/command/set_subcmd/trace_subcmd/print.rb, processor/command/show_subcmd/max.rb, processor/command/show_subcmd/max_subcmd/list.rb, processor/command/show_subcmd/trace.rb, processor/command/show_subcmd/trace_subcmd/.gitignore, processor/command/show_subcmd/trace_subcmd/print.rb, processor/command/source.rb, processor/frame.rb: bin/trepanx now stops in user script rather than the loader. It does this by rather hacky means, but it's the best I can find for now. Added a null output routine and the -q (silence) option on the source command. 2010-11-08 rvm * processor/command/finish.rb, processor/command/list.rb: list.rb: make it I hope more rational. finish.rb: some cut-and-past typos. 2010-11-07 rvm * processor/frame.rb, test/functional/fn_helper.rb, test/functional/test-list.rb: Fix bug in handling "list" command after changing frames. 2010-11-07 rvm Merge branch 'master' of github.com:rocky/rbx-trepanning 2010-11-07 rvm * app/run.rb, app/util.rb, lib/trepanning.rb: Pick up $0 from Rubinius::Location#script when we are called via -Xdebug since it hasn't been defined before. 2010-11-06 rocky * app/method.rb, test/functional/test-break.rb: Work on setting breakpoints via line numbers. 2010-11-06 rvm * app/breakpoint.rb, lib/trepanning.rb, processor/command/continue.rb, test/functional/fn_helper.rb, test/functional/test-tbreak.rb: Had broken temporary breakpoints. Add now a tbreak test. 2010-11-06 rvm * lib/trepanning.rb, processor/command/finish.rb, processor/main.rb, processor/running.rb: Code clean up due to differen handling of stepping breakpoints. 2010-11-06 rocky * app/breakpoint.rb, app/frame.rb, lib/trepanning.rb, processor/command/nexti.rb, processor/stepping.rb, test/functional/test-finish.rb, test/functional/test-next.rb: Allow breakpoints to be scoped. Fixes bugs in handling recursive "next" and "finish". Based on Rubinius commit # 3a1c111. See issue Rubinius issue #558 2010-11-06 rocky * processor/breakpoint.rb, processor/command/continue.rb, processor/main.rb: Start "continue" with a target. Temp breakpoints are borked though. 2010-11-05 rocky * app/run.rb, lib/trepanning.rb, processor/command/list.rb, processor/running.rb: Work more on ignoring methods we don't want to stop in. 2010-11-05 rocky * app/run.rb, processor/mock.rb, processor/running.rb: Skip over debug_program method (used in standalone). 2010-11-05 rocky * processor/location.rb, test/unit/test-proc-location.rb: Fix bug in not picking up remapped files the first time around. 2010-11-05 rocky * processor/command/next.rb, processor/command/step.rb, processor/main.rb, processor/running.rb, test/unit/test-bin-trepan.rb, test/unit/test-bin-trepanx.rb: "set different" now works properly. 2010-11-04 rocky * processor/command/set_subcmd/hidelevel.rb, processor/default.rb, processor/frame.rb: Some small bugs and keep in sync with rb-trepanning. 2010-11-04 rocky * .gemspec, bin/trepan, bin/trepanx: bin/trepan -> bin/trepanx 2010-11-04 rvm * app/run.rb, processor/command/base/subcmd.rb, processor/command/set_subcmd/debug_subcmd/stack.rb, processor/command/set_subcmd/different.rb, processor/command/set_subcmd/hidelevel.rb, processor/command/show_subcmd/debug_subcmd/stack.rb, processor/command/show_subcmd/different.rb, processor/command/show_subcmd/hidelevel.rb, processor/command/show_subcmd/max_subcmd/list.rb, processor/command/show_subcmd/max_subcmd/stack.rb, processor/command/show_subcmd/max_subcmd/string.rb, processor/command/show_subcmd/max_subcmd/width.rb, processor/default.rb, processor/frame.rb, processor/validate.rb: Replace "set debug stack" with more general "set hidelevel". Fix up some standalone code running. Use SubSubcommand where appropriate. 2010-11-04 rvm * lib/trepanning.rb, processor/main.rb, test/functional/test-finish.rb, test/functional/test-next.rb, test/functional/test-step.rb: start now stops by default at *following* steppable statement. If you want to stop at the "start" location, use Trepan.start{:immediate => true} 2010-11-03 rocky * lib/trepanning.rb, processor/command/info_subcmd/program.rb, processor/main.rb, test/functional/test-finish.rb: Nil breakpoint means "stepping call" event. 2010-11-01 rocky * test/functional/test-finish.rb, test/functional/test-next.rb: First test of "finish" command. Todo: Looks like it's buggy when we have recursive functions. 2010-10-21 rocky * app/util.rb, test/unit/test-app-util.rb: Try elision of long strings in the middle of the string. 2010-10-21 rocky * app/brkptmgr.rb, app/method.rb, app/run.rb, lib/trepanning.rb, processor/breakpoint.rb, processor/command/break.rb, processor/command/disassemble.rb, processor/validate.rb, test/functional/test-next.rb: Fix bug in breakpoint numbering. Fix bug in restart when running bin/trepan breakpoint allows forms nothing (current line) line as well as previous forms. app/brkptmgr.rb: max should start off 0. app/method.rb: routines for working with compiled methods app/run.rb: use dbgr passed in. Don't smash restart_args, via set_restart, allow opts to be passed in lib/trepanning merge dbussink's fix in rbx-head to reference debugger command/disassemble.rb: had tropped off section header for "all" processor/validate.rb: common routine to parse a breakpoint position. 2010-10-19 rvm * test/functional/test-next.rb: Add 'next' functional test. 2010-10-19 rocky * Rakefile, lib/trepanning.rb, processor/frame.rb, processor/main.rb, processor/running.rb: Rakefile: add functional testing lib/trepanning.rb: honor input and output interfaces when passed processor/frame.rb: RDoc appeasement processor/main.rb: Change commen so it makes more sense when viewed in RDoc processor/running.rb: remove debug output. 2010-10-19 rocky * test/functional/test-step.rb: First functional test of single stepping. WOOT! 2010-10-19 rocky * test/functional/.gitignore, test/functional/fn_helper.rb, test/functional/test-fn_helper.rb: Baby steps toward adding functional test: test the test helper. Some RDoc appeasements. 2010-10-19 rocky * app/breakpoint.rb, processor/breakpoint.rb, processor/command/finish.rb, processor/running.rb, processor/stepping.rb: Add finish (step out) command. app/breakpoint.rb: generalize paired breakpoints to more than two which is needed for finish. processor/breakpoint.rb: fix bugs caused by refactoring 2010-10-18 rvm * app/iseq.rb, processor/stepping.rb, test/unit/test-app-iseq.rb: Extract, test, and fix more instruction sequence routines. 2010-10-18 rvm * app/iseq.rb, processor/command/set_subcmd/debug_subcmd/skip.rb, processor/command/show_subcmd/debug_subcmd/skip.rb, processor/main.rb, processor/mock.rb, processor/stepping.rb, test/unit/test-cmd-alias.rb, test/unit/test-proc-eval.rb, test/unit/test-proc-main.rb: Add set/show debug skip. Start moving out instruction sequence code to module. 2010-10-18 rvm * app/run.rb, lib/trepanning.rb, processor/command/disassemble.rb, processor/frame.rb, processor/main.rb, processor/running.rb, processor/stepping.rb: Hide level only if it makes sense. Start work on finish. (Not complete). Fix But in stepping test. 2010-10-17 rvm * processor/command/next.rb, processor/command/step.rb, processor/main.rb, processor/running.rb: Next/step now works. 2010-10-17 rvm * processor/command/continue.rb, processor/command/next.rb, processor/command/nexti.rb, processor/command/step.rb, processor/main.rb, processor/running.rb, processor/stepping.rb: Move return-to-program control into main.rb. Facilitates handling step filtering. 2010-10-17 rvm * processor/command/next.rb, processor/command/step.rb, processor/main.rb, processor/stepping.rb: Move stepping code to Trepan::CmdProcessor in file processor/stepping.rb 2010-10-16 rvm * processor/mock.rb, test/unit/test-cmd-help.rb: Reinstate expect message on assert 2010-10-16 rvm * processor/command/alias.rb, processor/command/list.rb, processor/command/pr.rb, processor/command/show.rb: DRY code with respect to Mock setup. less hard-coding of command names via #{NAME} 2010-10-16 rvm Merge branch 'master' of github.com:rocky/rbx-trepanning 2010-10-16 rvm * processor/command/alias.rb, processor/command/backtrace.rb, processor/command/base/cmd.rb, processor/command/continue.rb, processor/command/directory.rb, processor/command/down.rb, processor/command/eval.rb, processor/command/exit.rb, processor/command/frame.rb, processor/command/help.rb, processor/command/info.rb, processor/command/irb.rb, processor/command/kill.rb, processor/command/list.rb, processor/command/next.rb, processor/command/ps.rb, processor/command/restart.rb, processor/command/set.rb, processor/command/show.rb, processor/command/source.rb, processor/command/unalias.rb, processor/command/up.rb: Add Trepan::Command#name and dry code with it. 2010-10-14 rocky * processor/command/pr.rb: Add print/eval with truncated output for long strings. 2010-10-14 rocky * processor/command/set_subcmd/debug_subcmd/dbgr.rb, processor/command/show_subcmd/debug_subcmd/dbgr.rb, processor/command/step.rb, processor/main.rb, processor/running.rb, test/unit/test-base-subcmd.rb: running.rb, step.rb: More work trying to put into a normal command loop. Add "set debug dbgr". Add test of base commands. 2010-10-14 rvm * lib/trepanning.rb, processor/breakpoint.rb, processor/main.rb, processor/running.rb: Add Trepan.breakpoint instance variable. Start to get step count and stuff in place for step filtering. 2010-10-13 rvm * app/irb.rb, data/.gitignore, data/irbrc, processor/command/irb.rb, processor/command/set_subcmd/auto_subcmd/irb.rb, processor/command/show_subcmd/auto_subcmd/irb.rb, processor/mock.rb: Add debugger 'irb' command and set/show autoirb. 2010-10-13 rocky * processor/hook.rb: Add set/show debug dbgr. 2010-10-13 rocky * processor/command/set_subcmd/auto.rb, processor/command/set_subcmd/debug.rb, processor/command/set_subcmd/debug_subcmd/.gitignore, processor/command/set_subcmd/debug_subcmd/stack.rb, processor/command/show_subcmd/args.rb, processor/command/show_subcmd/debug.rb, processor/command/show_subcmd/debug_subcmd/.gitignore, processor/command/show_subcmd/debug_subcmd/stack.rb, processor/command/show_subcmd/max.rb: Add set/show debug stack - to hide/show least-recent boilerplate frames that are generally not a programmer's concern. 2010-10-13 rocky * app/util.rb, processor/command/backtrace.rb, processor/frame.rb, test/unit/test-app-util.rb, test/unit/test-proc-frame.rb: Start hiding boilerplate start-up frames. set debug stack (which has not been put in yet) will let you see these frames. 2010-10-12 rocky * processor/mock.rb, test/unit/cmd-helper.rb, test/unit/test-cmd-break.rb: First breakpoint unit test. Yay! 2010-10-12 rocky * processor/frame.rb, processor/mock.rb, processor/validate.rb, test/unit/test-proc-frame.rb: Reinstate most of the processor/frame unit test from rb-trepanning. 2010-10-12 rocky * lib/trepanning.rb, processor/frame.rb, processor/main.rb: Small frame code cleanups. 2010-10-12 rvm * app/brkptmgr.rb, app/frame.rb, lib/trepanning.rb, processor/breakpoint.rb, processor/command/break.rb: Address breakpoints broken in last breakpoint reorganization. 2010-10-12 rvm * processor/command/continue.rb, processor/command/next.rb, processor/command/nexti.rb, processor/command/step.rb, processor/main.rb, processor/running.rb: Start to get control over what happens before and after returning to debugged program. This will be needed to handle filtering stops (used for example when running the debugger from the outset) and recording events in an event buffer. 2010-10-11 rvm * lib/trepanning.rb, processor/frame.rb, processor/main.rb: processor/frame.rb: show location in usual format, not the backtrace format processor/main.rb: reinstate code with print_loatio lib/trepanning.rb: spelling correction in comment. 2010-10-08 rocky * lib/trepanning.rb, processor/command/disassemble.rb, processor/disassemble.rb, processor/frame.rb, processor/location.rb, processor/main.rb: Move some disassembly code from lib/trepanning.rb to processor/disassemble.rb 2010-10-08 rocky * Makefile, processor/Makefile: Add boilerplate Makefile's 2010-10-08 rocky * test/unit/test-unit-exit.rb: How did this get in there? 2010-10-08 rocky * processor/command/info_subcmd/breakpoints.rb, test/unit/test-cmd-exit.rb: Add unit test for exit. Add help for "info breakpoints". Copied from rb-trepanning - Not quite accurate yet. 2010-10-08 rocky * processor/command/source.rb: Small things to sync up with rb-trepanning 2010-10-08 rocky * app/breakpoint.rb, app/brkptmgr.rb, lib/trepanning.rb, processor/command/break.rb, processor/command/next.rb, processor/command/nexti.rb, processor/command/tbreak.rb, test/unit/test-app-brkpt.rb, test/unit/test-app-brkptmgr.rb: Small things to sync up with rb-trepanning 2010-10-07 rocky * processor/command/list.rb: Add current-line indicator. 2010-10-07 rocky * Rakefile, app/breakpoint.rb, app/brkptmgr.rb, lib/trepanning.rb, processor/command/info.rb, processor/command/info_subcmd/breakpoints.rb, processor/command/tbreak.rb, test/unit/test-app-brkptmgr.rb: More better tests of breakpoint manager. There is some breakage remaining though. info_subcmd/breakpoints.rb: work on this. Again there's some breakage from the bp manager merge Rakefile: add task check:app. Correct check:command. 2010-10-07 rocky * lib/trepanning.rb, processor/location.rb: Show location in same format as 1.9.2 debugger (and other gdb-like debuggers). 2010-10-07 rocky * lib/trepanning.rb, processor/command/info_subcmd/program.rb, processor/command/next.rb, processor/command/nexti.rb, processor/location.rb, processor/main.rb: lib/trepanning.rb, nexti.rb, next.rb: make event names match rb-trepanning. Use string not symbol. location.rb: Reinstate print_location. 2010-10-07 rocky * app/breakpoint.rb, lib/trepanning.rb, processor/command/break.rb, processor/command/info_subcmd/program.rb, processor/command/next.rb, processor/command/nexti.rb: Start to add stopped event types. 2010-10-07 rocky * app/brkptmgr.rb, lib/trepanning.rb, processor/breakpoint.rb, processor/command/break.rb, processor/command/next.rb: Move set-breakpoint_method from lib/trepanning.rb into processor/breakpoint.rb brktmgr.rb: add rest of demo code lib/trepanning.rb: Don't need @breakpoints anymore. Use @processor.brkpts next.rb: typo. 2010-10-05 rocky * app/breakpoint.rb, lib/trepanning.rb, test/unit/test-app-brkpt.rb: breakpoint.rb: respect setting id value when passed. Add some demo code. Add unit test for app/breakpoint.rb 2010-10-04 rocky * app/brkptmgr.rb: Start Breakpoint manager. 2010-10-04 rocky * app/breakpoint.rb, lib/trepanning.rb, processor/command/next.rb, processor/command/nexti.rb: Baby step towards merging breakpoint handling with rb-trepanning. 2010-09-29 rocky * processor/command/set_subcmd/substitute.rb, processor/command/set_subcmd/substitute_subcmd/.gitignore, processor/command/set_subcmd/substitute_subcmd/path.rb: Add "set substitute ppath" command. 2010-09-27 rocky * processor/command/info_subcmd/file.rb: Add "info file". 2010-09-27 rocky * ChangeLog, processor/location.rb: Track rbx-linecache change which was tracking a change from linecache-tf... 2010-09-27 rocky * README.textile: README tyhpo 2010-09-27 rocky * README.textile: Add rbx-require-relative to README 2010-09-27 rocky * README.textile: Readme typo 2010-09-27 rocky * README.textile: Readme typo 2010-09-27 rocky * README.textile: Small readme tweak 2010-09-27 rocky * .gemspec, README.textile: Add README 2010-09-27 rocky * test/unit/test-bin-trepan.rb: Add unit test for bin/trepan 2010-09-27 rocky * lib/trepanning.rb, processor/main.rb, test/unit/test-app-options.rb, test/unit/test-app-run.rb: Run debugger user profile and set initial directory. Add options test. 2010-09-27 rocky * processor/command/set_subcmd/max_subcmd/list.rb, processor/command/show_subcmd/max_subcmd/list.rb: Add "set/show max list" 2010-09-27 rocky * processor/command/list.rb, processor/command/set_subcmd/max_subcmd/stack.rb, processor/default.rb: Add "set/show max list" 2010-09-27 rocky * app/frame.rb, processor/command/continue.rb, processor/command/list.rb, processor/command/nexti.rb, processor/command/set_subcmd/auto_subcmd/list.rb, processor/command/show_subcmd/auto_subcmd/list.rb, processor/command/step.rb, processor/frame.rb, processor/main.rb, processor/mock.rb, processor/validate.rb: Add "list" and set/show autolist commands. Somewhat buggy. 2010-09-27 rocky * .gemspec, lib/trepanning.rb, processor/command/directory.rb, processor/command/kill.rb, processor/default.rb, processor/location.rb, processor/main.rb: Add gdb-like 'directory' command so we can trace into rubinius source. 2010-09-26 rocky * .gemspec, Rakefile, lib/trepanning.rb: Need require-relative dependency. 2010-09-26 rocky * processor/command/restart.rb: Sync with rb-trepanning 2010-09-26 rocky * Rakefile, app/default.rb, app/options.rb, app/run.rb, bin/trepan, lib/trepanning.rb, processor/command/restart.rb, processor/default.rb, processor/mock.rb, processor/validate.rb, test/unit/test-app-run.rb: Rbdbgr->Trepanning 2010-09-26 rocky * THANKS: Text hacking 2010-09-26 rocky * THANKS: Text hacking 2010-09-26 rocky * processor/command/down.rb, processor/command/up.rb: Add "up" and "down" commands - this time, for sure! 2010-09-26 rocky * doc/debugger.html, lib/trepanning.rb, processor/command/frame.rb, processor/frame.rb, processor/main.rb: Add "up" and "down" commands. Renstatate more of trepan's CmdProcessor frame routines. 2010-09-25 rocky * .gemspec, app/default.rb, app/options.rb: Add executable. Pick up right command init file. 2010-09-25 rocky * .gemspec, AUTHORS, Rakefile, THANKS, app/options.rb, app/run.rb, bin/.gitignore, bin/trepan, processor/command/break.rb: Add code to invoke from outset. Complete with debugger options. Needs improvement to skip over the crap before main.__script__ starts. Numerous other small changes. 2010-09-25 rocky * .gemspec, .gitignore, AUTHORS, ChangeLog, NEWS, Rakefile, debugger.rb, lib/.gitignore, lib/trepanning.rb, processor/eval.rb, processor/mock.rb: Administrivia: do things to make a gem. debugger.rb -> lib/trepanning.rb So you now: require 'trepanning' 2010-09-25 rocky * doc/.gitignore, doc/debugger.html: Start revised documentation. 2010-09-25 rocky * app/default.rb, debugger.rb, processor/command/restart.rb, processor/command/show_subcmd/args.rb, processor/mock.rb: Add "restart" command. YAY! Means we also have "show args". 2010-09-25 rocky * app/run.rb, debugger.rb, processor/command/break.rb, processor/eval.rb, processor/main.rb, test/unit/test-app-run.rb: Bang on eval(). I think I've got it this time. Start run/restart. 2010-09-25 rocky * app/frame.rb, test/unit/test-proc-help.rb, test/unit/test-proc-hook.rb, test/unit/test-subcmd-help.rb: Stuffthat didn't seem to get committed last time. 2010-09-25 rocky * processor/command/base/cmd.rb, processor/eval.rb, processor/main.rb: Add more tests back in. Attempt to disembowl eval code. I think some bugs were fixed. 2010-09-25 rocky * app/breakpoint.rb, app/frame.rb, debugger.rb, processor/breakpoint.rb, processor/command/backtrace.rb, processor/command/base/cmd.rb, processor/command/break.rb, processor/command/delete.rb, processor/command/source.rb, processor/frame.rb, processor/main.rb, test/unit/cmd-helper.rb, test/unit/test-unit-exit.rb: debugger.rb : remove show_ip option. Goes in processor. bang on breakpoint code. move some to processor/breakpoint.rb processor/breakpoint.rb: more error checking info app/frame.rb: describe() pass in options - add show IP parameter. remove duplicate ip location app/breakpoint.rb: change IP location indicator from + to @. Is this right? base/cmd.rb: run_code() was wrong. Other misc bugs fixed. 2010-09-24 rocky * processor/command/alias.rb: Reinstate showing aliases code in "alias" command 2010-09-24 rocky * processor/command/exit.rb: Update help for exit 2010-09-24 rocky * processor/command/exit.rb, processor/command/frame.rb: frame.rb: was in wrong category exit.rb: add q! 2010-09-24 rocky * LICENSE, app/breakpoint.rb, app/frame.rb, debugger.rb, processor/breakpoint.rb, processor/command/base/subsubcmd.rb, processor/command/eval.rb, processor/command/info_subcmd/program.rb, processor/command/ps.rb, processor/command/set_subcmd/max.rb, processor/command/set_subcmd/max_subcmd/.gitignore, processor/command/set_subcmd/max_subcmd/stack.rb, processor/command/set_subcmd/max_subcmd/string.rb, processor/command/set_subcmd/max_subcmd/width.rb, processor/command/show_subcmd/max.rb, processor/command/show_subcmd/max_subcmd/.gitignore, processor/command/show_subcmd/max_subcmd/stack.rb, processor/command/show_subcmd/max_subcmd/string.rb, processor/command/show_subcmd/max_subcmd/width.rb, processor/default.rb, processor/eval.rb, processor/main.rb: Add max set/show subcommands "info program" processor eval now sets filename and we now store breakpoint ids. prompt is more inline with other debuggers :-( 2010-09-23 rocky * debugger/.gitignore, debugger/Makefile, debugger/command/.gitignore, debugger/command/base/.gitignore, debugger/command/base/cmd.rb, debugger/command/set.rb, debugger/old/.gitignore, debugger/old/command.rb, debugger/old/debug_client.rb, debugger/old/debug_server.rb, debugger/old/debugger.rb, debugger/old/interface.rb, debugger/old/output.rb, debugger/old/standard_commands.rb, debugger/old/vm_commands.rb, processor/command/base/subsubcmd.rb, processor/command/base/subsubmgr.rb, processor/command/exit.rb, processor/command/set_subcmd/auto.rb, processor/command/set_subcmd/auto_subcmd/.gitignore, processor/command/set_subcmd/auto_subcmd/eval.rb, processor/command/show_subcmd/auto.rb, processor/command/show_subcmd/auto_subcmd/.gitignore, processor/command/show_subcmd/auto_subcmd/eval.rb, processor/main.rb, processor/running.rb: Add subsub commands. In particular: set/show autoeval. 2010-09-23 rocky * debugger.rb, debugger/command/info.rb, debugger/command/show.rb, processor/command/break.rb, processor/command/info.rb, processor/command/info_subcmd/.gitignore, processor/command/info_subcmd/breakpoints.rb, processor/command/info_subcmd/method.rb, processor/command/info_subcmd/variables.rb, processor/command/set.rb, processor/command/set_subcmd/.gitignore, processor/command/set_subcmd/different.rb, processor/command/show_subcmd/different.rb, processor/default.rb, processor/mock.rb, processor/subcmd.rb: Finish up last of commands to be converted from reference debugger. Add some of routines from trepan for 1.9.2. 2010-09-23 rocky * processor/command/base/subcmd.rb, processor/command/base/submgr.rb, processor/command/show.rb, processor/command/show_subcmd/.gitignore, processor/command/show_subcmd/alias.rb, processor/help.rb, processor/subcmd.rb: Add first subcommand: show. Take "alias" from trepan as the first subcommand. 2010-09-23 rocky * debugger.rb, debugger/command/nexti.rb, processor/command/base/cmd.rb, processor/command/disassemble.rb, processor/command/nexti.rb, processor/eval.rb, processor/main.rb: Move over "nexti" command. Figure out "disassemble" problem. main.rb: add traceback on internal error. 2010-09-23 rocky * debugger.rb, debugger/command/delete.rb, debugger/command/disassemble.rb, debugger/command/frame.rb, debugger/command/tb.rb, processor/command/backtrace.rb, processor/command/break.rb, processor/command/delete.rb, processor/command/disassemble.rb, processor/command/frame.rb, processor/command/tbreak.rb, processor/main.rb: Move over delete, frame, tbreak, backtrace, break and diassemble. 2010-09-23 rocky * Rakefile, processor/command/backtrace.rb: Small changes. 2010-09-23 rocky * debugger/command/break.rb, debugger/command/help.rb, debugger/command/step.rb, processor/command/break.rb, processor/command/next.rb, processor/command/step.rb: Add 'step'. Start 'break'. 2010-09-23 rocky * debugger/command/backtrace.rb, processor/command/backtrace.rb, processor/command/continue.rb, processor/command/next.rb: Add backtrace 2010-09-23 rocky * debugger.rb, processor/frame.rb, processor/hook.rb, processor/main.rb: Move process-command code from debugger.rb into into processor/main.rb Add hook code from 1.9.2 trepan. Not used yet though. 2010-09-22 rocky * debugger.rb, debugger/command/eval.rb, processor/command/base/cmd.rb, processor/command/eval.rb, processor/command/help.rb, processor/command/next.rb, processor/mock.rb: Add command eval. Short help working In 1.8 class.constants are strings while in 1.9 class.constants are symbols. 2010-09-22 rocky * Makefile, debugger.rb, debugger/command/continue.rb, debugger/command/kill.rb, processor/command/alias.rb, processor/command/continue.rb, processor/command/next.rb, processor/command/unalias.rb, test/unit/test-cmd-alias.rb: Add 'continue', 'alias', and 'unalias' commands. 2010-09-22 rocky * Rakefile, debugger.rb, debugger/command/next.rb, processor/command/help.rb, processor/command/next.rb, processor/frame.rb, processor/main.rb, test/unit/test-cmd-help.rb: First stepping command, "next" now does something. 2010-09-22 rocky * test/unit/test-proc-main.rb, test/unit/test-proc-validate.rb: Unit tests for processor/main.rb and processor/validate.rb 2010-09-22 rocky * processor/command/kill.rb, processor/main.rb, processor/validate.rb: Add validation routines. Some parts are commented out for now. 2010-09-22 rocky * Rakefile, app/breakpoint.rb, app/display.rb, app/frame.rb, app/util.rb, debugger.rb, debugger/breakpoint.rb, debugger/display.rb, debugger/frame.rb, processor/command/base/cmd.rb, processor/command/kill.rb, processor/load_cmds.rb, processor/main.rb, processor/msg.rb, test/unit/test-app-util.rb, test/unit/test-intf-user.rb: Our first commands -- 'help' and 'kill' under the reorganization! 2010-09-22 rocky * .gitignore, Rakefile, app/.gitignore, app/default.rb, app/mock.rb, debugger/command/next.rb, interface/.gitignore, interface/base_intf.rb, interface/script.rb, interface/user.rb, io/.gitignore, io/base_io.rb, io/input.rb, io/string_array.rb, processor/.gitignore, processor/command/.gitignore, processor/command/base/.gitignore, processor/command/base/cmd.rb, processor/command/help.rb, processor/command/kill.rb, processor/default.rb, processor/load_cmds.rb, processor/main.rb, processor/mock.rb, test/unit/.gitignore, test/unit/cmd-helper.rb, test/unit/test-cmd-help.rb, test/unit/test-cmd-kill.rb, test/unit/test-io-input.rb, test/unit/test-proc-load_cmds.rb: Get command loading boilerplate. Help is there now. Interface added. And even some of the unit tests! 2010-09-21 rocky * debugger/command/base/cmd.rb: Small cleanup before big reorganization 2010-09-21 rocky * Makefile, Rakefile, debugger.rb, debugger/.gitignore, debugger/Makefile, debugger/breakpoint.rb, debugger/command/backtrace.rb, debugger/command/base/.gitignore, debugger/command/base/cmd.rb, debugger/command/break.rb, debugger/command/continue.rb, debugger/command/delete.rb, debugger/command/disassemble.rb, debugger/command/eval.rb, debugger/command/frame.rb, debugger/command/help.rb, debugger/command/info.rb, debugger/command/kill.rb, debugger/command/next.rb, debugger/command/nexti.rb, debugger/command/set.rb, debugger/command/show.rb, debugger/command/step.rb, debugger/command/tb.rb, debugger/commands.rb, debugger/display.rb, debugger/frame.rb: Put all commands in the 'command' directory. Add temporary hack to keep Command.command singleton array from growing on running each debugger command. 2010-09-18 rvm * .gitignore, debugger.rb, debugger/command/.gitignore, debugger/command/eval.rb, debugger/command/kill.rb, debugger/commands.rb: Move commands to a 'command' directory. 2010-09-17 rvm * Initial debugger import from rubinius.