summaryrefslogtreecommitdiff
path: root/lib/DB.pm
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/DB.pm
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/DB.pm')
-rw-r--r--lib/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DB.pm b/lib/DB.pm
index 6c1ce56f55..cbaff90297 100644
--- a/lib/DB.pm
+++ b/lib/DB.pm
@@ -48,7 +48,7 @@ BEGIN {
$running = 1; # are we running, or are we stopped?
@stack = (0);
@clients = ();
- $deep = 100;
+ $deep = 1000;
$ready = 0;
@saved = ();
@skippkg = ();