Professional Documents
Culture Documents
Ipdb 0.13.9: Project Description
Ipdb 0.13.9: Project Description
org/project/ipdb/
Search projects
IPython-enabled pdb
Release
history Use
Example usage:
Project links
1 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
Open
issues/PRs: 64 Arguments for set_trace
View statistics for this
project via The set_trace function accepts context which will show as many
Libraries.io , or by lines of code as defined, and cond, which accepts boolean values
using our public (such as abc == 17) and will start ipdbʼs interface whenever cond
dataset on Google
equals to True.
BigQuery
License: BSD License Itʼs possible to set up context using a .ipdb file on your home folder,
(BSD) setup.cfg or pyproject.toml on your project folder. You can also set
your file location via env var $IPDB_CONFIG. Your environment
Author: Godefroid variable has priority over the home configuration file, which in turn
Chapelle has priority over the setup config file. Currently, only context
pdb, ipython setting is available.
[ipdb]
Maintainers context=5
gotcha
context=5
License
[tool.ipdb]
◦ OSI Approved :: context=5
BSD License
2 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
Programming
$ bin/ipdb mymodule.py
Language
◦ Python :: 2.7
◦ Python :: 3 And for python 3
◦ Python :: 3.4
◦ Python :: 3.5
◦ Python :: 3.6 $ bin/ipdb3 mymodule.py
◦ Python :: 3.7
◦ Python :: 3.8 Alternatively with Python 2.7 only, you can also use
Topic
◦ So�ware
$ python -m ipdb mymodule.py
Development ::
Debuggers
You can also enclose code with the with statement to launch ipdb
if an exception is raised:
from ipdb import launch_ipdb_on_exception
Salesforce is a
with launch_ipdb_on_exception():
Maintaining
[...]
sponsor of the
Python Software
Foundation.
Warning
PSF Sponsor · Served
ethically Context managers were introduced in Python 2.5. Adding a context
manager implies dropping Python 2.4 support. Use ipdb==0.6
with 2.4.
@iex
def main():
[...]
Warning
3 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
If you use nose or another tool that fiddles with stdout , you
should explicitly ask for stdout fiddling by using ipdb like this
import ipdb
ipdb.sset_trace()
ipdb.spm()
Development
Manual testing
Automated testing
4 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
Third-party support
Products.PDBDebugMode
iw.debug
ipdbplugin
ipdbplugin is a nose test runner plugin that also uses the IPython
debugger instead of pdb . (It does not depend on ipdb anymore).
Changelog
0.13.9 (2021-06-02)
0.13.8 (2021-05-26)
0.13.7 (2021-03-16)
0.13.6 (2021-03-08)
0.13.5 (2021-03-02)
5 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
0.13.4 (2020-10-01)
0.13.3 (2020-06-23)
0.13.2 (2020-03-03)
0.13.1 (2020-02-28)
0.13.0 (2020-02-28)
0.12.3 (2019-12-03)
0.12.2 (2019-07-30)
0.12.1 (2019-07-26)
6 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
0.12 (2019-03-20)
0.11 (2018-02-15)
0.10.3 (2017-04-22)
• For users using python 2.6, do not install IPython >= 2.0.0. And
for users using python 2.7, do not install IPython >= 6.0.0.
[vphilippon]
• Drop support for python 3.2. [vphilippon]
• Command line usage consistent with pdb - Add argument
commands [zvodd]
0.10.2 (2017-01-25)
0.10.1 (2016-06-14)
0.10.0 (2016-04-29)
7 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
0.9.4 (2016-04-29)
0.9.3 (2016-04-15)
0.9.2 (2016-04-15)
0.9.1 (2016-04-12)
0.9.0 (2016-02-22)
0.8.3 (2016-02-17)
0.8.2 (2016-02-15)
8 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
0.8.1 (2015-06-03)
0.8 (2013-09-19)
0.7.1 (2013-09-19)
0.7 (2012-07-06)
0.6.1 (2011-10-17)
0.6 (2011-09-01)
9 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
0.5 (2011-08-05)
0.4 (2011-06-13)
0.3 (2011-01-16)
0.2 (2010-10-20)
0.1 (2010-04-26)
10 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
Developed and maintained by the Python community, for the Python community.
Donate today!
English español français ⽇本語 português (Brasil) українська Ελληνικά Deutsch 中⽂ (简体)
中⽂ (繁體) русский עבריתesperanto
Facebook / Google
AWS Datadog Instagram Fastly Object Storage and
Cloud computing Monitoring PSF Sponsor CDN Download Analytics
11 of 12 29/07/22, 10:29 pm
ipdb · PyPI https://pypi.org/project/ipdb/
Sentry StatusPage
Error logging Status page
12 of 12 29/07/22, 10:29 pm