[Padre-trac] [Padre] #1357: "Debugger" menu is shown for non-Perl files

Padre trac at perlide.org
Fri Nov 18 07:05:30 PST 2011

#1357: "Debugger" menu is shown for non-Perl files
  Reporter:  zenogantner  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  trivial      |  Milestone:
 Component:  editor       |    Version:  0.91
Resolution:               |   Keywords:

Comment (by zenogantner):

 I guess this is the "guilty" line:

         my $perl    = !!(
                    Params::Util::_INSTANCE( $current->document,
 'Padre::Document::Perl' )
                 or Params::Util::_INSTANCE( $current->project,
 'Padre::Project::Perl' )

 The .po files are in the Padre project. Still no reason to offer
 Is there a reason why debugging should be activated for all files in a
 Perl project?
 I think no.
 But maybe someone had something specific+necessary in mind when adding the
 {{{or}}} here.

Ticket URL: <http://padre.perlide.org/trac/ticket/1357#comment:5>
Padre <http://padre.perlide.org/>
Perl Application Development and Refactoring Environment

More information about the Padre-trac mailing list