Re: [Pydev-code] PyDev Debugger: Monkeypatch thread.start_new_thread to debug threads?
Brought to you by:
fabioz
From: Leo S. M. <leo...@gm...> - 2010-02-21 19:12:13
|
On Sun, Feb 21, 2010 at 4:09 PM, Leo Soto M. <leo...@gm...> wrote: [...] > Under Jython it doesn't start a new process, but a new thread. The > thread is started using thread.start_new_thread though, which makes it > untraceable. For the sake of correctness I must say I shouldn't have used "untraceable" here. There is nothing preventing the thread code to be traced. It's just that the threading.settrace() hook only works for threads started using the threading module, but not for the ones started using the low-level thread module. -- Leo Soto M. http://blog.leosoto.com |