首页 > 解决方案 > 在 PyCharm 中调试期间如何查看异常回溯?

问题描述

在 PyCharm 中,每当我进入一个except MyException:作用域时,我都想查看异常的回溯细节。

例如:

try:
  raise_exc()
except MyException:
  handle_exc()  # <- current debug point

可以做到吗?

标签: pythondebuggingpycharm

解决方案


推荐阅读