Python, threading, remote debugging, etc…
Yeah, been quiet around here. We have a little show coming up and I’ve been just a little busy.
Fred has discovered the wonders of XML-RPC as a remote debugging tool. In particular, he is remotely debugging and/or monitoring a python based server process that is multithreaded.
Which spawned a second post discussing how to take snapshots of executing Python threads as a part of the remote debugging tools.
The resulting discussions are particularly interesting. In particular, it discusses the threadframe module that offers Python VM introspection of the various threads that may be present.
Speaking of really bloody useful modules, the process module is a far superior mechanism for launching subshelled tasks. It avoids the security problems of system() and is vastly more elegant than execve() or popen().

