Python Dynamic Profiling

2008-12-03 Thread esgameserver
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 pr

Profiling Python

2008-12-03 Thread esgameserver
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

Thread always alive

2008-12-01 Thread esgameserver
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 efficien