lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, 8 Oct 2007 21:22:26 +0100, Robert Raschke <rrlua@tombob.com>
wrote:

>Hi Steve,
>
>do you believe that your errors are appearing all throughout your ten
>thousand line Lua program? 

Yes, or at least in dozens of different places.

> Or are there portions of the program that
>you could attempt to excise and see if you can still get these errors?

Theoretically, yes. Practically, no.

>I believe you will find it very difficult locating the problem while
>keeping the size of your application this large.  Are there absolutely
>no commonalities between the various errors you are experiencing?

They are all spurious errors. Other than that, no.

>Maybe one approach that could help is to catalogue all the errors that
>are appearing, and over time you will get enough data points to find a
>pattern.  This pattern can be useful in trying to cut down the
>program, so that debugging may begin to become feasible.

Yes, that would be a good approach if I had an indefinite amount of
time to find the problem, and it may in fact be the only way. Of
course, if it is a hardware problem, even that approch won't work.
However, clearly there is something seriously wrong somewhere either
in my code, in Lua, or in the Windows environment in which my code is
running.

Steve