$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.
$running = 1; # are we running, or are we stopped?
@stack = (0);
@clients = ();
- $deep = 100;
+ $deep = 1000;
$ready = 0;
@saved = ();
@skippkg = ();
# 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.