[Tutor] What's the error?

alan.gauld@bt.com alan.gauld@bt.com
Tue Nov 5 12:45:02 2002


> Ok, just written a program and I'm now debugging it.  I've 
> got to a point where it no longer produces any error messages 
> but still doesn't work.

OK, But without seeing any code its hard to guess whats happening!

> but when i run the script from the editor, the thing freezes 

Thats usually a sign of one of two things:
1) An infinite loop. - You have inadvertantly entered a loop 
   from which you never escape.
2) A resource deadlock/block - eg calling an external program 
   that doesn't return or accessing a remote computer thats 
   not responding

> it.  What's going wrong with it?

Apart from guessing we can't tell till we see some code....
You could ty putting print statements in each function so that 
you see where it gets to before 'freezing'...

Alan g.
Author of the 'Learning to Program' web site
http://www.freenetpages.co.uk/hp/alan.gauld