pdbp (Pdb+) -- Improving pdb and fixing pdbpp (Pdb++).
Project description
pdbp (Pdb+)
pdbp (Pdb+) is a drop-in replacement for pdb and (unmaintained) pdbpp (Pdb++).
This fixes pdbpp (pdb++) to work in all environments. Sticky pdbpp mode is the default option.
To replace pdb with it, add import pdbp to an __init__.py file. In case that doesn't work, you can just load all of pdbp into pdb:
import pdb
import pdbp
for key in pdbp.__dict__.keys():
pdb.__dict__[key] = pdbp.__dict__[key]
If you need to customize pdbp options:
if hasattr(pdb, "DefaultConfig"):
pdb.DefaultConfig.filename_color = pdb.Color.blue
pdb.DefaultConfig.line_number_color = pdb.Color.turquoise
pdb.DefaultConfig.show_hidden_frames_count = False
pdb.DefaultConfig.disable_pytest_capturing = True
pdb.DefaultConfig.enable_hidden_frames = False
pdb.DefaultConfig.truncate_long_lines = True
pdb.DefaultConfig.sticky_by_default = True
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdbp-0.1.0.tar.gz.
File metadata
- Download URL: pdbp-0.1.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b4741e0fe79c33901ba07542549aa5ccdc3203823774ff61609cc8729159593
|
|
| MD5 |
ac351b2152742c279f2145a804790714
|
|
| BLAKE2b-256 |
f7fa620550fb00719a0db585762348d2168df1b05abeff601fadf60ee960b2ea
|
File details
Details for the file pdbp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pdbp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9d94ba0b90ae4055a63288f0bc59f2ffefaac77e1aa2e07edbb7cb1f31a4f40
|
|
| MD5 |
c8a40ad55911c2b5bf2e639f15a98353
|
|
| BLAKE2b-256 |
7379b70153edee1313e38e81337119a77b6d36ebc2fbf672fbc1be7d43849692
|