Opened 5 years ago

Closed 3 years ago

#832 closed defect (not relevant)

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 (3)

comment:1 Changed 5 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 5 years ago by szabgab

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

comment:3 Changed 3 years ago by bowtie

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

Tested with Debug2
no errors

Note: See TracTickets for help on using tickets.