- This module is used to hook up pdb, the python debugger, with TextMate, an
advanced text and programming editor for Mac OS, 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 PdbTextMateSupport import preloop, precmd pdb.Pdb.preloop = preloop pdb.Pdb.precmd = precmd
The easiest way to do this is to use the provided script:
$ pdbtmsupport 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 TextMate 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 current line” feature, which can be enabled in the “General” tab in TextMate’s preferences.
Metadata
Release files for PdbTextMateSupport 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| PdbTextMateSupport-0.3.tar.gz | 3.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PdbTextMateSupport-0.3-py2.4.egg | Legacy Egg format | - | - | Details |
Total release size: 6.5 kB
Release files / PdbTextMateSupport-0.3.tar.gz
| Download URL | PdbTextMateSupport-0.3.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1797484e33432e5bc644f5702474c47179861f08e5647f2eb72bdc6853ac37fe
|
|
BLAKE2b-256 checksum How to use checksums |
b5941c89ed65d247a497e343db7629c73a16d44046ac0c84db400158f3a8bf7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / PdbTextMateSupport-0.3-py2.4.egg
| Download URL | PdbTextMateSupport-0.3-py2.4.egg |
|---|---|
| Size | 3.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9063ccdbb8888a4a66c857221d9d3f189267c160f103de8905fd089cc21c0c76
|
|
BLAKE2b-256 checksum How to use checksums |
a5bc75e91fd5619564150c8e18cd9a1d4f2f7de6768b86922ff0f2694df34850
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for PdbTextMateSupport 0.3
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.