At the last minute I ended up giving a Lightning talk at OSCON 2008 (in the Perl track). I showed my Devel::REPL + Continuity debugging tool.
Here are my notes, in case anyone wants to mess with it. I'm thinking of building a magical web-based debugger based on this technology...
----
Lightning Talk OSCON 2008
Brock Wilcox
awwaiid@thelackthereof.org
See also:
* Continuity
* Continuity::REPL
* Devel::REPL
* Carp::REPL
* PadWalker
----
# .... These were then run in the REPL ....
# counter.pl at:
# http://thelackthereof.org/projects/perl/Continuity-Monitor/eg/counter.pl
use PadWalker 'peek_my';
my $h = peek_my 23;
${ $h->{'$counter'} } = 77;
# Then...
sub new_prompt {
my ($request) = @_;
$request->print("Muahahaha!");
return old_prompt(@_);
}
*old_prompt = *prompt;
*prompt = *new_prompt;
I finally got around to abstracting the interesting bits out of Carp::REPL.
Devel::StackTrace::WithLexicals!
Nice and simple, except for actually subclassing Devel::StackTrace.
Cheers