Thread always alive
Hi, I have thread that the isAlive() method is always returning True even the last finally(..) clause is executed. I am suspecting some kind of a leak on a IO object like a file or socket descriptor is still open. Could this lead to this kind of problem? If yes, how can I debug this issue efficiently to see the leak? Thanks, -- http://mail.python.org/mailman/listinfo/python-list
Profiling Python
Hi, Simply put, we want to see the profile info dynamically. Is that possible? To clarify again, Is there some function like profile.PrintStats() which dynamically shows the stats before stopping the Profiler? Regards, -- http://mail.python.org/mailman/listinfo/python-list
Python Dynamic Profiling
Hi, Sorry for re-posting but I want to clarify my question again here. So, we have a multithreaded server application and I want to see the profile of our code means which function is executed how many times and time spent in that function dynamically. With dynamic, I mean without stopping the profiled thread. Is there any way to do that, other than hacking my own code with hooks and calculating the info above by hand? P.S:cProfile and Profile modules are very good indeed, but as far as I understand you need to stop the profiler and the associated thread to see the profile results. That is unacceptable for my situation. Thanks, -- http://mail.python.org/mailman/listinfo/python-list
