Skip to main content

Wraps python invocations in code to do post-mortem debugging and sundry usefulnesses.

Project description

Wraps python invocations in code to do post-mortem debugging and sundry usefulnesses.

coroner was adapted from a stackoverflow.com response by synthesizerpatel.

Usage

coroner is meant to be used as a command line module, invoked with code like:

python -m coroner some_sketchy_module.py

When the sketchy script invariably throws an exception, coroner will initiate a pdb.pm post-mortem debugging session.

You can also use it in the other ways that python can be used on the command line, e.g. with -c or -.

Bugs

That’s all, folks. I might add more sometime soon.

Oh yeah, it doesn’t do recursive module invocation yet.

Also I haven’t really tested it, just tried it with -c a couple of times.

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

coroner-0.2.2.tar.gz (4.4 kB view hashes)

Uploaded Source

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