2012-01-01 Rocky Bernstein <rocky@cpan.org>
* .gitignore, Build.PL, MANIFEST,
lib/Devel/Trepan/CmdProcessor/Command/Disassemble.pm,
t/10test-cmd-complete.t: Move Disassemble to a separate add-on
package. Other administrivia.
2012-01-01 Rocky Bernstein <rocky@cpan.org>
* t/10test-options.t, t/20test-trepanpl-opts.t: Avoid STO's smokers.
He hasn't been responsive in queries.
2012-01-01 Rocky Bernstein <rocky@cpan.org>
* Build.PL, t/20test-sig.t: Reinstate signal stop test in Perl 5.8
2012-01-01 Rocky Bernstein <rocky@cpan.org>
* : Start to merge with perl-5.8 branch
2012-01-01 Rocky Bernstein <rocky@cpan.org>
* t/20test-sig.t, t/data/sig.cmd, t/data/sig.right,
t/data/sig2.cmd, t/data/sig2.right: Add sig pass test
2012-01-01 Rocky Bernstein <rocky@cpan.org>
* t/20test-sig.t, t/data/sig.cmd: Test stopping on a signal
2012-01-01 Rocky Bernstein <rocky@cpan.org>
* t/data/sig2.cmd, t/data/sig2.right: Test stopping on a single.
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* t/Helper.pm: Sync with master
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* t/20test-sig.t, t/Helper.pm: Wasn't passing error return in
run_debugger
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, example/signal.pl, lib/Devel/Trepan/Core.pm,
t/Helper.pm: Sync with master
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* : commit 21781fba655c4b6d91307b8cef3e1488be2e530a Author: Rocky
Bernstein <rocky@cpan.org> Date: Sat Dec 31 23:30:22 2011 -0500
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* : commit 063fefc63d20c8d11b923fefc28ff63e4ec9b08e Merge: 8358a9b
c22c762 Author: Rocky Bernstein <rocky@cpan.org> Date: Sat Dec 31
23:23:11 2011 -0500
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, example/signal.pl, lib/Devel/Trepan/Core.pm,
t/20test-sig.t, t/Helper.pm, t/data/sig.cmd, t/data/sig.right: Add
first signal handling integration test of handle with pass through.
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* example/signal.pl, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Breakpoint.pm,
lib/Devel/Trepan/SigHandler.pm: Sighandler.pm: Remove git conflict
line. Frame.pm: Handle signal handler stop a little better. rest:
Compatiblity with 5.8 code.
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* : I hate conflicted merges
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Watch.pm, t/data/eval.cmd,
t/data/eval.right: Add eval test case that had previously failed
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* t/data/eval.cmd, t/data/eval.right: Add eval test case that had
previously failed
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Watch.pm: Use Perl 5.8 way of
setting $opt hash. All tests now work! YAY!
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/DB/Breakpoint.pm: Address bug in setting breakpoint
and listing it. (20test-list4.t).
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Eval.pm:
eval_with_return: restoring saved global variables properly. Reduce
test failures.
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/Eval.pm: eval_with_return: restoring saved
global variables properly.
2011-12-31 rvm <you@example.com>
* Build.PL, lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, t/10test-cmd-complete.t,
t/10test-db-brkpt.t, t/10test-watchmgr.t, t/Helper.pm: Unit tests
start working. Some of the integration tests work
2011-12-31 Rocky Bernstein <rocky@cpan.org>
* : I hate conflicted merges
2011-12-31 rvm <you@example.com>
* Build.PL, bin/trepan.pl, lib/Devel/Trepan.pm,
lib/Devel/Trepan/Client.pm, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Complete.pm,
lib/Devel/Trepan/CmdProcessor/Command/Disable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Down.pm,
lib/Devel/Trepan/CmdProcessor/Command/Edit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Enable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
My.pm, lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Variable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Up.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Hook.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/Complete.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Backtrace.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, lib/Devel/Trepan/DB/Display.pm,
lib/Devel/Trepan/DB/Eval.pm, lib/Devel/Trepan/DB/LineCache.pm,
lib/Devel/Trepan/IO.pm, lib/Devel/Trepan/IO/StringArray.pm,
lib/Devel/Trepan/Interface/Script.pm,
lib/Devel/Trepan/Interface/Server.pm,
lib/Devel/Trepan/Interface/User.pm, lib/Devel/Trepan/Options.pm,
lib/Devel/Trepan/SigHandler.pm, lib/Devel/Trepan/Util.pm,
t/10test-db-brkpt.t, t/10test-util.t: Start to make it work on perl
5.8
2011-12-30 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Eval.pm: Remove a
small bug and a expected warning
2011-12-28 Rocky Bernstein <rocky@cpan.org>
* t/Helper.pm: Helper.pm: Explain why funny return code test
2011-12-28 Rocky Bernstein <rocky@cpan.org>
* ChangeLog, lib/Devel/Trepan/SigHandler.pm, t/Helper.pm: Helper.pm:
Tidy up output when an integration test fails
2011-12-26 Rocky Bernstein <rocky@cpan.org>
* bin/trepan.pl, lib/Devel/Trepan/CmdProcessor/Command/Eval.pm: Add
'p' as an alias for eval.
2011-12-26 Rocky Bernstein <rocky@cpan.org>
* : commit 821b71c8ecb721f0ea5d753190f369d384ad361a Author: Rocky
Bernstein <rocky@cpan.org> Date: Mon Dec 26 22:04:37 2011 -0500
2011-12-25 Rocky Bernstein <rocky@cpan.org>
* Build.PL: Don't include ExtUtils::PkgConfig.
2011-12-25 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/DB/LineCache.pm, t/Helper.pm: Reduce dependencies
for build. Use Digest::SHA instead of Digest::SHA1. Don't use
String::Diff.
2011-12-25 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Confirm.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/EvalDisplay.pm: Add
better help and completion for 'set evaldisplay'. Typo in Confirm.
2011-12-25 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/SigHandler.pm,
t/10test-complete.t: Work on "stop" action when signal is external
to debugged process
2011-12-25 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Command/Handle.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Macros.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Signals.pm,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/Complete.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/SigHandler.pm,
t/10test-complete.t: Signal handling largely works! Add 'info
signal' Add common completion method for signals. Fix a typo here
and there.
2011-12-25 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/SigHandler.pm: A perlish kind of bug
2011-12-25 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/SigHandler.pm: Close to being usable.
2011-12-24 Rocky Bernstein <rocky@cpan.org>
* bin/trepan.pl,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Return.pm,
lib/Devel/Trepan/DB.pm: bin/trepan.pl: Fix up so we really
require_relative. Return.pm: guard against undef. DB.pm futz with
"finish" which is currently borked.
2011-12-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/SigHandler.pm, t/10test-sighandler.t: Move
sighandler code. For such a simple straightforward feature and
implementation, this is proving to be more code than I had
remembered.
2011-12-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/Util.pm: Remove Core.pm
warnings and make strict even if we can't 'use strict'
2011-12-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/SigHandler.pm: Rough cut port of Python code
finished. Still need to go over to make it work.
2011-12-24 Rocky Bernstein <rocky@cpan.org>
* t/10test-watchmgr.t: Add unit test for watch points
2011-12-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/BrkptMgr.pm, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/WatchMgr.pm, t/10test-position.t: Fix bugs in
WatchMgr. make sure fns in demo code are not defined if not
demo'ing.
2011-12-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/SigHandler.pm, t/10test-sighandler.t: More code
(and thus more tests) signal handling. Still not complete though.
2011-12-23 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/SigHandler.pm, lib/Devel/Trepan/Util.pm,
t/10test-util.t: Fill in more of the signal handling code.
2011-12-23 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/SigHandler.pm, t/10test-sighandler.t: put Signal
Manager under Devel::Trepan namespace
2011-12-23 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/SigHandler.pm, lib/Devel/Trepan/WatchMgr.pm: Port
a little more code.
2011-12-23 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, MANIFEST.SKIP,
lib/Devel/Trepan/CmdProcessor/Command/Handle.pm,
lib/Devel/Trepan/SigHandler.pm, t/10test-sighandler.t: Start signal
handler routines - not working yet.
2011-12-22 Rocky Bernstein <rocky@cpan.org>
* : commit cc75fab14c49ba80e39ebc7d72356817b6f1c3d1 Author: Rocky
Bernstein <rocky@cpan.org> Date: Thu Dec 22 22:39:01 2011 -0500
2011-12-22 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Core.pm: Save %SIG before debugger modifies it.
2011-12-21 Rocky Bernstein <rocky@cpan.org>
* example/except-bug1.pl, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Backtrace.pm, lib/Devel/Trepan/Options.pm: Add
post-mortem debugging. For now option --port-mortem. Should add a
"set" command too.
2011-12-21 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/Eval.p
m, lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/DB/LineCache.pm, t/data/break.cmd,
t/data/break.right, t/data/debug.right, t/data/eval.right: Warn if
we try to set a breakpoint on a "use" statement. Auto evaluation
now looks at the statement for a sigil to get the return context by
default.
2011-12-18 Rocky Bernstein <rocky@cpan.org>
* bin/trepan.pl, lib/Devel/Trepan/CmdProcessor/Default.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/Options.pm: Allow user-specified debugger command
directores via trepan.pl option --cmddir. Useful in testing without
installing the split-out the 'shell' command which resides in a
different project.
2011-12-18 Rocky Bernstein <rocky@cpan.org>
* MANIFEST.SKIP, bin/trepan.pl, data/Enbugger-trepan.patch, testit:
More Administriva: remove unused files and adjust MANIFEST.SKIP
2011-12-18 Rocky Bernstein <rocky@cpan.org>
* README, README.md: More README futzing
2011-12-18 Rocky Bernstein <rocky@cpan.org>
* README.md: More markdown futzing
2011-12-18 Rocky Bernstein <rocky@cpan.org>
* README.md: Slightly better markdown - use headings and remove a
blockquote
2011-12-18 Rocky Bernstein <rocky@cpan.org>
* Build.PL, README, README.md, lib/Devel/Trepan.pm,
lib/Devel/Trepan/Options.pm: Administrivia: Go over readme, bump
version and clean up Build.PL.
2011-12-16 Rocky Bernstein <rocky@cpan.org>
* META.json, META.yml, lib/Devel/Trepan.pm,
lib/Devel/Trepan/Options.pm: Get ready for 0.1.4 release
2011-12-16 Rocky Bernstein <rocky@cpan.org>
* ChangeLog, Changes, lib/Devel/Trepan/Client.pm,
lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/Util.pm, t/10test-util.t:
Add to Trepan::Devel::Util a simple filename validation routine
2011-12-16 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Client.pm: (Re)use debugger user output print routines
2011-12-16 Rocky Bernstein <rocky@cpan.org>
* : commit 12ca44c1025f957886968d4a6a1b6b405be67f5c Author: Rocky
Bernstein <rocky@cpan.org> Date: Fri Dec 16 06:07:55 2011 -0500
2011-12-16 Rocky Bernstein <rocky@cpan.org>
* t/10test-cmd-complete.t, t/20test-eval.t, t/data/eval2.right: Perl
10.0 compatibility
2011-12-12 Rocky Bernstein <rocky@cpan.org>
* : commit b8b0f7a49c1dd73a456a75eb38f5309566a9b575 Author: Rocky
Bernstein <rocky@cpan.org> Date: Mon Dec 12 20:56:58 2011 -0500
2011-12-11 Rocky Bernstein <rocky@cpan.org>
* ChangeLog, Changes, META.json, META.yml, lib/Devel/Trepan.pm,
t/10test-condition.t: Get ready for 0.1.3 release
2011-12-11 U-M-936AF0DEB90E4\Administrator <Administrator@m-936af0deb90e4.(none)>
* lib/Devel/Trepan/CmdProcessor/Command/Display.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/Condition.pm, t/10test-condition.t,
t/10test-options.t, t/20test-eval.t, t/20test-trace.t,
t/data/eval2.right: tests work now under strawberry Pelr and its
DOSish filename conventions. exec -> system in Strawberry Perl and
more $OSNAME testing. Some bugs fixed in filename canonicalization.
2011-12-09 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm: Bail out properly on
a bad "list" command. Add some sort of "list" command completion
2011-12-08 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan/Client.pm: These changes helped on
Fedora Relaese 9 running Perl 5.10.0
2011-12-08 Rocky Bernstein <rocky@cpan.org>
* t/20test-break.t, t/data/break2.right: Filter out Exporter.pm line
number differences.
2011-12-07 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
t/20test-break.t, t/data/break2.cmd, t/data/break2.right: Allow
"break FILENAME LINENUMBER" now. Test for various forms of the
"break" command.
2011-12-06 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/Breakpoint.pm: Handle setting breakpoints in
files other than the current one.
2011-12-06 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Functions.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, t/20test-break.t,
t/data/break.right: Work on "break" when a function is given.
2011-12-06 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm: Add
breakpoint number completion on "info breakpoints"
2011-12-06 Rocky Bernstein <rocky@cpan.org>
* : commit ed20492cb7e1e0591393a9125fadd07ac5806c4a Author: Rocky
Bernstein <rocky@cpan.org> Date: Tue Dec 6 06:31:31 2011 -0500
2011-12-06 Rocky Bernstein <rocky@cpan.org>
* : commit 1b1c727821f57f15d4d16b66aa1cfdb1b38dc39a Author: Rocky
Bernstein <rocky@cpan.org> Date: Mon Dec 5 23:02:23 2011 -0500
2011-12-04 Rocky Bernstein <rocky@cpan.org>
* : commit f859032b0941534acc891a0de6529891b7b91fa3 Merge: 75afabe
8549ac4 Author: Rocky Bernstein <rocky@cpan.org> Date: Sun Dec 4
17:54:44 2011 -0500
2011-12-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Eval.pm: Minor help grammar
change to eval
2011-12-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Confirm.pm:
Improve help for "confirm" command
2011-12-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Disassemble.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm: Bug in disassemble command.
Add $cmdproc->{funcname}
2011-12-04 Rocky Bernstein <rocky@cpan.org>
* t/10test-cmd-complete.t: Update complete test now that "info
functions" has been added
2011-12-04 Rocky Bernstein <rocky@cpan.org>
* MANIFEST,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Functions.pm:
Start gdb-like "info functions" .
2011-12-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Frame.pm:
Completion for "info frame" is frame number completion
2011-12-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/DB/Backtrace.pm: Fix up "info frame", e.g. better
help, nows take a frame parameter. Validate: fix in max/min
checking caused by Perl automatic coersion
2011-12-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Edit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/DB/Backtrace.pm, lib/Devel/Trepan/DB/LineCache.pm:
Go over frame handling a little bit. More later. Add preliminary
completion on "edit" and "break" commands.
2011-12-03 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/Complete.pm: Remove some completion debugging
output
2011-12-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm, lib/Devel/Trepan/Complete.pm:
Filename completion on "source" command. More will follow -- i.e..
edit, break, list -- as soon as I get the breakpoint line numbers
bug fixed.
2011-12-03 Rocky Bernstein <rocky@cpan.org>
* : commit f69e6a3b4f1b1374b2eeb49c6a46b1794342a246 Author: Rocky
Bernstein <rocky@cpan.org> Date: Sat Dec 3 19:13:53 2011 -0500
2011-12-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm: Various "info break"
bugs. Completion for "info breakpoints" works by allowing
complete_with_next to deal with a constant array.
2011-12-03 Rocky Bernstein <rocky@cpan.org>
* MANIFEST,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Interactive.pm,
lib/Devel/Trepan/CmdProcessor/Default.pm,
lib/Devel/Trepan/DB/Sub.pm, lib/Devel/Trepan/IO/Input.pm,
lib/Devel/Trepan/Options.pm: Don't use syntax highlighting if TERM
is dumb (other than dumb EMACS). DB::Sub.pm guard against stack
which might not be set. This happens when Enbugger is used.
2011-12-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Interactive.pm,
lib/Devel/Trepan/IO/Input.pm, lib/Devel/Trepan/IO/StringArray.pm,
lib/Devel/Trepan/IO/TCPClient.pm, lib/Devel/Trepan/IO/TCPServer.pm,
lib/Devel/Trepan/Interface/User.pm: Add "show interactive - gdb has
something similar
2011-12-03 Rocky Bernstein <rocky@cpan.org>
* MANIFEST,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Interactive.pm:
Add "show interactive - gdb has something similar
2011-12-03 Rocky Bernstein <rocky@cpan.org>
* bin/trepan.pl: Strawberry Perl has problems with exec, but not
system()
2011-12-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/Interface/Script.pm: A Script interface's msg when
in server mode needs to use the server write. The way we do this is
a little hacky, but it's what we use for now.
2011-12-01 Rocky Bernstein <rocky@cpan.org>
* : commit d4642b4734a98c18a45d2080f6553bbfe7f0d3e8 Author: Rocky
Bernstein <rocky@cpan.org> Date: Thu Dec 1 23:09:35 2011 -0500
2011-12-01 Rocky Bernstein <rocky@cpan.org>
* : commit d31a9e5233d57cd55055d67ac0b4ff482298f4eb Author: Rocky
Bernstein <rocky@cpan.org> Date: Thu Dec 1 02:46:28 2011 -0500
2011-12-01 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm, lib/Devel/Trepan/IO/Input.pm,
lib/Devel/Trepan/Interface.pm, lib/Devel/Trepan/Interface/User.pm:
Switch to Term::ReadLine::Perl by default as that handles tab
completion better and is probably more available.
2011-11-30 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, README, bin/trepan.pl, bin/trepanpl,
lib/Devel/Trepan.pm, lib/Devel/Trepan/IO/Input.pm,
lib/Devel/Trepan/Options.pm, t/20test-trepanpl-opts.t, t/Helper.pm:
trepanpl -> trepan.pl because I think that's cooler.
2011-11-30 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/Interface/User.pm: Work on command completion more.
Still largely broken because the Term::ReadLine::Gnu documention is
largely opaque if not buggy.
2011-11-30 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Complete.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/Complete.pm, t/10test-cmd-complete.t: Fix bugs in
"complete" command.
2011-11-30 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Client.pm, lib/Devel/Trepan/IO/TCPClient.pm,
lib/Devel/Trepan/IO/TCPServer.pm: Use IO::Socket connected(); do a
slightly more gracefult shutdown.a
2011-11-28 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Server.pm,
lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/IO/TCPServer.pm,
lib/Devel/Trepan/Interface/Server.pm: trepanpl --server option now
logs to STDOUT. logger field is now just a file handle rather than
an Devel::Trepan::Interface.
2011-11-28 Rocky Bernstein <rocky@cpan.org>
* : commit 8b87e300152476313d490897113d87490a531c8d Author: Rocky
Bernstein <rocky@cpan.org> Date: Mon Nov 28 07:13:21 2011 -0500
2011-11-27 Rocky Bernstein <rocky@cpan.org>
* README.md: Some README typos
2011-11-27 Rocky Bernstein <rocky@cpan.org>
* README.md: Some README typos
2011-11-27 Rocky Bernstein <rocky@cpan.org>
* README.md, bin/trepanpl, data/Enbugger-trepan.patch,
lib/Devel/Trepan/Client.pm,
lib/Devel/Trepan/CmdProcessor/Command/Server.pm,
lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/IO/TCPPack.pm,
lib/Devel/Trepan/IO/TCPServer.pm,
lib/Devel/Trepan/Interface/ComCodes.pm,
lib/Devel/Trepan/Interface/Server.pm, lib/Devel/Trepan/Options.pm:
Out-of-process debugging starts to work.
2011-11-26 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Options.pm: whence_file should do nothing if file
path is absolute
2011-11-26 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Options.pm: Add --no-readline option to trepanpl
2011-11-26 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Interface/User.pm, lib/Devel/Trepan/Options.pm:
Strawberry Perl's readline doesn't seem to history commands
2011-11-26 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Interface/User.pm, lib/Devel/Trepan/Options.pm:
Strawberry Perl's readline doesn't seem to history commands
2011-11-26 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Disassemble.pm,
lib/Devel/Trepan/DB/Backtrace.pm: Allow no args to disassemble to
mean the current frame.
2011-11-26 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan/CmdProcessor/Command.pm,
lib/Devel/Trepan/CmdProcessor/Command/Complete.pm,
lib/Devel/Trepan/CmdProcessor/Command/Debug.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Command/Macro.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm, t/10test-cmd-complete.t: Add
debugger command 'complete '. Some minor fixes.
2011-11-26 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/CmdProcessor/Command/Debug.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
My.pm, lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set.pm: replace $NEED_RUNNING
and $NEED_STACK with constants. Typo in My.pm - use $lex_type.
2011-11-26 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Macros.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Lexicals.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
My.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Our.pm, lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Watch.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/Eval.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/List.p
m, lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/EvalDisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Trace_Subcmd/Print
.pm, lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Variable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/Eval.
pm, lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Core.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Subsubcmd.pm: Use class
constants for MIN_ARGS, MAX_ARGS and NEEDS_RUNNING in subcommands.
2011-11-25 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command.pm,
lib/Devel/Trepan/CmdProcessor/Command/Action.pm,
lib/Devel/Trepan/CmdProcessor/Command/Alias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Condition.pm,
lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/CmdProcessor/Command/Debug.pm,
lib/Devel/Trepan/CmdProcessor/Command/Delete.pm,
lib/Devel/Trepan/CmdProcessor/Command/Disable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Disassemble.pm,
lib/Devel/Trepan/CmdProcessor/Command/Display.pm,
lib/Devel/Trepan/CmdProcessor/Command/Down.pm,
lib/Devel/Trepan/CmdProcessor/Command/Edit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Enable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info.pm,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Macro.pm,
lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Restart.pm,
lib/Devel/Trepan/CmdProcessor/Command/Server.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show.pm,
lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/TBreak.pm,
lib/Devel/Trepan/CmdProcessor/Command/Unalias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Undisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Up.pm,
lib/Devel/Trepan/CmdProcessor/Command/Watch.pm: Setting min/max
values attempt 2. Use package constants. Disable parameter checking
on subcommands for now..
2011-11-25 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command.pm,
lib/Devel/Trepan/CmdProcessor/Command/Action.pm,
lib/Devel/Trepan/CmdProcessor/Command/Alias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Condition.pm,
lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/CmdProcessor/Command/Debug.pm,
lib/Devel/Trepan/CmdProcessor/Command/Delete.pm,
lib/Devel/Trepan/CmdProcessor/Command/Disable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Disassemble.pm,
lib/Devel/Trepan/CmdProcessor/Command/Display.pm,
lib/Devel/Trepan/CmdProcessor/Command/Down.pm,
lib/Devel/Trepan/CmdProcessor/Command/Edit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Enable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info.pm,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Macro.pm,
lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Restart.pm,
lib/Devel/Trepan/CmdProcessor/Command/Server.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show.pm,
lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/CmdProcessor/Command/TBreak.pm,
lib/Devel/Trepan/CmdProcessor/Command/Unalias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Undisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Up.pm,
lib/Devel/Trepan/CmdProcessor/Command/Watch.pm,
lib/Devel/Trepan/Core.pm: Start to remove 'our' non-package scope
for 'use vars' which is package scope
2011-11-25 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command.pm: Fix Grammar in comment.
2011-11-24 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Running.pm,
t/20test-cont.t, t/data/cont.cmd, t/data/cont.right: Fix yet another
step/continue bug.
2011-11-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Sub.pm, t/data/eval.cmd, t/data/next.cmd: More
bugs bugs bugs created in trying to DRY stepping code.
2011-11-24 Rocky Bernstein <rocky@cpan.org>
*
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Lexicals.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
My.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Our.pm: Newer perls have newer restrictions. Sigh. Also got an rlib
directory wrong and installed version was masking bad behavior.
2011-11-24 Rocky Bernstein <rocky@cpan.org>
*
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Lexicals.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
My.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Our.pm, t/data/break.cmd, t/data/debug.cmd, t/data/fin.cmd,
t/data/my.cmd: Bug, bugs, bugs.
2011-11-24 Rocky Bernstein <rocky@cpan.org>
*
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Lexicals.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
My.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Our.pm: DRY "show info var" code. Add "info var lexicals".
2011-11-24 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, example/our.pl,
lib/Devel/Trepan/CmdProcessor/Command/Down.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
My.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Our.pm: Use "info var my" code goodness of in "info var our".
2011-11-24 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, example/TCPPack.pm, lib/Devel/Trepan/BrkptMgr.pm,
t/10test-proc-load.t, t/20test-fin.t, t/data/fin.right: tests
somehow got broken in merging. Other administrivia.
2011-11-23 Rocky Bernstein <rocky@cpan.org>
* : commit 8a85aee6cbc45069f4e6a353d1f31bdc688f0c8c Author: Rocky
Bernstein <rocky@cpan.org> Date: Wed Nov 23 23:54:44 2011 -0500
2011-11-23 Rocky Bernstein <rocky@cpan.org>
* : commit dc72e86264a435620e78578fe3c9e378919345ec Author: Rocky
Bernstein <rocky@cpan.org> Date: Wed Nov 23 07:01:42 2011 -0500
2011-11-22 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, example/my.pl,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
My.pm, t/20test-my.t, t/data/my.cmd, t/data/my.right: Work on
formatting "info var my" output.
2011-11-22 Rocky Bernstein <rocky@cpan.org>
* : commit 18f1bfd062fca3147f770f39fd31cc9e5b8cfab1 Author: Rocky
Bernstein <rocky@cpan.org> Date: Mon Nov 21 22:39:01 2011 -0500
2011-11-21 Rocky Bernstein <rocky@cpan.org>
* : commit 20afecf63179fb415bbcc28caa1c63878e6b3ad6 Author: Rocky
Bernstein <rocky@cpan.org> Date: Mon Nov 21 12:10:17 2011 -0500
2011-11-21 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
.gitignore,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
My.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Variables_Subcmd/
Our.pm: Add "info var my" and info var our"
2011-11-20 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, README.md: Add markdown version of README for github.
2011-11-20 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, lib/Devel/Trepan/DB.pm,
t/data/fin.cmd, t/data/fin.right: Dry "continue" code. Don't allow
"finish" what at a return.
2011-11-20 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, META.json, META.yml, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Sub.pm, t/20test-fin.t, t/data/fin2.cmd,
t/data/fin2.right: DRY finish code and make it work. Add META's.
2011-11-20 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Location.pm, t/data/fin.right,
t/data/seq1.right: Show subroutine name in location on a return.
2011-11-20 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Command/Shell.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Sub.pm, lib/Devel/Trepan/IO.pm,
t/10test-proc-load.t, t/20test-fin.t, t/data/fin.cmd,
t/data/fin.right, t/data/seq1.right: Fix bug in "finish" command.
Show return subroutine on "info return". Remove shell command since
support from Psh is probably not forthcoming and Psh is stagnant.
2011-11-20 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/Client.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/Interface.pm,
lib/Devel/Trepan/Interface/Client.pm,
lib/Devel/Trepan/Interface/Script.pm,
lib/Devel/Trepan/Interface/Server.pm,
lib/Devel/Trepan/Interface/User.pm: Start top-level debugger client
code. Remove prototypes on interfaces because they are all
different.
2011-11-19 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/IO/TCPClient.pm,
lib/Devel/Trepan/IO/TCPServer.pm,
lib/Devel/Trepan/Interface/ComCodes.pm,
lib/Devel/Trepan/Interface/Server.pm: More work on out-of-processes
debugging. Add a "server" interface. TCP client/server IO rough cut.
2011-11-19 Rocky Bernstein <rocky@cpan.org>
* t/10test-io-tcppack.pm, t/10test-io-tcppack.t: Oopps wrong
extension for test program
2011-11-19 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/IO/NullOutput.pm,
lib/Devel/Trepan/IO/TCPClient.pm, lib/Devel/Trepan/IO/TCPPack.pm,
t/10test-io-tcppack.pm: Start work on out-of-process debugging.
2011-11-17 Rocky Bernstein <rocky@cpan.org>
* Build.PL, ChangeLog, Changes, lib/Devel/Trepan.pm,
lib/Devel/Trepan/Options.pm: Get ready for release 0.1.2
2011-11-15 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/DB/LineCache.pm: Changes to eval file handling
which keep cygwin abs_path from not barfing
2011-11-15 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Command/Debug.pm,
t/Makefile: Add a Makefile for the t directory. Debug.pm: Correct
some grammar/spelling typos in comments.
2011-11-15 Rocky Bernstein <rocky@cpan.org>
* .gitignore, t/20test-debug.t, t/data/debug.cmd,
t/data/debug.right: Add debug test and ignore Makefile.PL
2011-11-15 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/Display.pm: Update comments. clean up demo
code.
2011-11-15 Rocky Bernstein <rocky@cpan.org>
* .gitignore, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Display.pm, lib/Devel/Trepan/DB/Eval.pm: Pass
return type as a variable reducing the scope of one more global DB
variable.
2011-11-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan.pm, lib/Devel/Trepan/Options.pm: In 0.1.2dev now
2011-11-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Eval.pm: Tidy up eval
code a little. A little more would be nice though.
2011-11-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Debug.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Eval.pm,
lib/Devel/Trepan/Options.pm, t/20test-eval.t, t/20test-trace.t:
Nested debugging state saving working properly. Remove dupliate
--command/--testing options on some tests.
2011-11-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Debug.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Eval.pm,
lib/Devel/Trepan/DB/Sub.pm: Start recursive debug via the "debug"
command. Some work is still needed in figuring out when we've
finished eval.
2011-11-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/IO.pm: Reduce demo mode warninngs more and more
protoype checking.
2011-11-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm,
lib/Devel/Trepan/Interface.pm,
lib/Devel/Trepan/Interface/Script.pm,
lib/Devel/Trepan/Interface/User.pm: Make use Perl's protoype
checking more. If it means not using OO-style calls, that's ok.
Reduce warnings when running demo code.
2011-11-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB.pm: Undo inadvertant change to turn off trace
2011-11-13 Rocky Bernstein <rocky@cpan.org>
* GNUmakefile, lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Sub.pm:
Add installdeps target
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* Build.PL: One more change before release 0.1.1 - allow no signing
of dist
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan.pm, lib/Devel/Trepan/DB.pm: See above
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* .gitignore, Changes, GNUmakefile, MANIFEST, MANIFEST.SKIP,
lib/Devel/Trepan/Options.pm: I said, get ready for release 0.1.1
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* ChangeLog: Get ready for 0.1.1 release
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Break.pm, t/data/break.cmd,
t/data/break.right: Fix bug in not giving status on a simple "break"
command.
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Disable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Edit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Enable.pm: Add enable/disable
of action and watch expressions in addition to breakpoints.
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Watch.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/WatchMgr.pm,
t/data/watch1.right: Add watchpoint hit count.
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Watch.pm,
lib/Devel/Trepan/CmdProcessor/Command/Watch.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, lib/Devel/Trepan/WatchMgr.pm,
t/data/watch1.cmd, t/data/watch1.right: Add ability to show watch
expressions in "info break". Add "info watch".
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Core.pm: A couple more
relative_lib -> rlib's
2011-11-12 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Action.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Condition.pm,
lib/Devel/Trepan/CmdProcessor/Command/Display.pm,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/Shell.pm,
lib/Devel/Trepan/CmdProcessor/Command/Watch.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, lib/Devel/Trepan/DB.pm,
t/20test-watch1.t, t/data/watch1.right, t/data/watch2.cmd,
t/data/watch2.right: Make sure watch expression stop through
continue. Go over help on various commands.
2011-11-11 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm: Add list accessor.
Some commented-out require_lib -> rlib
2011-11-11 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Action.pm,
lib/Devel/Trepan/CmdProcessor/Command/Alias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Condition.pm,
lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/CmdProcessor/Command/Delete.pm,
lib/Devel/Trepan/CmdProcessor/Command/Disable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Display.pm,
lib/Devel/Trepan/CmdProcessor/Command/Down.pm,
lib/Devel/Trepan/CmdProcessor/Command/Edit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Enable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Macros.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Program.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Macro.pm,
lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Restart.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Abbrev.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/Eval.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/List.p
m, lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Basename.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Confirm.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Different.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/EvalDisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Highlight.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/List.pm
,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/Stack.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/String.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/Width.p
m, lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Timer.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Trace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Trace_Subcmd/Print
.pm, lib/Devel/Trepan/CmdProcessor/Command/Shell.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Abbrev.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Aliases.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/Eval.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/List.
pm, lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Basename.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Confirm.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Different.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/EvalDisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Highlight.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/List.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/Stack.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/String
.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/Width.
pm, lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Timer.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Trace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Trace_Subcmd/Prin
t.pm, lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Version.pm,
lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Subsubcmd.pm,
lib/Devel/Trepan/CmdProcessor/Command/TBreak.pm,
lib/Devel/Trepan/CmdProcessor/Command/Unalias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Undisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Up.pm,
lib/Devel/Trepan/CmdProcessor/Command/Watch.pm,
lib/Devel/Trepan/IO/NullOutput.pm, lib/Devel/Trepan/IO/Output.pm,
t/10test-cmd-kill.t, t/10test-complete.t, t/10test-condition.t,
t/10test-db-brkpt.t, t/10test-intf-script.t, t/10test-intf-user.t,
t/10test-io-stringarray.t, t/10test-linecache.t, t/10test-load.t,
t/10test-options.t, t/10test-position.t, t/10test-proc-hook.t,
t/10test-proc-load.t, t/10test-util.t, t/10test-validate.t,
t/20test-autolist.t, t/20test-break.t, t/20test-display.t,
t/20test-eval.t, t/20test-list1.t, t/20test-list2.t,
t/20test-list3.t, t/20test-list4.t, t/20test-next.t,
t/20test-seq1.t, t/20test-step.t, t/20test-trace.t,
t/20test-watch1.t: relative_lib -> rlib
2011-11-11 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan.pm, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command.pm,
lib/Devel/Trepan/CmdProcessor/Default.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Hook.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/CmdProcessor/Mock.pm,
lib/Devel/Trepan/CmdProcessor/Msg.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/CmdProcessor/Virtual.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/LineCache.pm,
lib/Devel/Trepan/IO.pm, lib/Devel/Trepan/IO/Input.pm,
lib/Devel/Trepan/IO/StringArray.pm, lib/Devel/Trepan/Interface.pm,
lib/Devel/Trepan/Interface/Script.pm,
lib/Devel/Trepan/Interface/User.pm, lib/Devel/Trepan/Options.pm,
lib/Devel/Trepan/Psh.pm, lib/Devel/Trepan/WatchMgr.pm: relative_lib
-> rlib
2011-11-10 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm, t/data/watch1.right: Remove
stray debug print
2011-11-10 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Shell.pm,
lib/Devel/Trepan/CmdProcessor/Command/Watch.pm,
lib/Devel/Trepan/DB.pm, t/20test-list4.t, t/20test-watch1.t,
t/data/list2.cmd, t/data/list3.cmd, t/data/list4.cmd,
t/data/list4.right, t/data/watch1.cmd, t/data/watch1.right: Set
initial value in a watchpoint, fix bugs in "list" command in
skipping over and showing breakpoints. Shell.pm: fix up when run in
demo code.
2011-11-10 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Watch.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Breakpoint.pm,
lib/Devel/Trepan/WatchMgr.pm: Remove $is_eval param on idle
callback. Start evaluate cmdprocessor routine from Eval.pm command.
To be used in Watch.pm Some changes that meant for previous commit: Show changed value on
watched expression. Store $dbgr object properly in Core. Use Watch
struct in DB.pm (meant for last commit)
2011-11-10 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Watch.pm: Watch points
starting to work. There is still screwy magical behavior of the
debugger in turning tracing off, and I need to evaluate the inital
value.
2011-11-10 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/WatchMgr.pm: Add watchpoint manager. Closer to
having watchpoints working...
2011-11-09 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Eval.pm: Start lower-level aspects of watch
expressions. DB::event is now passed to idle as a param.
2011-11-07 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Core.pm: Use of qw as parenthesis again...
2011-11-07 Rocky Bernstein <rocky@cpan.org>
* Build.PL: use_relative -> relative_lib and need 0.2 or later
2011-11-07 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan/IO.pm, lib/Devel/Trepan/IO/Input.pm,
lib/Devel/Trepan/Interface/User.pm: have_gnu_readline ->
want_gnu_readline which is more precise. Remove commented code from
Ruby. Reinstate shbang - I can't live without it.
2011-11-06 Rocky Bernstein <rocky@cpan.org>
* GNUmakefile, MANIFEST, Makefile, lib/Devel/Trepan/IO/Input.pm,
lib/Devel/Trepan/Interface/User.pm: Really truly allow
Term::ReadLine to be optional.
2011-11-05 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/Interface/Script.pm,
lib/Devel/Trepan/Options.pm, t/10test-options.t, t/Helper.pm,
t/data/display.cmd, t/data/eval2.cmd, t/data/next.cmd: Add --batch
and --testing options which don't initialize a user interface.
2011-11-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/IO/Input.pm: Merge in
some of Shlomi Fish's code to check ReadLine at run time rather than
at compile time. Also test for Term::ReadLine::Perl.
2011-11-03 Rocky Bernstein <rocky@cpan.org>
* bin/trepanpl, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Action.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Condition.pm,
lib/Devel/Trepan/CmdProcessor/Command/Delete.pm,
lib/Devel/Trepan/CmdProcessor/Command/Display.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Macro.pm,
lib/Devel/Trepan/CmdProcessor/Command/Restart.pm,
lib/Devel/Trepan/CmdProcessor/Command/Undisplay.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm,
lib/Devel/Trepan/Condition.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Backtrace.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, lib/Devel/Trepan/DB/Display.pm,
lib/Devel/Trepan/DB/Eval.pm, lib/Devel/Trepan/DB/LineCache.pm,
lib/Devel/Trepan/DB/Sub.pm, t/10test-cmd-kill.t,
t/10test-complete.t, t/10test-condition.t, t/10test-db-brkpt.t,
t/10test-intf-script.t, t/10test-intf-user.t,
t/10test-io-stringarray.t, t/10test-linecache.t, t/10test-load.t,
t/10test-options.t, t/10test-position.t, t/10test-proc-hook.t,
t/10test-proc-load.t, t/10test-util.t, t/10test-validate.t,
t/20test-autolist.t, t/20test-break.t, t/20test-display.t,
t/20test-eval.t, t/20test-list1.t, t/20test-list2.t,
t/20test-list3.t, t/20test-next.t, t/20test-seq1.t,
t/20test-step.t, t/20test-trace.t, t/20test-trepanpl-opts.t,
t/Helper.pm: Incorporate many of the changes in pull request 3. Add
relative_lib and DRY test code a little.
2011-11-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command.pm,
lib/Devel/Trepan/CmdProcessor/Command/Action.pm,
lib/Devel/Trepan/CmdProcessor/Command/Alias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Condition.pm,
lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/CmdProcessor/Command/Delete.pm,
lib/Devel/Trepan/CmdProcessor/Command/Disable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Display.pm,
lib/Devel/Trepan/CmdProcessor/Command/Down.pm,
lib/Devel/Trepan/CmdProcessor/Command/Edit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Enable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Macros.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Program.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Macro.pm,
lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Restart.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Abbrev.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/Eval.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/List.p
m, lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Basename.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Confirm.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Different.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/EvalDisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Highlight.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/List.pm
,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/Stack.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/String.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/Width.p
m, lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Timer.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Trace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Trace_Subcmd/Print
.pm, lib/Devel/Trepan/CmdProcessor/Command/Shell.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Abbrev.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Aliases.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/Eval.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/List.
pm, lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Basename.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Confirm.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Different.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/EvalDisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Highlight.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/List.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/Stack.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/String
.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/Width.
pm, lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Timer.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Trace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Trace_Subcmd/Prin
t.pm, lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Version.pm,
lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Core.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Subsubcmd.pm,
lib/Devel/Trepan/CmdProcessor/Command/TBreak.pm,
lib/Devel/Trepan/CmdProcessor/Command/Unalias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Undisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Up.pm,
lib/Devel/Trepan/CmdProcessor/Default.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Hook.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/CmdProcessor/Mock.pm,
lib/Devel/Trepan/CmdProcessor/Msg.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/CmdProcessor/Virtual.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/LineCache.pm, lib/Devel/Trepan/IO.pm,
lib/Devel/Trepan/IO/Input.pm, lib/Devel/Trepan/IO/NullOutput.pm,
lib/Devel/Trepan/IO/Output.pm, lib/Devel/Trepan/IO/StringArray.pm,
lib/Devel/Trepan/Interface.pm,
lib/Devel/Trepan/Interface/Script.pm,
lib/Devel/Trepan/Interface/User.pm, lib/Devel/Trepan/Options.pm,
lib/Devel/Trepan/Psh.pm: use lib -> use relative_lib. Issue #4
2011-11-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan.pm, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/Core.pm: use_relative -> relative_lib
2011-11-03 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan.pm, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/DB/Breakpoint.pm,
lib/Devel/Trepan/DB/Display.pm, lib/Devel/Trepan/DB/Eval.pm: Start
using "use_relative" .
2011-10-30 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/DB/Eval.pm,
lib/Devel/Trepan/Psh.pm: Need Psh:: on some calls since we had to
removed "package Psh" for getting onto CPAN.
2011-10-29 R. Bernstein <rocky.bernstein@gmail.com>
* : Merge pull request #2 from rurban/master Use of qw(...) as parentheses is deprecated
2011-10-28 Rocky Bernstein <rocky@cpan.org>
* : commit e0bfa838423516c6c701c84159bd066313afea9c Author: Rocky
Bernstein <rocky@cpan.org> Date: Fri Oct 28 21:32:21 2011 -0400
2011-10-27 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/List.p
m, lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Timer.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Trace_Subcmd/Print
.pm, lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Hook.pm,
lib/Devel/Trepan/CmdProcessor/Msg.pm,
lib/Devel/Trepan/IO/StringArray.pm: Replace uses of {}->[] with
{}[].
2011-10-27 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/EvalDisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Core.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Subsubcmd.pm,
lib/Devel/Trepan/CmdProcessor/Msg.pm,
lib/Devel/Trepan/DB/LineCache.pm: Replace more uses of {}->{} with
{}{}.
2011-10-27 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan.pm,
lib/Devel/Trepan/CmdProcessor/Command/Edit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Highlight.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Highlight.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Subsubcmd.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/Interface/User.pm: Reduce uses of {}->{}. Add
build_require for String::Diff and configure_require of
Module::Build.
2011-10-27 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Psh.pm: Can we get around the CPAN indexer this
way?
2011-10-27 Rocky Bernstein <rocky@cpan.org>
* Changes: Admnistrivia
2011-10-27 Rocky Bernstein <rocky@cpan.org>
* MANIFEST.SKIP: Administrivia
2011-10-27 Rocky Bernstein <rocky@cpan.org>
* Build.PL, MANIFEST: We don't want 'TRIAL' in tarball
2011-10-27 Rocky Bernstein <rocky@cpan.org>
* Build.PL, Changes, MANIFEST: Get ready for 0.10 release. Build.PL
stringify and dotify Psh version. Submit to facist kwalitee
standards.
2011-10-26 Rocky Bernstein <rocky@cpan.org>
* Build.PL: Correct perl 5.010 requires.
2011-10-25 Rocky Bernstein <rocky@cpan.org>
* Build.PL: Add dependency on Perl 5.0.10
2011-10-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm, t/20test-eval.t,
t/data/eval2.cmd, t/data/eval2.right: Add eval test. Handle in
command processor command errors.
2011-10-24 Rocky Bernstein <rocky@cpan.org>
* t/20test-eval.t, t/data/eval2.cmd, t/data/eval2.right: Towards
being able to test recent "eval remapped" changes. Not working.
2011-10-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm: list now works on inside
an eval string.
2011-10-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/DB/LineCache.pm: YAY! eval file caching to a
temporary disk now works.
2011-10-23 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/DB/Eval.pm, lib/Devel/Trepan/DB/LineCache.pm,
t/10test-linecache.t, t/20test-trace.t, t/data/trace1.right: Add
script remapping to temp file even if we can't use it right now.
Someone we are losing @DB::dbline values on eval.
2011-10-23 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/LineCache.pm: Towards
getting eval lines remapped. Currently slightly broken.
2011-10-23 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/Util.pm: Build.PL: add more required packages.
others: remove warnings given by perl 5.12
2011-10-21 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Shell.pm,
lib/Devel/Trepan/Psh.pm: Give instruction on how to exit psh inside
the debugger.
2011-10-17 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Display.pm: Revise "display"
help for what we have currently got.
2011-10-16 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/DB.pm, t/data/eval.cmd, t/data/eval.right: eval
should correctly report @_ now by saving it in DB::sub and assigning
@_ before eval. Also fix another bug in Command/Eval.
2011-10-16 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Shell.pm,
lib/Devel/Trepan/Psh.pm, t/10test-proc-load.t: Add going into a psh
shell. Command "shell" with alias "psh".
2011-10-15 Rocky Bernstein <rocky@cpan.org>
* t/data/eval.cmd, t/data/eval.right: Check "my" variables in eval.
2011-10-15 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Condition.pm, t/10test-condition.t: Better valid
condition testing
2011-10-15 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Command/Undisplay.pm,
lib/Devel/Trepan/Interface/Script.pm, t/10test-load.t,
t/10test-proc-load.t, t/20test-display.t, t/data/display.cmd,
t/data/display.right: Add debugger "undisplay" command, and
display/undisplay tests.
2011-10-15 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Command/Display.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Display.pm,
lib/Devel/Trepan/DB/Eval.pm: Add first rough cut at display
expressions.
2011-10-14 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/DB.pm: Inch ever so closer towards handling display
expressions. (Watch variables won't be too far behind.)
2011-10-14 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, t/20test-eval.t,
t/Helper.pm, t/data/eval.cmd, t/data/eval.right: I had broken eval
and autoeval when cleaning up and making more OO stepping code. Add
first eval/autoeval test Removes old "got" files now as well.
2011-10-14 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, lib/Devel/Trepan/DB.pm:
Simplify stepping code. Now should handle next+, next-.
2011-10-14 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, t/20test-next.t,
t/data/next.cmd, t/data/next.right: Bug in "next" (step over)
probably because of DB::step issues. Work around this by setting
that explicitly before exit of process_commands.
2011-10-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/DB.pm: Make Trepan::Devel::Core callback more OO
reducing some (but not all) of the transitional porting bogusness.
To do: the "next" (step through) command isn't work quite right.
Something with DB::signal=2 scoping?
2011-10-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/DB.pm: Move closer to having display expressions
working.
2011-10-12 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Action.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, lib/Devel/Trepan/DB/Eval.pm:
Start perl5-ish "action" command.
2011-10-12 Rocky Bernstein <rocky@cpan.org>
* README: This time, for sure?
2011-10-12 Rocky Bernstein <rocky@cpan.org>
* README: This time, for sure?
2011-10-12 Rocky Bernstein <rocky@cpan.org>
* README: Typo in README
2011-10-12 Rocky Bernstein <rocky@cpan.org>
* Build.PL, MANIFEST, MANIFEST.SKIP,
lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Condition.pm,
lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, t/20test-seq1.t,
t/data/seq1.cmd, t/data/seq1.right: Backtrace.pm, Retrun.pm: need to
set $MAX_ARGS explicitly. Running.pm, Step.pm, Condition.pm: move
controller code from command to Running.pm. seq1.*: start testing a
more complex command sequnece including bt, c, and set return.
2011-10-11 Rocky Bernstein <rocky@cpan.org>
* t/data/trace2.cmd, t/data/trace2.right: Forgot a couple of files
on last commit
2011-10-11 Rocky Bernstein <rocky@cpan.org>
* t/20test-trace.t: One more trace test, this time using "set trace
print" and continue
2011-10-11 Rocky Bernstein <rocky@cpan.org>
* t/20test-trace.t, t/Helper.pm, t/data/trace1.cmd,
t/data/trace1.right: Add trace test.
2011-10-10 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, MANIFEST.SKIP: Administrivia
2011-10-10 Rocky Bernstein <rocky@cpan.org>
* : commit d577ae75c12b5bf57c88776cd1e98b101ddc514d Author: Rocky
Bernstein <rocky@cpan.org> Date: Mon Oct 10 21:49:53 2011 -0400
2011-10-09 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/Display.pm: Start support for display
expressions. Much more work needed
2011-10-09 Rocky Bernstein <rocky@cpan.org>
* data/Enbugger-trepan.patch: Enbugger patch for trepan support
2011-10-09 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Trace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Trace_Subcmd/.giti
gnore,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Trace_Subcmd/Print
.pm, lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Trace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Trace_Subcmd/.git
ignore,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Trace_Subcmd/Prin
t.pm, lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/Options.pm: Add -x
and --trace option. (For Herb Chong)
2011-10-08 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Timer.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Timer.pm,
lib/Devel/Trepan/CmdProcessor/Hook.pm: Add "set timer"
2011-10-08 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Macro.pm: macro help typo
2011-10-08 Rocky Bernstein <rocky@cpan.org>
* : commit 4fdc79de1809b379a6aa8d53736c0a53a0424c5d Author: Rocky
Bernstein <rocky@cpan.org> Date: Sat Oct 8 20:58:29 2011 -0400
2011-10-08 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Hook.pm,
lib/Devel/Trepan/DB/LineCache.pm, t/10test-proc-hook.t,
t/10test-proc-load.t, t/20test-list3.t, t/data/list1.right,
t/data/list2.right, t/data/list3.cmd, t/data/list3.right: Fix "list"
help documentation. Start adding command hook code. Fix bug in
listing files and mysterious bug in listing highlighed source code.
2011-10-08 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Command/List.pm: list .
fixed and checked list - checked
2011-10-08 Rocky Bernstein <rocky@cpan.org>
* t/data/list2.cmd, t/data/list2.right: Add temporary break checking
to list with breakpoint test.
2011-10-08 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, t/20test-list2.t,
t/data/list1.cmd, t/data/list2.cmd, t/data/list2.right: "list" now
shows breakpoint/action locations
2011-10-08 Rocky Bernstein <rocky@cpan.org>
* example/test-module.pm, example/test-require.pl,
lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/DB/LineCache.pm, t/20test-list1.t,
t/data/list1.cmd, t/data/list1.right: Work on "list" command.
2011-10-07 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/DB/LineCache.pm: "list" command starts to work.
2011-10-06 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Command/List.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm: Add "list" command - not
finished yet though.
2011-10-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/DB/Breakpoint.pm: Start parse_position. Not working
yet though.
2011-10-04 Rocky Bernstein <rocky@cpan.org>
* : commit 528b64fe9e429313ca3c0524286e6a209b64d0cc Author: Rocky
Bernstein <rocky@cpan.org> Date: Thu Sep 29 07:16:47 2011 -0400
2011-09-28 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, t/20test-break.t,
t/data/.gitignore, t/data/break.cmd, t/data/break.right: My first
real integration test of running some debugger commands (break,
delete and continue).
2011-09-28 Rocky Bernstein <rocky@cpan.org>
* .gitignore, t/20test-trepanpl-opts.t: First integration test of
sorts
2011-09-28 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, MANIFEST.SKIP, t/10test-cmd-kill.t,
t/10test-complete.t, t/10test-condition.t, t/10test-db-brkpt.t,
t/10test-intf-script.t, t/10test-intf-user.t,
t/10test-io-stringarray.t, t/10test-linecache.t, t/10test-load.t,
t/10test-options.t, t/10test-position.t, t/10test-proc-load.t,
t/10test-util.t, t/10test-validate.t, t/test-cmd-kill.t,
t/test-complete.t, t/test-condition.t, t/test-db-brkpt.t,
t/test-intf-script.t, t/test-intf-user.t, t/test-io-stringarray.t,
t/test-linecache.t, t/test-load.t, t/test-options.t,
t/test-position.t, t/test-proc-load.t, t/test-util.t,
t/test-validate.t: Add first integration test for trepanpl --help
and --version options. Rename tests to accomodate unit versus
integration tests.
2011-09-27 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/Options.pm: Add
--basename --highlight and --no-highlight options.
2011-09-27 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/Options.pm: Add
--command -c option to read a command file in preparation for
integration testing. Also add --help and --man.
2011-09-27 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/DB.pm: On "continue position", do not continue if
position is not breakable.
2011-09-27 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB.pm: On "continue position", don't continue if
position is not breakable.
2011-09-27 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Breakpoint.pm: Attempt
simplification and correction of DB::cont and DB::set_break. Really
need to add "parse_position".
2011-09-26 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Macro.pm: One more "macro"
doc change
2011-09-26 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Macro.pm: Update macro help
string
2011-09-26 Rocky Bernstein <rocky@cpan.org>
* Build.PL, MANIFEST, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Macros.pm,
lib/Devel/Trepan/CmdProcessor/Command/Macro.pm,
lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Restart.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Aliases.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, lib/Devel/Trepan/IO.pm: Add
macros via Perl's anonymous subroutines. Need to fill in MIN/MAX
args more explicitly until I figure out how to DRY code. Various
small bugs fixed.
2011-09-25 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help/command.txt:
Backtrace.pm: add 'T' as an alias. command.text Ruby -> Perl.
2011-09-25 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Delete.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm:
Fix up "delete" command.
2011-09-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Delete.pm: Work on "delete"
command.
2011-09-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Break.pm: break doc
improvements.
2011-09-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Break.pm: Allow breakpoint
conditions in "break" command.
2011-09-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Sub.pm: Move DB:sub from
DB.pm to DB::Sub.pm
2011-09-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Eval.pm: Completion on eval?
now works: it completes the expr part of the source line.
2011-09-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Condition.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm: set MIN_ARGS as
appropriate on Condition and Help.
2011-09-24 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Condition.pm,
lib/Devel/Trepan/CmdProcessor/Command/Enable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Program.pm,
lib/Devel/Trepan/Condition.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Eval.pm, t/test-condition.t: Add "condition"
command. Move more DB::eval from DB.pm to DB/Eval.pm and localize
better.
2011-09-24 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Disable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Down.pm,
lib/Devel/Trepan/CmdProcessor/Command/Enable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/Up.pm: Address bugs in showing
help categories. Change up/down short help.
2011-09-24 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Disable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Enable.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Breakpoint.pm: "info
break" works now. Added "enable" and "disable" commands.
2011-09-23 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Breakpoints.pm,
lib/Devel/Trepan/CmdProcessor/Help.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/DB/Breakpoint.pm: Start "info break" and use
reworked breakpoint system and breakpont manager.
2011-09-22 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/Util.pm, t/test-cmd-kill.t: Add signal name
completion on "kill" command.
2011-09-22 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Unalias.pm: Add command
completion for "unalias".
2011-09-22 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm, t/test-load.t: Fix completion
on: help xx yy
2011-09-21 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/TBreak.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, t/test-db-brkpt.t: Put away for
tonight
2011-09-21 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/BrkptMgr.pm, lib/Devel/Trepan/DB/Breakpoint.pm:
Fill in more deletion by breakpoint number code.
2011-09-21 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/BrkptMgr.pm, lib/Devel/Trepan/DB/Breakpoint.pm:
More work on breakpoint manager. Deleting a breakpoint doesn't fully
delete from DB::Breakpoint yet.
2011-09-20 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Program.pm: Add
breakpoint number to "info program".
2011-09-20 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/BrkptMgr.pm,
lib/Devel/Trepan/DB/Breakpoint.pm, t/test-db-brkpt.t: A Breakpont
now contains its breakpoint number. Minimal test of Breakpoint.
Start a breakpoint manager to deal with a collection of breakpoints
- not finished yet.
2011-09-20 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Breakpoint.pm: Split off breakpoint routines
from DB.pm and put in DB/Breakpoint.pm
2011-09-20 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB.pm: Replace breakpoint/action string hack with
a Class:Struct that contains more information.
2011-09-17 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Different.pm:
Grammar
2011-09-17 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Running.pm: Pick up "set different"
in step by default.
2011-09-17 Rocky Bernstein <rocky@cpan.org>
* example/nexting.pl, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/CmdProcessor/Default.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm,
lib/Devel/Trepan/Position.pm, t/test-position.t: Logic added to
support step+, step-, set different.
2011-09-17 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm, t/test-load.t: Fill out
"set different" skipping more. Add "set" completion test.
2011-09-17 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Restart.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/List.
pm~, lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/Complete.pm, t/test-load.t: More work on command
completion.
2011-09-17 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Core.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm, t/test-load.t: Completion of
things like "set basename " now works. Many other kinds of
completion still need work though.
2011-09-17 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Load.pm, t/test-load.t: A little
more progress on command completion. "Set basename" works although
"set basename " doesn't.
2011-09-16 Rocky Bernstein <rocky@cpan.org>
* bin/trepanpl, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Core.pm,
lib/Devel/Trepan/Core.pm, lib/Devel/Trepan/Interface.pm,
lib/Devel/Trepan/Interface/Script.pm,
lib/Devel/Trepan/Interface/User.pm, lib/Devel/Trepan/Options.pm: We
can now read a user debugger profile, e.g. ~/.treplrc and pass
options trepanpl to Core via TREPANPL_OPTS. Some bugs fixed in the
Script interface and shy away from a more massive shutdown on every
Interface destroy.
2011-09-16 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/LineCache.pm,
t/test-linecache.t: Start handling eval string remapping. Not
working yet.
2011-09-15 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/Interface/User.pm, t/test-intf-user.t,
t/test-proc-load.t: Add some fringe user-interface and load and
command-completion tests.
2011-09-15 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/Eval.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/List.p
m, lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/Eval.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/List.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Auto_Subcmd/List.
pm~, lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm: Add
show auto {list,eval}, although set/show autolist doesn't do
anything useful yet.
2011-09-14 Rocky Bernstein <rocky@cpan.org>
* MANIFEST,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/.gitig
nore,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/Eval.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Auto_Subcmd/List.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/List.pm
, lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Subsubcmd.pm: Add
"set autoeval" and "set autolist" .
2011-09-14 Rocky Bernstein <rocky@cpan.org>
* MANIFEST,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/Width.p
m, lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm: 'help
subcmd *' and 'help subsubcmd *' work now.
2011-09-13 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm: Help subcmd
now works. Need to do the same thing for sub-sub commands.
2011-09-13 Rocky Bernstein <rocky@cpan.org>
*
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/List.pm
,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/Stack.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/String.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/Width.p
m, lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/.gitig
nore,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/List.p
m,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/Stack.
pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/String
.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Max_Subcmd/Width.
pm, lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Subsubcmd.pm: Add
set/show max commands.
2011-09-13 Rocky Bernstein <rocky@cpan.org>
*
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/.gitign
ore,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max_Subcmd/Width.p
m, lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Subsubcmd.pm: Added
first sub sub command: set max width.
2011-09-11 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Confirm.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm: Subsub
commands working to the point of not bombing and providing help.
2011-09-10 Rocky Bernstein <rocky@cpan.org>
* example/eval.pl, lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/DB/LineCache.pm: Work on debugging through eval
strings.
2011-09-10 Rocky Bernstein <rocky@cpan.org>
* MANIFEST: Update manifest
2011-09-09 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/Complete.pm, t/test-complete.t: More work on
command completion. completing the second word of a command works.
More work is needed.
2011-09-09 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm: "frame" with no arguments is
"frame 0". Some progress on command completion.
2011-09-09 Rocky Bernstein <rocky@cpan.org>
* Build.PL, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Abbrev.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/EvalDisplay.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Abbrev.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/EvalDisplay.pm,
lib/Devel/Trepan/CmdProcessor/Default.pm,
lib/Devel/Trepan/Options.pm: Allow showing eval results using
Data::Dumper::PerlTidy. Add set/show evaldisplay to control how to
display results, e.g to use PerlTidy or not.
2011-09-08 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm: Save eval results in @DB::D.
2011-09-08 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Eval.pm: Split off
eval routine from rest of DB.
2011-09-08 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Eval.pm: Document new eval
behavior
2011-09-08 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Running.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/Util.pm, t/test-util.t: Add eval@, eval%, and
eval$: ability to specify the return type for an eval.
2011-09-07 Rocky Bernstein <rocky@cpan.org>
* MANIFEST, t/test-intf-script.t, t/test-io-stringarray.t: Add a
couple of unit tests for new stringarray and script interface code.
Much much more should be done, but it's a start.
2011-09-07 Rocky Bernstein <rocky@cpan.org>
* .gitignore, MANIFEST: Add MANIFEST file to git
2011-09-07 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Alias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Source.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/IO/NullOutput.pm, lib/Devel/Trepan/Interface.pm:
Add rudimenary "source" command. Fix bugs in "alias" no args, "step"
no args (but different kind of bug) and accommodate in a hacky way
input differences in Interface.
2011-09-06 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/IO.pm, lib/Devel/Trepan/IO/Input.pm,
lib/Devel/Trepan/IO/InputBase.pm,
lib/Devel/Trepan/IO/StringArray.pm, lib/Devel/Trepan/Interface.pm,
lib/Devel/Trepan/Interface/Script.pm,
lib/Devel/Trepan/Interface/User.pm, t/test-validate.t: In
preparation for the "source" command, or reading debugger scripts:
Add a "script interface". By is there more code here than I would
like.
2011-09-05 Rocky Bernstein <rocky@cpan.org>
* Makefile, lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/DB/Backtrace.pm: If not debug at outset, e.g.
Enbugger used, then $DB:stack_depth could be wrong.
2011-09-05 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/DB/LineCache.pm: LineCache.pm: wasn't interpolating
filename key. Files.pm: guard against more of these kinds of
uninitialized variables.
2011-09-05 Rocky Bernstein <rocky@cpan.org>
* Makefile, example/gcd-dbg.pl, lib/Devel/Trepan/DB.pm: DB.pm: Now
works with Enbugger. Some improvements (like proper stack tracking)
are desirable. Remove more of the unneeded OO DB stuff which got in
the way. Makefile: compatiblity for us old-timers. gcd-dbg.pl: an
example of using with Enbugger.
2011-09-05 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Frame.pm: Break backtrace formatting
to two lines if it is long.
2011-09-05 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/LineCache.pm: Remove some bugs, and warnings
and change some comments
2011-09-04 Rocky Bernstein <rocky@cpan.org>
* bin/trepanp, bin/trepanpl, lib/Devel/Trepan.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Default.pm,
lib/Devel/Trepan/DB/LineCache.pm, lib/Devel/Trepan/IO/Input.pm,
lib/Devel/Trepan/Interface/User.pm, lib/Devel/Trepan/Options.pm: Can
now list which lines are ok to breakpoint at. LineCache is now uses
strict. trepanp -> trepanpl.
2011-09-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Options.pm, t/test-options.t: Handle absolute and
relative files correctly. Start unit test.
2011-09-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Options.pm: Ooops forgot to initialize a variable
2011-09-04 Rocky Bernstein <rocky@cpan.org>
* bin/trepanp,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/Options.pm, lib/Devel/Trepan/Util.pm: trepanp:
Check that the debugged Perl program is syntactically valid and
resolve file name using PATH if we can't find it. Start options
processing. Files.pm: fill out showing file attributes.
2011-09-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm: Fill out more of "info
files"
2011-09-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Files.pm: Start
"info files" .
2011-09-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Down.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Core.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubsubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/Up.pm,
lib/Devel/Trepan/DB/LineCache.pm: Remove test warnings. Lame attempt
at Subsubmgr.
2011-09-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm: Some limited command
completion on the "help" command.
2011-09-04 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Down.pm,
lib/Devel/Trepan/CmdProcessor/Command/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/Up.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/DB/Backtrace.pm: Add "up" and "down" commands.
Backtrace shows function and are routine we are in, not the routine
that we the line has called.
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Program.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/DB/Backtrace.pm, lib/Devel/Trepan/DB/LineCache.pm,
t/test-linecache.t: Start working on frame switching commands.
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/LineCache.pm: Get SHA1 and start testing
LineCache.
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* Build.PL: Add syntax highlight and SHA1 dependencies.
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/DB/Backtrace.pm: Backtrace now includes stopped
line.
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Eval.pm,
lib/Devel/Trepan/Util.pm, t/test-util.t: Add eval and eval?
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm: Fill in more of the
completion command code.
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* MANIFEST.SKIP, lib/Devel/Trepan/DB.pm: Remove DB::lines() since
one use LineCache instead
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Set.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Highlight.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show.pm,
lib/Devel/Trepan/DB/LineCache.pm: LineCache: Remove a whole bunch of
warnings. Set/Show: handle "auto" prefix hack. Hightlight: call
DB:inecache on highlight reset.
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/CmdProcessor/Msg.pm,
lib/Devel/Trepan/DB/LineCache.pm: We now show syntax highlighting in
location strings.
2011-09-03 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/Colors.pm, lib/Devel/Trepan/DB/LineCache.pm:
LineCache now performs Syntax highlighting.
2011-09-02 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/DB/LineCache.pm: Closer to having syntax
highlighting working.
2011-09-02 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/LineCache.pm: Save stat information.
2011-09-02 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/LineCache.pm: More code working.
2011-09-02 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/LineCache.pm: Start to get code working.
2011-09-01 Rocky Bernstein <rocky@cpan.org>
* t/test-complete.t: Finish completion testing.
2011-09-01 Rocky Bernstein <rocky@cpan.org>
* t/test-complete.t: Start completion tests.
2011-08-31 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/DB/LineCache.pm: First cut at port of Perl
program.
2011-08-30 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/Util.pm, t/test-util.t: Add uniq_abbrev and fill
out tests for that.
2011-08-30 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command.pm,
lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Aliases.pm,
lib/Devel/Trepan/CmdProcessor/Command/Unalias.pm: Add "unalias".
Trepan::Command->name() an be use instead of
Trepan::Command->{name}.
2011-08-30 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Alias.pm,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Aliases.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Basename.pm: Add
ability to add and show aliaes. Still need "unalias" though.
2011-08-30 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/Sub.pm: DB: move @stack
and $stack_level from DB.pm to Sub.pm. Allow giving an optional
backtrace stack count.
2011-08-29 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Edit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Core.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm: Added 'Edit' command.
'Finish' command now checks to see if parameter is an integer.
2011-08-29 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Return.pm,
lib/Devel/Trepan/DB/Sub.pm: Add a "set return" command
2011-08-29 Rocky Bernstein <rocky@cpan.org>
* lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Highlight.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Highlight.pm,
lib/Devel/Trepan/CmdProcessor/Default.pm, lib/Devel/Trepan/DB.pm:
Add set/show highlight.
2011-08-28 Rocky Bernstein <rocky@cpan.org>
* example/fns.pl, lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/Command/Finish.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/.gitignore,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Program.pm,
lib/Devel/Trepan/CmdProcessor/Command/Info_Subcmd/Return.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm, lib/Devel/Trepan/DB.pm,
lib/Devel/Trepan/DB/Sub.pm, lib/Devel/Trepan/Interface/User.pm: Add
"info frame", info "program" and "info return". Add rudimentary
"finish".
2011-08-28 Rocky Bernstein <rocky@cpan.org>
* : commit 078b3ff6c10d25dec0fd007b0e94df44439aaf5b Author: r
<rocky@gnu.org> Date: Sun Aug 28 01:06:03 2011 -0400
2011-08-28 r <rocky@gnu.org>
* lib/Devel/Trepan/CmdProcessor/Default.pm,
lib/Devel/Trepan/CmdProcessor/Msg.pm: Add Term::ANSIColor bold and
underline to message "section" and "errmsg".
2011-08-07 Rocky Bernstein <rocky@cpan.org>
* .gitignore, Build.PL, MANIFEST.SKIP, bin/.gitignore, bin/trepanp,
example/.gitignore, example/gcd.pl, lib/Devel/.gitignore,
lib/Devel/Trepan.pm, lib/Devel/Trepan/.gitignore,
lib/Devel/Trepan/CmdProcessor.pm,
lib/Devel/Trepan/CmdProcessor/.gitignore,
lib/Devel/Trepan/CmdProcessor/Command.pm,
lib/Devel/Trepan/CmdProcessor/Command/.gitignore,
lib/Devel/Trepan/CmdProcessor/Command/Backtrace.pm,
lib/Devel/Trepan/CmdProcessor/Command/Break.pm,
lib/Devel/Trepan/CmdProcessor/Command/Continue.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help.pm,
lib/Devel/Trepan/CmdProcessor/Command/Help/.gitignore,
lib/Devel/Trepan/CmdProcessor/Command/Help/README,
lib/Devel/Trepan/CmdProcessor/Command/Help/command.txt,
lib/Devel/Trepan/CmdProcessor/Command/Help/examples.txt,
lib/Devel/Trepan/CmdProcessor/Command/Help/filename.txt,
lib/Devel/Trepan/CmdProcessor/Command/Help/location.txt,
lib/Devel/Trepan/CmdProcessor/Command/Help/suffixes.txt,
lib/Devel/Trepan/CmdProcessor/Command/Kill.pm,
lib/Devel/Trepan/CmdProcessor/Command/Next.pm,
lib/Devel/Trepan/CmdProcessor/Command/Quit.pm,
lib/Devel/Trepan/CmdProcessor/Command/Restart.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/.gitignore,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Abbrev.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Basename.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Confirm.pm,
lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Different.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/.gitignore,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Abbrev.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Basename.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Confirm.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Different.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Timer.pm,
lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Version.pm,
lib/Devel/Trepan/CmdProcessor/Command/Step.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/.gitignore,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/Core.pm,
lib/Devel/Trepan/CmdProcessor/Command/Subcmd/SubMgr.pm,
lib/Devel/Trepan/CmdProcessor/Command/TBreak.pm,
lib/Devel/Trepan/CmdProcessor/Default.pm,
lib/Devel/Trepan/CmdProcessor/Frame.pm,
lib/Devel/Trepan/CmdProcessor/Help.pm,
lib/Devel/Trepan/CmdProcessor/Load.pm,
lib/Devel/Trepan/CmdProcessor/Location.pm,
lib/Devel/Trepan/CmdProcessor/Mock.pm,
lib/Devel/Trepan/CmdProcessor/Msg.pm,
lib/Devel/Trepan/CmdProcessor/Validate.pm,
lib/Devel/Trepan/CmdProcessor/Virtual.pm,
lib/Devel/Trepan/Complete.pm, lib/Devel/Trepan/Core.pm,
lib/Devel/Trepan/DB.pm, lib/Devel/Trepan/DB/.gitignore,
lib/Devel/Trepan/DB/Backtrace.pm, lib/Devel/Trepan/DB/Sub.pm,
lib/Devel/Trepan/IO/InOutBase.pm, lib/Devel/Trepan/IO/Input.pm,
lib/Devel/Trepan/IO/InputBase.pm,
lib/Devel/Trepan/IO/NullOutput.pm, lib/Devel/Trepan/IO/Output.pm,
lib/Devel/Trepan/IO/base.pm, lib/Devel/Trepan/Interface.pm,
lib/Devel/Trepan/Interface/.gitignore,
lib/Devel/Trepan/Interface/User.pm, lib/Devel/Trepan/Util.pm,
t/.gitignore, t/test-load.t, t/test-util.t, testit: Port from my
Ruby "trepanning" debuggers, e.g. rb-trepanning.
2011-08-07 R. Bernstein <rocky@cpan.org>
* Initial commit of Trepanning Debugger for Perl