blib/lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Debug_Subcmd/Except.pm untested

filter: Statementstmt 0.0% 0 / 33 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod n/a totaltotal 0.0% 0 / 44 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2012, 2014-2015 Rocky Bernstein <rocky@cpan.org>
3 use warnings; no warnings 'redefine'; no warnings 'once';
4 use rlib '../../../../../..';
5  
6 package Devel::Trepan::CmdProcessor::Command::Set::Debug::Except;
7 use Devel::Trepan::CmdProcessor::Command::Subcmd::Subsubcmd;
8  
9 use strict;
10 use vars qw(@ISA @SUBCMD_VARS);
11 @ISA = qw(Devel::Trepan::CmdProcessor::Command::SetBoolSubsubcmd);
12 # Values inherited from parent
13  
14 use vars @Devel::Trepan::CmdProcessor::Command::Subsubcmd::SUBCMD_VARS;
15  
16 our $IN_LIST = 1;
17 our $SHORT_HELP = "Debug exceptions handled by debugger";
18 our $MIN_ABBREV = length('ex');
19 use constant MAX_ARGS => 1;
20 =pod
21  
22 =head2 Synopsis:
23  
24 =cut
25  
26 our $HELP = <<'HELP';
27 =pod
28  
29 B<set debug except> [B<on>|B<off>]
30  
31 Debug exceptions handled by debugger. If "on"
32 or "off" is not given, "on" is assumed.
33  
34 =head2 See also:
35  
36 L<C<show debug except>|Devel::Trepan::CmdProcessor::Command::Show::Debug::Except>
37  
38 =cut
39 HELP
40  
41 unless (caller) {
42 # Demo it.
43 # require_relative '../../../mock'
44 # name = File.basename(__FILE__, '.rb')
45  
46 # dbgr, set_cmd = MockDebugger::setup('set')
47 # $max_cmd = __PACKAGE__->new(dbgr.core.processor, $set_cmd)
48 # $cmd_ary = Trepan::SubSubcommand::SetMaxList::PREFIX
49 # $cmd_name = cmd_ary.join(' ')
50 # $subcmd = __PACKAGE__->new($set_cmd->{proc}, $max_cmd, $cmd_name);
51 # $prefix_run = cmd_ary[1..-1]
52 # $subcmd->run(prefix_run);
53 # $subcmd-.run(prefix_run, qw(0));
54 # $subcmd->run(prefix_run, qw(20));
55 # $subcmd->summary_help(name);
56 # print
57 # print '-' x 20;
58 # print $subcmd->save_command
59 }
60  
61 1;