Hi all,

When running the Django server under the PyDev debugger there is a
problem: Under Jython the server spawns a worker thread which do all
the actual work while the main thread just keeps monitoring the
filesystem for changes. But, AFAICS, the pydev debugger only monitors
the main thread.

I'm playing with monkey-patching thread.start_new_thread to set
sys.settrace to the internal settrace function used with PyDev when
executing the function in the new thread.

Any obvious reason I'm missing why that may be a bad idea?
-- 
Leo Soto M.
http://blog.leosoto.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pydev-code mailing list
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to