develooper Front page | perl.perl5.porters | Postings from May 2015

[perl #71678] Bug [5.11.3] debugger bug in evaluation of user actions ('a' command)

Thread Previous
From:
Shlomi Fish via RT
Date:
May 25, 2015 18:12
Subject:
[perl #71678] Bug [5.11.3] debugger bug in evaluation of user actions ('a' command)
Message ID:
rt-4.0.18-14301-1432577534-1755.71678-15-0@perl.org
On Sat Aug 24 15:20:38 2013, bowtie wrote:
> I suspect this is another item fixed by shlom-fish wake :)
> 
> $ perl -d ~/workspace/p5p/script/simple.pl 
> 

This item was not fixed, and the reason you did not exhibit it is because you forgot to add the "-w" flag. With the "-w" flag I'm still getting the erroneous behaviour.

Attached is a git patch against bleadperl to fix the problem (or at least these particular symptoms) with a test added based on this bug. It can also be found here:

https://github.com/shlomif/perl/tree/rt71678--perl5db--a-statement-after-exit  

Please apply it some time after the release of perl-5.22.0.

Best regards,

-- Shlomi Fish

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=71678

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About