I see advice on how to debug a python module that hangs up the process

JD lists at webcrunchers.com
Tue Dec 16 23:10:08 EST 2003


On Dec 16, 2003, at 6:27 PM, Jeff Schwab wrote:

> Bengt Richter wrote:
>> On Tue, 16 Dec 2003 20:51:31 -0500, Jeff Schwab 
>> <jeffplus at comcast.net> wrote:
>>
>>> Bengt Richter wrote:
>> No I didn't. Please trim more carefully.
>>>>> Then,  we have to do a "kill -9" the process.
>>>
>>> Did you try it without -9?

yes - it wouldn't kill.   Only the -9 option would kill it.    Like I 
posted earlier,
After identifying the function that hangs up (my putting "print" 
statements before
and after),   we also put a print statement at the beginning of the 
function that
hangs up,  but it never gets called.   So the process of calling the 
errant function
is enough to send it to never-never land.   How does one debug these 
kinds of
problems?

John






More information about the Python-list mailing list