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/DB.pm | |
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/DB.pm')
-rw-r--r-- | lib/DB.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = (); |