Re: [Pydev-code] Showstopper bug when debugging Chandler
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2006-02-13 16:49:41
|
Hi Heikki, I've played with the debugger to handle some freezes, so, could you try to replace the pydevd.py and see if Chandler still freezes and report back the results? -- couldn't get time to get chandler and test it. The bug that was opened to handle the freezes is : http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1428333&group_= id=3D85796&atid=3D577329 The file (pydevd.py 02) is attached to the bug. Cheers, Fabio On 2/9/06, Heikki Toivonen <hj...@co...> wrote: > > Fabio Zadrozny wrote: > > I believe that integrating the threads would not be so hard... There ha= s > > 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 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > Pydev-code mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |