Skip to main content

A utility tool to dump python stacks

Project description

coredumpy

coredumpy saves your crash site so you can better debug your python program.

Highlights

  • Easy to use
  • Supports pdb interface
  • Does not rely on pickle
  • Dump file is independent of environment

Usage

dump

You can dump any frame (and its parent frames) manually by

from coredumpy import dump

dump("coredumpy_dump", frame)

# without frame argument, it will dump the current frame stack
dump("coredumpy_dump")

You can hook the exception so a dump will be automatically created if your program crashes due to an exception

from coredumpy import patch_excepthook
patch_excepthook()

load

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coredumpy-0.0.1.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

coredumpy-0.0.1-py3-none-any.whl (14.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page