I\'m aware of this idiom:
eval { ... }; $DB::single = 1 if $@;
...but, as far as I can tell, if the debugger stops after the eva
eva
You can view a stack backtrace when the program is paused at any breakpoint using the T command
T
Alternatively, you may set the dieLevel option with o dieLevel=1 to cause an automatic backtrace on any exception
dieLevel
o dieLevel=1