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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page