Skip to main content

Features

  • Implement the most recent Python 3 features of pdb, as defined in the Python 3 pdb documentation. The pdb command line interface remains unchanged except for the new detach and thread pdb commands.

  • Improve significantly pdb performance. With breakpoints, pdb-clone runs just below the speed of the interpreter while pdb runs 10 to 100 times slower than the interpreter, see Performances.

  • Extend pdb with remote debugging. A remote debugging session may be started when the program stops at a pdb.set_trace_remote() hard-coded breakpoint, or at any time and multiple times by attaching to the process main thread. See RemoteDebugging

  • Fix pdb long standing bugs entered in the Python issue tracker, see the News.

  • Add a bdb comprehensive test suite (more than 70 tests) and run both pdb and bdb test suites.

pdb-clone runs the same source code on all the supported versions of Python, which are:

  • Python 3: from version 3.2 onward.

  • Python 2: version 2.7.

See also the README and the project home page.

Report bugs to the issue tracker.

Usage

Invoke pdb-clone as a script to debug other scripts. For example:

$ pdb-clone myscript.py

Or use one of the different ways of running pdb described in the pdb documentation and replace:

import pdb

with:

from pdb_clone import pdb

Release files for pdb-clone 1.10.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdb-clone 1.10.2
File Size Uploaded
pdb-clone-1.10.2.tar.gz 91.7 kB Details

Release files / pdb-clone-1.10.2.tar.gz

Download URL pdb-clone-1.10.2.tar.gz
Size 91.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9ee373e77790aa7018aa8a7c1429d1febc604f8bb353fe7a81e17d1dd4e8d5bb
BLAKE2b-256 checksum
How to use checksums
b63ae25a494d406b5a0add83a3fb6f7511a377185b59e9cefe9b53d52153e8c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.10.2 This release

1 release file

1.10.1

1 release file

1.10

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page