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: firstname.lastname@example.org Date: Thu, 23 May 2013 13:00:12 -0300 To: email@example.com Subject: Re: [Pydev-code] PyDev doesn't close properly
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.