Yes, the remote debugger.

So in my code I have 
    import pydevd; pydevd.settrace('localhost', stdoutToServer=True, 
stderrToServer=True)

Then I start the pydev server in Aptana.

Python version is 2.7.3

From: fab...@esss.com.br
Date: Thu, 23 May 2013 13:00:12 -0300
To: pydev-code@lists.sourceforge.net
Subject: Re: [Pydev-code] PyDev doesn't close properly

Hi Paul,
Is this in the remote debugger? 
Which Python version is used?
You can check what's keeping the process alive by printing the non-daemon 
threads that are currently running (i.e.: use threading.enumerate() to list the 
threads then print the ones are not daemon threads at the point where the 
application should exit -- or if it's hard to know when it should exit, you can 
try ).


Note that the debugger itself should only create daemon threads.
Cheers,
Fabio



                                          
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
pydev-code mailing list
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to