Download
The latest version is Winpdb 1.4.2 Tychod.
Winpdb for GNU/Linux
To use Winpdb in GNU/Linux you need to install wxPython 2.6 or later. Most distributions include wxPython as a package called python-wxgtk. Use your distribution’s package manager (e.g. synaptic, aptitude or yum) to find and install it.
Download the Winpdb source package and extract it’s content into a new folder. Enter the new folder from a terminal window and type: sudo python setup.py install -f
Alternatively use a terminal with admin privileges and type: python setup.py install -f
Winpdb for Windows and Python 2.5
To use Winpdb in Windows you need to install the wxPython runtime (The unicode version is preferred). Once wxPython is installed download the Winpdb installer and launch it.
Winpdb for Windows and Other Versions of Python
The Winpdb installer was built with Python 2.5 and can only be used if you have Python 2.5 installed on your system, but you can use it to install Winpdb into any other Python version you have installed. If you can not install Python 2.5 you should download and use the source archive.
Notes
- You can use Winpdb without installing it by running winpdb.py.
- You can use rpdb2.py, the command line debugger included with Winpdb, without installing wxPython.
Recent Changes
November 12, 2008 - Winpdb 1.4.2 Tychod
Bugs Fixed:
- Compatibility with Python 3.0 rc2.
- Issue 1: Patch to fix double Help menu on OSX - Patch by Cody Precord (Author of Editra).
- Issue 2: Fix for dead object error on exit - Patch by Cody Precord (Author of Editra).
Winpdb - A Platform Independent Python Debugger 
I’ve appreciated previous versions of winpdb. For 1.1.4, released a few hours ago, I downloaded the win32.exe installer, but Windows Vista 64-bit did not recognize it as a valid executable. My Windows did recognize 1.1.2. Thanks for a sweet debugger.
– Ethan
Problem fixed. It was the result of uploading the exe file as ASCII.
Thanks for this report.
–Nir
I’ve been trying to use WinPdb with SPE 0.8.3 (the bundled version of WinPdb is 1.0.6)
when I launch WinPdB on Windows XP, (Python 2.5) a console window (empty) and a debuggee console (empty) appear, then the WinPdb GUI. The following appears in the GUI console:
…
*** Password has been set to a random password.
*** Spawning debuggee…
*** While attempting to find debuggee, at least one debuggee denied
*** connection because of mismatched passwords. Please verify your password.
(x 3)
…
*** Debugee failed to start in a timely manner.
I’ve tried the same thing on Ubuntu Edgy (Python 2.5) - The “password” stuff doesn’t appear, but I still get the final message, ie “Debugee failed to start in a timely manner.”
Do I need to set an SPE or debuggee password to match the WinPdb one, and if so how?
Thanks for your help!
Hi Charles,
If possible use SPE from subversion, to which I am going to add now the latest winpdb:
svn checkout svn://svn.berlios.de/python/spe/trunk/_spe
More info here:
http://pythonide.blogspot.com/2007/02/how-to-download-latest-spe-from_26.html
Otherwise, you can upgrade easily winpdb, by removing the old _spe/plugins/winpdb folder and replacing it with the newer one. Also you need to put an empty __init__.py in the winpdb folder. Probably your problems are related to the old version of winpdb.
I am not looking here around often. So you better contact me on the spe-user list.
Stani
Hi, It would be nice if you could put here the exact command how to get it using svn.
It’s this command:
svn co https://winpdb.svn.sourceforge.net/svnroot/winpdb winpdb
If you are only interested in the lastest version, like me, it’s actually this command:
svn co https://winpdb.svn.sourceforge.net/svnroot/winpdb/trunk/winpdb winpdb
If anyone’s interested, I rolled an app bundle for OS X using Platypus. The entire 1.3.2 distro is in the resource fork. If you install the correct wx version, you should just be able to download and run the app.
Any chance of putting this package on the download page?
If there’s any interest, shoot me an email at elessar at nienna dot org.
Caveat 1: Platypus requires Mac OS 10.3.9 or later.
Caveat 2: I only tested with MacPython 2.5. I just made sure that all the modules are loaded. I haven’t thoroughly tested Winpdb for Mac-related issues, I just re-packaged the code.
Caveat 3: If you want to use the app from an account other than the one you use to install it, you might need to run it once from the installing account to compile the python source in the resource fork for whatever version of python you’re using.
Confirmed working for Leopard 10.5
can anyone tell me that this debugger will highlights the errors in colors or in any other format? offcourse the Errors should be run time .I need this information since i am working on developing debugger of stated kind. If anyone know abouts debuggresof any lang . of such kind - should highlights the errors lines by colors or other thing so one can easlly indentify errors in large codes-please tell me.
I download winpdb-1.4.0.win32.exe. My python is checked into a dev tree under source control, so it does not necessarily have any registry settings. When I try to install I get “No python installation found in the registry” and then a dialog for “Python Directory” and “install directory” But I cannot type any text into either box (to point it at my python install dir). So I can’t install.
Hi Ron,
I suggest you use Winpdb without trying to install it. Simply extract it into a folder of your preference and run it from there.
But where do I get it? I can’t “extract” from the winpdb-1.4.0.win32.exe. Is there a .zip sitting around some place?
Maybe I”m not being clear. I can’t install install at all. I get to the dialog I mentioned, and I cannot type anything in for the paths requested. My only options are ‘back’ and ‘cancel’
You need to download the source package (read the page above). It is a TAR archive and if you do not have an archive manager that can read it, download and install one such as the Free Software 7-zip.
WinPDB doesn’t recognized as valid EXE
[...] Download [...]