Winpdb is a portable (Windows / Linux) graphical debugger for Python. It supports breakpoints, stack inspection, multithreaded debugging and more.
This is a small fork of Winpdb. I started it when realising the the official Winpdb had a blocking bug
on the most recent Python 2.7 . I initially worked on fixing Python 2.7 support, then fixed a few other minor
bugs and added some small useful features. I intend to contribute this back if Nir Aides allows it.
Changes from the official Windpb :
Based on the "Debugger" category.
Alternatively, view winpdb alternatives based on common mentions on social networks and blogs.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of winpdb or a related project?
Note from Philippe Fremy
Port of winpdb-reborn to Python 3 / WxPython 4 is work-in-progress. There are still some rough edges.
Please help by providing bug reports and ideally bug fixes. All pull requests are welcome.
Winpdb Reborn - A GPL Python Debugger, reborn from the unmaintained Winpdb
by Philippe Fremy as maintainer, and Nir Aides as initial author
Website: https://github.com/bluebird75/winpdb
Winpdb Reborn is a portable (Windows / Linux / macOS) standalone graphical debugger for Python. It focuses on making debugging easy and does not include any IDE features. It has very little dependencies (only wxPython for the GUI).
Features:
Note: The original Winpdb was no longer maintained since the v1.4.8 release in
Platform supported:
To run Winpdb Reborn:
This version is for Python 3 only. A stable version of Winpdb for Python 2 is available on PyPi: https://pypi.org/project/winpdb-reborn/1.5.0/ and in the branch winpdb-reborn-python2 . You will need Python 2.7 and WxPython 3 to run it.
Note that running Winpdb with PyPy is possible, by launching rpdb2.py with pypy and using the Winpdb GUI to connect to it.
Winpdb Reborn is NOT compatible with Jython or IronPython.
Last stable version released by Nir Aides.
(not working yet until the new version is released).
The standard way to install Winpdb Reborn is with pip, as administrator/root::
# python -m pip install winpdb-reborn
You must also install the wxPython for your version of Python:
Winpdb Reborn is not packaged yet by any Linux distro. If your package manager proposes to install Winpdb, that’s the old unmaintained Winpdb which works neither with Python 2.7 nor with Python 3.
To install from a checkout or from an archive::
# python setup.py install -f
If you don’t want to install Winpdb Reborn, you can still try it by calling it explicitly with your program to debug::
$ python /the/path/to/winpdb.py my_program.py
The setup script copies rpdb2.py and winpdb.py modules to the Python
site-packages folder. The scripts rpdb2 and winpdb are copied to the
Python binaries (scripts) folder. On Linux, this folder is usually /usr/bin
and is in the path by default. On Windows, this folder is %PYTHONHOME%\Scripts,
where you should see a winpdb.exe and rpdb2.exe .
If you have installed Winpdb Reborn, the simplest way to launch it is::
$ python -m winpdb my_program.py
or even::
$ winpdb my_program.py
Find out about the other command-line options with –-help .
Use the -h or --help command-line flag for command-line help.
Inside Winpdb/Rpdb2 console, use the help command for detailed description of
debugger commands.
Online documentation is available at: https://web.archive.org/web/20180724122042/http://www.winpdb.org/docs
An introduction to Winpdb usage, by Pr Norm Matloff: http://heather.cs.ucdavis.edu/%7Ematloff/winpdb.html
A detailed Winpdb tutorial is also available at: https://code.google.com/archive/p/winpdb/wikis/DebuggingTutorial.wiki
You can ask questions about Winpdb Reborn on the dedicated Google group: https://groups.google.com/forum/#!forum/winpdb
Feel free to raise issues or propose improvements on the GitHub repository: https://github.com/bluebird75/winpdb/issues
Do not miss the trending, packages, news and articles with our weekly report.