@duneunit,
Although we weren’t able to replicate the bug using the recipe given, the problem probably lies in the __tostring. For future reference there is no such thing as rawget(tab, “__tostring”) so once the __tostring metamethod is set, there is no way to get the unique id (address) back. The workaround we came up with is in the patched CiderDebugger.lua but if anyone needs it:
local rawtostring = function(tab)
local mtTostring = tab.\_\_tostring
tab.\_\_tostring = nil
local result = tostring(tab)
tab.\_\_tostring = mtTostring
return result
end
We have patched the CiderDebugger.lua, you can download it here
www.mydevelopersgames.com/site/Cider/v1/v160Beta/test/CiderDebugger.lua
To apply the new patch for windows you just have to navigate to your install directory->luaglider
On our machine the path is:
C:\Program Files (x86)\Lua Glider\luaglider\CiderDebugger.lua
And just replace the old one with the one in the link.
For mac you have to right click->show package contents->resources->luaglider and replace CiderDebugger.lua
In the future, this type of update would occur using the autoupdate but we can’t use that just yet.
Please let us know if this works. If it does not then please provide a code snippet for each of the two scenarios.
Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 34851 reply_id: 138641[/import]