[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Odd behaviour of debugging hooks
- From: "Clemens Hofreither" <clemens.hofreither@...>
- Date: Mon, 11 Feb 2008 19:17:42 +0100
I've been playing around with the Lua debugging interface, and it seems quite powerful.
However, I have stumbled upon something which seems very odd to me and might be a bug.
First, have a look at the test script. I have tried to reduce it to be as short as possible while
still illustrating the problem. It's online at:
When running this, following output results:
As you can see, the WrapFunc function never gets its return event reported to the debugging
hook (and hence the indentation becomes imbalanced). If I instead call WrapFuncInner
directly, this does not happen.
This is Lua 5.1.3 on Windows.
So, am I Doing Something Wrong or is this a bug?