I see on August 19, 2010 Winpdb 1.4.8 was released
It support python 3.x
It is very good news
Step by step:
-
Download Winpdb 1.4.8 http://winpdb.org/download/
-
Unpack it
-
Copy rpdb2.py to blender to your bundled python
for example E:\BLENDENDER\2.54\python\lib -
Run blender 2.5x
-
Open some python file from disk
-
In head your python file write line (and save it):
import rpdb2; rpdb2.start_embedded_debugger(âasdfâ) -
Press âRun scriptâ
When your application gets to that line, it will âhangâ as the debugger runs. Now itâs time to fire up Winpdb and attach (File --> Attach) to the process. The password is âasdfâ. After it loads, you will be able to do debug the application like normal.
8)Run winpdb.py (it is GUI for debugger, you need python with wxPython but wxPython works only in python 2.5, 2.6 or 2.7 )
9) File -> Attach (password: asdf)
10) Select your file from list and press OK
11) end.
This metod only work with python files at disk
if python file exists in blender file rpdb2 can debug it but canât display source code
It is small bug in rpdb2.py