|
David Dunham wrote:
On 9 Jan 2009, at 20:38, Alex Davies wrote:Must say though stack watches are brilliant for working with the lua stack, although writing a good table printer without side effects/ recursion problems is hard.Stack watches? Was that a Lua facility, or a specific IDE?
Sorry should have been more clear.When programming in lua - c side I have a function that returns an array of strings (the stack), with each value printed neatly, with a watch on it. As you step through the code you can see the state of the stack at any point in the watch window, simplifies debugging.
Not a standard lua feature though but not too hard to write.- Alex