Devel::Trepan::Shell -- interactive shell support for Devel::Trepan and more
==================================================================
An interactive shell command for [Devel::Trepan](https://github.com/rocky/Perl-Devel-Trepan/wiki).
Motivation: Devel::Trepan is getting quite large and adding a
shell via Devel::REPL pulls in lots of other packages. Thus we
have this separated this portion.
SYNOPSIS
--------
This adds a "shell" command with alias "re.pl" to the
Devel::Trepan debugger, trepan.pl. The command goes into
a Devel::REPL shell from inside the debugger.
But wait, there's more!
This package also contains some Devel::REPL plugins for entering both the
Devel::Trepan debugger and the tried-and-true perl5db
debuger, fom a re.pl shell:
To call the debuggers inside re.pl, first run (or put in your
~/.re.pl/rc.pl file)
$_REPL->load_plugin('Trepan'); # to go into the trepan debugger
$_REPL->load_plugin('Perl5db'); # to go into the perl5db debugger
And then in your re.pl session:
%trepan Perl-expression-or-statement # enter Devel::Trepan debugger
%perl5db Perl-expression-or-statement # enter Perl5db
INSTALLATION
------------
To install Devel::Trepan::Shell, run the following commands:
perl Build.PL
make
make test
[sudo] make install
or:
$ perl -MCPAN -e shell
...
cpan[1]> install Devel::Trepan::Shell
LICENSE AND COPYRIGHT
---------------------
Copyright (C) 2012 Rocky Bernstein
This program is distributed WITHOUT ANY WARRANTY, including but not
limited to the implied warranties of merchantability or fitness for a
particular purpose.
The program is free software. You may distribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation (either version 2 or any later version) and
the Perl Artistic License as published by O’Reilly Media, Inc. Please
open the files named gpl-2.0.txt and Artistic for a copy of these
licenses.