develooper Front page | perl.perl5.porters | Postings from August 2013

[perl #22758] debugger command "|x" swallows all output

Thread Previous
From:
James E Keenan via RT
Date:
August 24, 2013 00:35
Subject:
[perl #22758] debugger command "|x" swallows all output
Message ID:
rt-3.6.HEAD-1873-1377304552-1729.22758-15-0@perl.org
On Fri Aug 23 09:20:55 2013, bowtie wrote:
> I think this can be closed, also #37781
> 
> 
> $ perlbrew use perl-5.10.1
> $ perl -d -e 1
> 
> Loading DB routines from perl5db.pl version 1.32
> Editor support available.
> 
> Enter h or `h h' for help, or `man perldebug' for more help.
> 
> main::(-e:1):	1
>   DB<1> @a=(1..9)
> 
>   DB<2> x @a
> 0  1
> 1  2
> 2  3
> 3  4
> 4  5
> 5  6
> 6  7
> 7  8
> 8  9
>   DB<3> |x @a
>   DB<4> 
> 
> It works has just not been tested recently

Agreed.  According to pod/perldebug.pod, "|dbcmd" means: Run 
the debugger command, piping DB::OUT into your current pager.

I tried both data sets provided in the OP and confirmed that "|dbcmd"
activated my pager (/usr/bin/less -R).

Thanks for the update.  Resolving ticket.

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

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