Debugging multithreaded program using Eclipse/Pydev
Heikki Toivonen
heikki at osafoundation.org
Sat Apr 7 18:23:47 EDT 2007
John Henry wrote:
>>From what I can gather, it appears the only *real* option I have is to
> debug under Eclipse/Pydev. I did a google search of this newsgroup
> and didn't turn up too many hits. Before I invest the time to learn
> Eclipse/Pydev, I like to hear from somebody that have gone this path.
> Have you been successful in using Eclipse/Pydev to debug multi-
> threaded Python applications? Is so, what was the learning curve like
> to you?
ActiveState Komodo can also do multithreaded debugging.
And if all else fails, you can insert:
import pdb
pdb.set_trace()
in your code and that way you will break on any thread.
Currently I am using pydev myself, having gone through WingIDE and Komodo.
--
Heikki Toivonen
More information about the Python-list
mailing list