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 22:53 Go to next message
uiy uiy is currently offline uiy uiy
Messages: 50
Registered: May 2012
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)
end

ends up showing the table

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

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 23: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 14:13 Go to previous message
Simon Bernard is currently offline Simon Bernard
Messages: 283
Registered: July 2009
Senior Member
Hi
It seems it was a bug. Could you please report it : https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Koneki;component=LuaTools
Thanks a lot for all your feedback, this really helps !

[Updated on: Fri, 27 July 2012 14: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 Sep 24 04:34:57 GMT 2014

Powered by FUDForum. Page generated in 0.12189 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software