diff options
author | Mark Jason Dominus <mjd@plover.com> | 2013-06-07 11:42:07 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2013-06-07 11:43:25 -0400 |
commit | 7aeefbb3234c8cf563ba8065fec1b841ee1415ab (patch) | |
tree | f2300ffa2e3cdbc32dd2cbed2a7a306f31885f64 /lib/perl5db.pl | |
parent | 9332b95f7fd17b2400da85452a406bc151d30d91 (diff) | |
download | perl-7aeefbb3234c8cf563ba8065fec1b841ee1415ab.tar.gz |
adjust $DB::deep from 100 to 1000
$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 was not able to find the default value documented anywhere.
Diffstat (limited to 'lib/perl5db.pl')
-rw-r--r-- | lib/perl5db.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/perl5db.pl b/lib/perl5db.pl index 8db61dd59c..188b8fb41d 100644 --- a/lib/perl5db.pl +++ b/lib/perl5db.pl @@ -9030,7 +9030,7 @@ BEGIN { # This does not compile, alas. (XXX eh?) # This defines the point at which you get the 'deep recursion' # warning. It MUST be defined or the debugger will not load. - $deep = 100; + $deep = 1000; # Number of lines around the current one that are shown in the # 'w' command. |