[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Problems with debugging using LuaForWindows conflicting with require"strict"
- From: "J.Jørgen von Bargen" <jjvb.primus@...>
- Date: Fri, 03 Jun 2011 10:19:01 +0200
Using Scite installed with LuaForWindows debugging is quite handy...
... as long as you dont use strict.
This little program:
--8<--snip--8<--snip--8<--snip--8<--
print(1)
print(2)
print(3)
require"strict"
print(1)
print(2)
print(3)
--8<--snip--8<--snip--8<--snip--8<--
executed with "step over" prints 1,2,3 then fails with the error message
--8<--snip--8<--snip--8<--snip--8<--
lua: error in error handling
quitting debugger
--8<--snip--8<--snip--8<--snip--8<--
The error in strict arieses at
mt.__index = function (t, n)
This problem exists in older LfW to,
retested with LuaForWindows_v5.1.4-42.exe
Is there any workaround or bugfix for this?
Regards Jørgen