# minidumper

Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

minidumper is a C extension for writing "minidumps" for post-mortem analysis of crashes in Python or its extensions.:

import minidumper
minidumper.enable(name="myapp", dir="data", type=minidumper.MiniDumpWithFullMemory)
# Run your app, do stuff that crashes.
# Look for data/myapp_20110929-050934.mdmp
minidumper.disable() # Unhook crash handler, go back to normal.

There really isn't that much to it. It's probably of limited utility unless you're an extension developer and you're working with a debug build of Python, as release builds don't carry the same helpful information.

The project is very much "in progress".

# Recent activity

Commits by Brian Curtin were pushed to briancurtin/minidumper

2d6b7f8 - Set a proper return code in the exception filter. Set proper exception messages for enable() exceptions. Fix enable to actually work...

Commits by Brian Curtin were pushed to briancurtin/minidumper

694d2dc - Clean up DbgHelp loading, changes multiple calls of 'enable' to work and just reset the settings
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.