Re: [Pydev-code] PyDev doesn't close properly
Brought to you by:
fabioz
|
From: Paul B. <pau...@ho...> - 2013-05-24 12:11:41
|
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: fa...@es...
Date: Thu, 23 May 2013 13:00:12 -0300
To: pyd...@li...
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
|