Hello Bret,
Thanks for your interest!
We think the problem is because of the way Lua optimizes upvalues. For instance, say we are at a breakpoint below:
local foo = 0
local bar = 0
function something
--Breakpoint here
end
Just visually looking you would expect foo and bar to be present in the stack but they are actually not unless you use them in that function. In this case neither foo nor bar will be seen in that stack frame. Now take for instance:
local foo = 0
local bar = 0
function something
print(foo)
--Breakpoint here
end
now in this case foo will show up in the stack but bar will not. This is because these locals are upvaues (aka static variables) and only show up if used inside functions.
Is this the case for you?
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31749 reply_id: 126818[/import]