I tired to get my project to work with CIDER but couldn’t as I would get an error in a lime class when used in conjunction with CIDER. I have checked with some of the lime examples and get the same error, but ONLY when run with CIDER. Error looks like this :
We have contacted the LIME Developer and we are working to solve the issue. Please send us your project files so we can take a closer look. Our email is: mydevelopergames@gmail.com
I have also sent a copy of Lime to M.Y. Developers, hopefully this can get sorted nice and quickly. [import]uid: 119420 topic_id: 24019 reply_id: 96964[/import]
Thankfully we are getting some weirdness. We are tracking down the issue and hopefully come up with a solution soon. This will likely fix other issues as well.
All is working beautifully now, I am now building a game with Corona, Ice, Lime and a bit of CIDER. [import]uid: 81475 topic_id: 24019 reply_id: 97511[/import]
Hello! I seem to be getting a weird error loading Lime in Cider debug mode.
When I try to debug through lime on PC, the app seems to get stuck.
When I’ve stepped through everything, it seems to get stuck in lime-external-numberlua.lua
I try to continue with “Step Into(F7)” but it stays on that line. If I click Continue (F5), it would never hit the next line even when i hit a breakpoint there, and just ends.
I’m currently using Cider v1.5.3 and Lime v3.4
Hope this helps! [import]uid: 87963 topic_id: 24019 reply_id: 116162[/import]
It gets stuck on line #20 in this function:
[blockcode]
local function memoize(f)
local mt = {}
local t = setmetatable({}, mt)
function mt:__index(k) local v = f(k); t[k] = v
return v
end
return t
end
[/blockcode]
It doesn’t matter how many times I press “Step Into”, it remains on the same line. Then the moment I hit anything else (like Step Over), the green arrow disappears and the program doesn’t resume, and I can’t hit any breakpoint I set after this line.
I’ve tried upgrading to Lime 3.5, but I’m still running into this same issue.
Please let me know if there’s any other information I can provide you with!
UPDATE:
I’ve realized I was still running on an older version of corona, and I just updated it to version 2012.840 (2012.6.5).
Now I can actually see the errors in the debugger window! And this will look very familiar:
[text]
…\trunk\source\director.lua:934: ERROR: table expected. If this is a function call, you might have used ‘.’ instead of ‘:’
Director ERROR: Failed to load module ‘menu’ - Please check if the file exists and it is correct.
…\trunk\source\lime-external-numberlua.lua:31: attempt to perform arithmetic on local ‘a’ (a string value)
[/text]
It looks like I am currently running Cider v1.5.3, is this the right version?
Also on an interest note, my app runs fine with no error if I just hit “Run Main Project” instead of “Debug Main Project”.
Please let me know if there’s anything else I can provide to help solve this issue!!! [import]uid: 87963 topic_id: 24019 reply_id: 116381[/import]