On this page
  1. pdb.pm
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

pdb.pm

Prev: pdb.Pdb | Up: pdb | Next: pdb.post_mortem
Rel: pdb.get_default_backend, pdb.help, pdb.Pdb, pdb.post_mortem
Ref: docs.python.org — pdb.pm
Tags: #public #python3 #stdlib #pdb


Import

import pdb
from pdb import pm

Signature & Overview

pdb.pm()

Enter post-mortem debugging of the traceback found in sys.last_exc.

Usage

import pdb

# Enters post-mortem debugging on sys.last_traceback in an interactive REPL
assert callable(pdb.pm)

Gotchas

REPL Inspect

from pdb import pm
help(pm)

Linked from

Related notes