Thanks @sportyspice for the feedback.
I have edit my original post to include your solution.
Hi Kirti,
Sorry i didn’t post a solution, but I got this to work, if i remember correctly by finding the path in the package contents of the corona simulator.app to the corona command line executatble.
Right click in mac and show package contents for the corona simulator.app, your will find the below path
/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator
then
Go -> Menu
Run >
Run Configurations -> Select your project - under runtime preferences, select manage interpreter
Preferences -> Add a new interpreter or Edit Interpreter
Under Interpreter exectutable use the following path you found,
/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator
Hope that provides you a solution, its not perfect but it seems to work. I dont know if you can add any command line switches.
cheers
Nick
Thanks for your great help,
Here,I am posting complete solution step by step so that others also can get help from it (Its working in my MAC 10.7.4)
Hi all,
I am an Eclipse Koneki developer, I just take a look this afternoon on Corona to test if our next release of Lua Development Tool (LDT) 1.0 work fine with Corona.
As you can see in the New & Noteworthy, we have enhanced the support of non-stardard lua interpreter.
So it now possible to add Corona Simulator as an interpreter, Adding corona as an interpreter allow to debugger faster corona project with less configuration, see folowing steps:
Go -> Menu
Run >
Run Configurations -> Select your project - under runtime preferences, select manage interpreter
Preferences -> Add a new interpreter or Edit Interpreter
Under Interpreter exectutable use the following path you found,you can just copy below url and paste it into Interpreter exectutable
/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator
>Give anyname to your Interpreter
Just paste below code in the beggining of your starting script
if (system.getInfo(“environment”)==“simulator”) then
require(“debugger”)()
end
If you will not do above code then you may get error while debugging like
“/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator"20-e"require(‘debugger’)() 3B”
Its very short and c;ear step you can follow this,
Hope works great
If some points are unclear feel free to ask.
Thanks,
Kirti
Why everyone to debug here. I also want to habe a code assist when i run a corona sdk code with eclipse. Can someone help me please.
Why everyone to debug here. I also want to habe a code assist when i run a corona sdk code with eclipse. Can someone help me please.