Re: [Pydev-code] Showstopper bug when debugging Chandler
Brought to you by:
fabioz
From: Heikki T. <hj...@co...> - 2006-02-09 17:55:10
|
Fabio Zadrozny wrote: > I believe that integrating the threads would not be so hard... There has > been a similar issue when dealing with threads in CORBA. The solution > for that is published in the Pydev Faq, under "I have a CORBA program > and I cannot debug its methods, what can I do?" Excellent! After looking at the FAQ and the code in pydevd.py, I wonder if this could be simpler... Wouldn't it be enough to do only this change to the program being debugged in the place where the threads are created in funny ways, and no changes in pydev at all? try: import sys, pydevd sys.settrace(pydevd.debugger.trace_dispatch) except: pass Note that I haven't tried this yet (I can't debug Chandler far enough to try it, and I haven't written a separate test app either). -- Heikki Toivonen |