Komodo, debugging and multi-threading
elbertlev at hotmail.com
Mon Aug 9 15:42:59 CEST 2004
Thomas Lindgaard <thomas at it-snedkeren.BLACK_HOLE.dk> wrote in message news:<pan.2004.08.09.10.29.50.984382 at it-snedkeren.BLACK_HOLE.dk>...
> I have a multi-threaded web spider and it has a problem (probably
> several). Is there a way to make the debugger show me what my worker
> threads are doing? I can only get it to follow the main thread. I'm using
> Komodo Personal (trial).
No! Komodo, IDE, IDLE all are wrappers for pdb.py, which does not
allow to set a brakpoint in thereads (it allows, but does not stop).
You can try it for yourself (using command line interpreter). The only
way of debugging multithreaded programs - print (or log).
More information about the Python-list