更短的ipdb输出

时间:2016-12-25 09:07:05

标签: python debugging ipdb

我是ipdb的新手,看起来很棒。但有一点令人讨厌。当发生错误时,将显示回溯,然后显示10行"如果您怀疑此..."。我怎样摆脱这些额外的线(禁用/替换)。它们总是相同,消耗空间而没有内容。

If you suspect this is an IPython bug, please report it at:
    https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev@scipy.org

You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
    %config Application.verbose_crash=True

0 个答案:

没有答案