lua-users home
lua-l archive

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


On Aug 10, 2005, at 17:11:26, Lisa Parratt wrote:
Occasionally, intermittent errors such as "attempt to compare number with boolean" occur. I'm currently putting these down to subtle stack corruption issues, but they squirm away from beneath me when I try to instrument my code. Does anyone have any hints for debugging such issues?

I found the example C code in the Lua book that shows how to dump the stack very helpful in debugging my missing pop()s.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de