develooper Front page | perl.perl5.porters | Postings from December 2011

[perl #104820] C<c ln> broken in blead's debugger

Thread Previous | Thread Next
From:
Shlomi Fish via RT
Date:
December 12, 2011 07:19
Subject:
[perl #104820] C<c ln> broken in blead's debugger
Message ID:
rt-3.6.HEAD-14510-1323703138-1934.104820-15-0@perl.org
On Mon Dec 12 03:34:31 2011, tonyc wrote:
> Another one:
> 
> 5.14.1:
> 
>   DB<1> b . $_ > 3
>   DB<2> L
> /home/tony/play/debug/loop.pl:
>  6:       say;
>    break if ($_ > 3)
>   DB<2> c
> 1
> 2
> 3
> main::(/home/tony/play/debug/loop.pl:6):
> 6:        say;
>   DB<2>
> 
> blead:
> 
>   DB<1> b . $_ > 3
>   DB<2> L
> /home/tony/play/debug/loop.pl:
>  6:       say;
>    break if (. $_ > 3)
>   DB<2> c
> 1
> syntax error at (eval 7)[/home/tony/perl/blead-
> branch/lib/5.15.5/perl5db.pl:646] line 1, near "{."
> 2
> ...
> 
> Found by inspection, see the first hunk of:
> 
>
http://perl5.git.perl.org/perl.git/blobdiff/2211a10b..076b743:/lib/perl5db.pl
> 
> but I don't see why that change was made.
> 
> Tony
> 

You can find the fix to this here:

https://github.com/shlomif/perl/tree/perl-d-bug-fixes-2

Apparently, I've mistaken \b for something it wasn't in order to make
sure only a single standalone dot will be converted.
 
Regards,

-- Shlomi Fish



Thread Previous | Thread Next


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