blib/lib/Devel/Trepan/CmdProcessor/Command/Show_Subcmd/Debug.pm untested

filter: Statementstmt 0.0% 0 / 35 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod n/a totaltotal 0.0% 0 / 47 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 Rocky Bernstein <rocky@cpan.org>
3 use warnings; no warnings 'redefine'; no warnings 'once';
4 use rlib '../../../../..';
5 use strict;
6 use vars qw(@ISA @SUBCMD_VARS);
7  
8 package Devel::Trepan::CmdProcessor::Command::Show::Debug;
9  
10 use Devel::Trepan::CmdProcessor::Command::Subcmd::Core;
11 use Devel::Trepan::CmdProcessor::Command::Subcmd::SubsubMgr;
12 use vars qw(@ISA @SUBCMD_VARS);
13 our $MIN_ABBREV = length('de');
14 =pod
15  
16 =head2 Synopsis:
17  
18 =cut
19 our $HELP = <<"HELP";
20 =pod
21  
22 B<show debug> [I<show-debug subcommands>]
23  
24 Show debugger debugging controls.
25  
26 =head2 See also:
27  
28 C<help show debug *> for a list of subcommands or C<help show debug>
29 I<name> for help on a particular trace subcommand.
30  
31 =head2 See also:
32  
33 L<C<set debug>|Devel::Trepan::CmdProcessor::Command::Set::Debug>
34 =cut
35 HELP
36 our $SHORT_HELP = "Show debugging controls";
37  
38 @ISA = qw(Devel::Trepan::CmdProcessor::Command::SubsubcmdMgr);
39  
40  
41 # sub run($$)
42 # {
43 # my ($self, $args) = @_;
44 # $self->SUPER;
45 # }
46  
47 unless (caller) {
48 # Demo it.
49 require Devel::Trepan;
50 # require_relative '../../mock'
51 # dbgr, parent_cmd = MockDebugger::setup('set', false);
52 # $cmd = __PACKAGE__->new(dbgr.core.processor,
53 # parent_cmd);
54 # $cmd->run(($cmd->prefix ('string', '30'));
55  
56 # for my $prefix qw(s lis foo) {
57 # p [prefix, cmd.complete(prefix)];
58 # }
59 }
60  
61 1;