Skip to content

Instantly share code, notes, and snippets.

@aarcro
Created August 21, 2014 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarcro/4eba4d40b6807d3cb0f7 to your computer and use it in GitHub Desktop.
Save aarcro/4eba4d40b6807d3cb0f7 to your computer and use it in GitHub Desktop.
try:
something.dangerous()
except Exception as e:
type_, value, tb = sys.exc_info()
traceback.print_exc()
pdb.post_mortem(tb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment