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

Re: [perl #117407] [PATCH] adjust $DB::deep from 100 to 1000

Thread Previous | Thread Next
From:
Lukas Mai
Date:
March 29, 2013 19:58
Subject:
Re: [perl #117407] [PATCH] adjust $DB::deep from 100 to 1000
Message ID:
5155F262.2070100@gmail.com
On 29.03.2013 16:18, Mark-Jason Dominus (via RT) wrote:
> # New Ticket Created by  Mark-Jason Dominus
> # Please include the string:  [perl #117407]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117407 >
>
>
> $DB::deep defaults to 100; this means that when the debugger gets 100
> levels deep in subroutine calls, it automatically breaks execution.
> While this might have been appropriate in 1989, in modern Perl
> programs, the debugger might break before the program is even
> compiled.
>
> This patch adjusts the default value up to 1000.

I love it. I'm tired of typing perl -MPerlIO='via;$DB::deep=999' -d 
app.pl just to get the program to start.

-- 
Lukas Mai <plokinom@gmail.com>

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