How do I enable post mortem debugging in pydev?

后端 未结 2 2075
无人及你
无人及你 2021-02-10 10:39

I want to make pydev enter into an interactive console mode whenever my program raises an unhandled exception but I can\'t figure out how to do it. As it behaves now, the except

2条回答
  •  再見小時候
    2021-02-10 11:06

    Actually, you don't need to do this programmatically... you can go to the Debug perspective > Pydev menu > Manage Exception Breakpoints

    and check 'Suspend on uncaught exceptions'. In most cases you will want to catch all kinds of exceptions (so choose "Select All") but you can also select exceptions to be managed individually.

提交回复
热议问题