[Tutor] Help debuging a small program

Mark Kels mark.kels at gmail.com
Tue Feb 22 19:29:50 CET 2005

On Mon, 21 Feb 2005 13:21:35 -0500, Kent Johnson <kent37 at tds.net> wrote:
> How far does it get? How do you know?
> I would put some debug print statements in. Also you should call sk.close() in the else clause of
> scan(). Finally, I don't think you will see any output in the result window until get_info()
> returns; you have to give some time to mainloop() for it to be able to trigger the updates.
I don't understand how to prevent the program from crashing right now...
I'll deal with other bugs when I'll finish this one :)
So, why does the program crashes and how can I prevent it ??

Thanks !!

1. The day Microsoft makes something that doesn't suck is probably the
day they start making vacuum cleaners.
2. Unix is user friendly - it's just picky about it's friends.
3. Documentation is like sex: when it is good, it is very, very good.
And when it is bad, it is better than nothing. - Dick Brandon

More information about the Tutor mailing list