Anybody using winpdb debugger ?


I was wondering if anyone has gotten winpdb to work with a Panda project.

Loading source code and running works fine.

But we have a problem getting the program to stop at a breakpoint. The debugger application blinks in the taskbar when the line at the breakpoint is run (so something seems to be happening), but the debugger doesn’t stop.

I’m curious if anybody out there has had this same problem, and if so, if they managed to solve it.


Alright, we figured out the problem.

In, change HEARTBEAT_TIMEOUT from 16 to 10000 (ms).

The problem was C++ was code was taking longer than 16 ms, and get_clients_attached() returned 0, which prevented STATE_BROKEN getting set.