[clean-list] My very first program crashes!

Maarten de Mol maartenm@cs.kun.nl
Tue, 29 May 2001 09:54:15 +0200


---- Frantisek Fuka wrote ----

> Yes, I was just curious: If this happened in 10,000 lines program (I
> compile it without errors, run it, and - BANG - crash), how could I
> possibly find out where the error is? Does CLEAN allow any step
> debugging or stricter checking?

Unfortunately, AFAIK no. Normally, a time profile would be helpful (in a
time profile the number of calls to a certain function is listed), but in
this case no profile will be generated.

The only thing that I can think of (and the way I usually do this) is to
add tracing statements to your program. However, localizing the error
may take a lot of effort this way.

Maarten de Mol