Ticket #832 (closed defect: not relevant)

Opened 4 years ago

Last modified 2 years ago

GetOptions( spawns unsavedX tab and crash Padre in StepOver Debugging

Reported by: vrobin Owned by: szabgab
Priority: major Milestone:
Component: Debug::Client Version: 0.55
Keywords: crash debugger win7 Cc:

Description

I wrote a very little script that when debugged with "Step Over" or "Step In", either crash Padre without warning (this is if you try to debug with "use external window for execution" unchecked) or spawn a new "untitled X" document tab.

use strict;

use Getopt::Long;

my $man = 0;
my $help = 0;
my $exporterName;
my $albumDir; 

GetOptions(				'help|?' => \$help, 
					'man' => \$man,
					'album-dir|d=s' => \$albumDir,
					'data-exporter|de=s' => \$exporterName
					); 

The problem occurs just after "my $albumDir" declaration, when GetOptions? is called.

Of course, I'm on windows :) with Strawberry Perl 5.10.1 (environment is the same as Ticket 831)

Change History

comment:1 Changed 4 years ago by vrobin

Running the trunk version, I have some logs when the new document is created:

Use of uninitialized value $module in string eq at J:/programmes/padre/Padre/lib/Padre/Wx/Debugger.pm line 327.
Use of uninitialized value $file in string ne at J:/programmes/padre/Padre/lib/Padre/Wx/Debugger.pm line 146.
Use of uninitialized value $row in subtraction (-) at J:/programmes/padre/Padre/lib/Padre/Wx/Debugger.pm line 151.
Use of uninitialized value $row in subtraction (-) at J:/programmes/padre/Padre/lib/Padre/Wx/Debugger.pm line 159.

comment:2 Changed 4 years ago by szabgab

  • Owner set to szabgab
  • Status changed from new to assigned
  • Component changed from editor to Debug::Client

comment:3 Changed 2 years ago by bowtie

  • Status changed from assigned to closed
  • Resolution set to not relevant

Tested with Debug2
no errors

Note: See TracTickets for help on using tickets.