summaryrefslogtreecommitdiff
path: root/lib/perl5db.pl
diff options
context:
space:
mode:
authorMark Jason Dominus <mjd@plover.com>2013-06-07 11:42:07 -0400
committerRicardo Signes <rjbs@cpan.org>2013-06-07 11:43:25 -0400
commit7aeefbb3234c8cf563ba8065fec1b841ee1415ab (patch)
treef2300ffa2e3cdbc32dd2cbed2a7a306f31885f64 /lib/perl5db.pl
parent9332b95f7fd17b2400da85452a406bc151d30d91 (diff)
downloadperl-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.pl2
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.