Questions tagged [winpdb]

Winpdb is a GUI cross-platform Python debugger.

WinPdb is a GUI cross-platform debugger for Python.

From the website:

Winpdb is a platform independent GPL Python debugger with support for multiple threads, namespace modification, embedded debugging, encrypted communication and is up to 20 times faster than pdb.

19 questions
10
votes
7 answers

Python multiprocess debugging

I'm trying to debug a simple python application but no luck so far. import multiprocessing def worker(num): for a in range(0, 10): print a if __name__ == '__main__': for i in range(5): p =…
barmaley
  • 1,027
  • 2
  • 11
  • 12
8
votes
1 answer

How to step through Python threads independently? (WinPDB)

I am trying to debug Python using WinPDB and I have multiple threads using threading.Thread. I can never seem to control the threads individually. If I break execution, the entire script breaks. If I step through the source code of one thread,…
MMM
  • 81
  • 3
6
votes
3 answers

WinPdb Error (Debugging Django) :CTimeoutHTTP instance has no attribute 'getresponse'

I am trying to learn winpdb to debug django scripts. I have a very simply django web site that runs find if I start it from the command line, but when I try to launch it from winpdb it gives me this error message: RPDB2 - The Remote Python Debugger,…
Fred Thomas
  • 111
  • 2
4
votes
4 answers

Debugging django/unittest?

I'm wondering if anybody has a hint on how to debug a unittest, or any other piece of code in django, for that matter, using a debugger like winpdb? I'm trying to to a winpdb manage.py test photo which runs my unittest for my photo app, but…
Weholt
  • 1,889
  • 5
  • 22
  • 35
4
votes
1 answer

using winpdb to debug remote scripts

I'm trying to debug a python script in a remote machine using winpdb. The thing is that I want to run rpdb2 (the console version of winpdb) to launch the server in my remote machine to run the script. Then, here at my local machine, I want to launch…
Javier Novoa C.
  • 11,257
  • 13
  • 57
  • 75
4
votes
2 answers

winpdb not working with python 3.3

I can't get rpdb2 to run with python 3.3, while that should be possible according to several sources. $ rpdb2 -d myscript.py A password should be set to secure debugger client-server communication. Please type a password:x Password has been…
chtenb
  • 14,924
  • 14
  • 78
  • 116
4
votes
1 answer

rpdb2: how to connect to a pid

I have a wsgi app which has this in the code: import rpdb2; rpdb2.start_embedded_debugger("asdf") Now using rpdb2 (not winpdb!) I would like to connect to the process and start debugging. I can't figure out how to do that. How do I connect to a…
Alex Plugaru
  • 2,209
  • 19
  • 26
2
votes
0 answers

Embedded Python(C++) Import Locks up?

So we are using a python interpreter embedded in our C++ application (using Py_initialize,etc) to run various test scripts. I am attempting to use the Pythonnet package. Running a normal python interpreter i can run import clr and have no issues and…
user1024792
  • 553
  • 1
  • 10
  • 23
2
votes
1 answer

Command exists on path, but I get "No such file or directory" rather than "command not found"

I am stumped by this problem, which probably has nothing to do specifically with winpdb. To get winpdb to the current version I wound up installing and uninstalling several times. It now works, but I can't start it using the command "winpdb", even…
Nat Kuhn
  • 9,493
  • 5
  • 18
  • 26
2
votes
2 answers

How do I inspect return values in the Winpdb Python debugger, without having to modify the source code?

pdb, the default Python debugger, has an undocumented (?) retval command that prints the return value of the current function if you already computed it and are one step away from returning back to the caller frame. Is there similar functionality in…
hugomg
  • 68,213
  • 24
  • 160
  • 246
1
vote
0 answers

Winpdb rpdb2.py no such file or directory

I'm trying to use winpdb reborn 2.0.0.1 for debugging. When I run command python -m winpdb .py debugger window is starting, but there is no code. At the same time that winpdb starts rpdb2 starts in command line and there is an…
kubaklamca
  • 133
  • 1
  • 7
1
vote
1 answer

Finding functions names for crash

We received a crash log from customer's site looking like that(no function name resolution) Jan 13 12:15:41.739 ccodvcs2 VCS: [0x00003e80] XXXX.exe caused a in module at 001B:77E4BEE7 Jan 13 12:15:41.739 ccodvcs2 VCS: [0x00003e80] Jan 13…
Boris
  • 1,311
  • 13
  • 39
1
vote
1 answer

Running wxPython 2.9 on OS X 10.8 (64 bit)

I have EPD 7.3 and have installed wxPython 2.9 through the Enthought repositories. I tried running winPDB, which requires wxPython and I got this message : This program needs access to the screen. Please run with a Framework build of python, and…
KartMan
  • 369
  • 3
  • 19
1
vote
1 answer

Programmatically disable "trap unhandled exceptions" mode in winpdb

I am using winpdb to debug a python script. I would like to turn off the "trap unhandled exceptions" mode by default. Manually attaching the winpdb debugger and clicking the lightning button on every restart is too much work. Ideally I would do…
Jakob Buron
  • 1,196
  • 11
  • 19
0
votes
2 answers

How to update plugins for SPE Python Editor

The default version of winpdb for SPE is v.1.3.4 that has problems to work with Python 2.7. Here is what I have done to upgrade the version of winpdb to v.1.4.8 Step 1> Rename C:\Program…
q0987
  • 34,938
  • 69
  • 242
  • 387
1
2