tibidi

Post-mortem debugging for Python. Dump your traceback into a file. Analyzer it later.

Example

import sys
import tibidi
tibidi.set_excepthook()

def div(x, y):
    return x / y

if __name__ == '__main__':
    x = int(sys.argv[1])
    y = int(sys.argv[2])
    print(div(x, y))
$ python3 divide.py 5 0
ZeroDivisionError: division by zero
Traceback dumped into: traceback.pkl
$ python3 -m tbpeep traceback.pkl

More examples can be found in the documentation.