Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » Debug Variable Window, Tables wrong order
Debug Variable Window, Tables wrong order [message #898633] Thu, 26 July 2012 18:53 Go to next message
uiy uiy is currently offline uiy uiy
Messages: 25
Registered: May 2012
Junior Member
The variables window seems to display tables in the wrong order.

When the index > 9 the elements come first

For example:

the following code

local t = {}
for i = 1, 15 do
table.insert(t, i)

ends up showing the table


instead of {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}

I do not recall this behavior before but not sure if I just didn't pay attention or not.

This seems to be an issue with the print routine in general as it prints the wrong order too in the interactive console. (I use my own print routine which prints the correct order)

[Updated on: Thu, 26 July 2012 19:07]

Report message to a moderator

Re: Debug Variable Window, Tables wrong order [message #898777 is a reply to message #898633] Fri, 27 July 2012 10:13 Go to previous message
Simon Bernard is currently offline Simon Bernard
Messages: 164
Registered: July 2009
Senior Member
It seems it was a bug. Could you please report it :;component=LuaTools
Thanks a lot for all your feedback, this really helps !

[Updated on: Fri, 27 July 2012 10:19]

Report message to a moderator

Previous Topic:How to document the return type of a module's __call metamethod ?
Next Topic:Contributing bugfix for debugger.lua
Goto Forum:

Current Time: Wed Aug 27 05:13:06 EDT 2014

Powered by FUDForum. Page generated in 0.02137 seconds