Hi,
The main reason I like Glider is a debugger but it has some unpleasant bugs and I can’t trust it. I hope my feedback will help Glider developers to improve it. Seems it fail to work correctly with metatables and metamethods.
To start with, I use MiddleClass OOP Lua framework and here’s a quick example: I have object rerpesenting various things and I hold reference to those objects in simple way:
[lua]ufos = {}
– then objects add thereselves this way
ufos[enemyInstance1] = true
ufos[enemyInstance2] = true
– etc[/lua]
I traverse it like this:
[lua]for obj,_ in pairs(ufos) do
– do something with objects from table
obj.updateSelf()
end[/lua]
It works without any problems, of course. But when I try to inspect ufos[] table in debugger, it shows only one item, regardless of object instances reference saved and this one is incorrectly named (see image): http://i49.tinypic.com/2hi56qc.gif (the name appears to be tostring() output of object)
Also, inspecting metatables cause infinite number of childs.
[import]uid: 188897 topic_id: 33188 reply_id: 333188[/import]