forked from rocky/Perl-Devel-Trepan
/
README
47 lines (30 loc) · 1.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
NAME
Devel::Trepan -- A new Perl debugger
A modular, testable debugger in the style of the Ruby "Trepanning" debuggers.
SYNOPSIS
From a shell:
bash$ trepan.pl [trepan-opts] perl-program [perl-program-opts]
Or for those who prefer the traditional Perlish way:
bash$ perl -d:Trepan perl-program [perl-program-opts]
Calling the debugger from inside your Perl program using Enbugger (2.012 or greater):
# This needs to be done once and could even be in some sort of conditional code
require Enbugger; Enbugger->load_debugger( 'trepan' );
# work, work, work...
# Oops! there was an error! Enable the debugger now!
Enbugger->stop; # or Enbugger->stop if ...
INSTALLATION
To install this Devel::Trepan, run the following commands:
perl Build.PL
make
make test
[sudo] make install
LICENSE AND COPYRIGHT
Copyright (C) 2011 Rocky Bernstein <rocky@cpan.org>
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.