How to move up call stack exactly at point of error?

后端 未结 3 1595
不知归路
不知归路 2020-12-12 03:22

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

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 03:41

    You can view a stack backtrace when the program is paused at any breakpoint using the T command

    Alternatively, you may set the dieLevel option with o dieLevel=1 to cause an automatic backtrace on any exception

提交回复
热议问题