Komodo, debugging and multi-threading

  • Thread starter Thomas Lindgaard
  • Start date
T

Thomas Lindgaard

Hello

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).
 
E

Elbert Lev

Thomas Lindgaard said:
Hello

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top