Welcome to Pydumpling

PyPI - Downloads PyPI - Version GitHub Repo stars

It’s a fork/optimized version from elifiner/pydump .The main optimization points are:

  • Save the Python traceback anywhere, not just when it’s an exception.

  • Optimize code structure && remove redundant code

  • fix bug in python2.7 && support python3.10+

  • supported more pdb command

  • provides command line tools

Pydumpling writes the python current traceback into a file and can later load it in a Python debugger. It works with the built-in pdb and with other popular debuggers (pudb, ipdb and pdbpp).

Why use Pydumpling?

  • We usually use ``try… except … `` to catch exceptions that occur in our programs, but do we really know why they occur?

  • When your project is running online, you suddenly get an unexpected exception that causes the process to exit. How do you reproduce this problem?

  • Not enough information in the logs to help us pinpoint online issues?

  • If we were able to save the exception error and then use the debugger to recover the traceback at that time, we could see the entire stack variables along the traceback as if you had caught the exception at the local breakpoint.

User’s Guide

Get started with Installation and then get an overview with the Tutorial that shows how to use.