Dustin Spicuzza
unread,Jan 5, 2011, 1:35:59 AM1/5/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Winpdb
Hey,
I'm trying to use winpdb on a FIRST Robotics cRio embedded controller
running vxWorks 6.3, using the RobotPy port of the python interpreter
to the vxWorks platform. I've had to strip out the hmac/digest/md5
functionality out of it and use a static password [RobotPy doesn't
support md5/hmac correctly at the moment, and I'm not in the mood to
fix it], but now it seems to work great when I can actually attach to
the remote process.
The problem is that in the 5 minute waiting period, I cannot attach to
winpdb remotely. After the waiting period is done, I can attach while
the code is running. It appears to be some kind of deadlock. Of
course, I could disable the waiting period, but I'm interested in
fixing the deadlock. Where I think it's at while it's waiting:
Main thread:
Appears to be in CDebuggerCore::settrace(), at
sys.settrace(self.trace_dispatch_init). trace_dispatch_init appears to
be called twice, though one of the calls might be from the
threading.settrace().
Thread 1:
Appears to be in __StartXMLRPCServer(), at the creation of
CXMLRPCServer().
Thread 2:
My guess is this is the timeout thread waiting for the timeout to
expire, but I can't be certain.
I realize that this isn't exactly a supported platform, but any help
you can give me would be appreciated. Any thoughts on what might be
the problem, or how I might better diagnose it? Thanks! :)
Dustin