Skip to main content
This module is used to hook up pdb, the python debugger, with BBEdit, a

text editor for Mac OS X, enabling it to display the debugged source code during a pdb session.

After downloading and unpacking the package, you should install the helper module using:

$ python setup.py install

Next you need to hook up pdb with this module by add the following to your .pdbrc:

from PdbBBEditSupport import preloop, precmd
pdb.Pdb.preloop = preloop
pdb.Pdb.precmd = precmd

The easiest way to do this is to use the provided script:

$ pdbbbsupport enable

Alternatively you can also do it manually. The .pdbrc is located in your home folder and possibly needs to be created first. You may also use the supplied sample configuration file for pdb to enable the hook like:

$ cp pdbrc.sample ~/.pdbrc

Afterwards BBEdit should get started automatically whenever you enter a debug session. The current source line will be displayed simultaneously while stepping through the code. However, having the cursor moved automatically within that source file is not always very obvious, so you might want to use the “Highlight insertion point: Line color” feature, which can be enabled in the “Text Colors” tab in BBEdit’s preferences.

Metadata

Release files for PdbBBEditSupport 1.0.1

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

Source distribution (sdist)

Source distribution for PdbBBEditSupport 1.0.1
File Size Uploaded Provenance Actions
PdbBBEditSupport-1.0.1.tar.gz 2.7 kB Without provenance Details for PdbBBEditSupport-1.0.1.tar.gz

Release files / PdbBBEditSupport-1.0.1.tar.gz

Download URL PdbBBEditSupport-1.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3e86d4586981a51e09cdb0bbd6372dad2bdd741908f6eae2c28250aeef271bd9
BLAKE2b-256 checksum
How to use checksums
c2d77e5be91ad824ccd0be32498caba831ff423c672720d7a50cbb391310b462
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for PdbBBEditSupport 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

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