Source

pypy / pypy / interpreter / debug.py

Armin Rigo bf255bb 









"""
PyPy-oriented interface to pdb.
"""

import pdb

def fire(operationerr):
    if not operationerr.debug_excs:
        return
    exc, val, tb = operationerr.debug_excs[-1]
    pdb.post_mortem(tb)