Display source code in Sublime Text 2 while debugging with pdb.
Project description
- This module is used to hook up pdb, the python debugger, with Sublime Text 2,
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 adding the following to your .pdbrc file, which you can create in your home directory if it’s not there already:
from PdbSublimeTextSupport import preloop, precmd pdb.Pdb.preloop = preloop pdb.Pdb.precmd = precmd
Finally, ensure that you have the subl command line tool has been installed as per these instructions.
Afterwards Sublime Text should get started automatically whenever you enter a debug session. The current source line will be displayed simultaneously while stepping through the code.
This module is based on PdbTextMateSupport by Andi Zeidler and others.
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
File details
Details for the file PdbSublimeTextSupport-0.2.tar.gz
.
File metadata
- Download URL: PdbSublimeTextSupport-0.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52d159240ca3bfc95df5d87969a7d312e08eb62bf080cc6d36a7047d23352d73 |
|
MD5 | 0871318b6a3276542d7911c35f3f8f1e |
|
BLAKE2b-256 | cdd67afa4df976cf621bc8d8eee2dff336ad5a985ac8ac8a0de40b0c1b9e5a4c |