aboutsummaryrefslogtreecommitdiff
blob: 4927cd90a6f623ab50acd3bf59fb37632e20a32e (plain)
1
2
3
4
5
6
7
8
9
10
11
"""
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)