Corona IDE

just found this ide for corona
http://studio.zerobrane.com/
[import]uid: 7911 topic_id: 34354 reply_id: 334354[/import]

I saw that the other day and it looks promising.
[import]uid: 199310 topic_id: 34354 reply_id: 136606[/import]

I saw that the other day and it looks promising.
[import]uid: 199310 topic_id: 34354 reply_id: 136606[/import]

I’m using ZeroBrane on Windows. It’s not perfect but that’s the only solution I know on Windows to have debug mode. [import]uid: 206803 topic_id: 34354 reply_id: 137024[/import]

I do almost all of my development on windows . The Glider IDE has a wonderful symbolic debugger that lets you step through code and even change variable values on the fly. The developers are continue to add features and it is very affordable. You get both a Windows and a Mac OS version for one price.

Note: I am not affiliated with the developers - I am just a VERY SATISFIED customer

Ken [import]uid: 112538 topic_id: 34354 reply_id: 137055[/import]

@aidin, Let me know how to make it perfect ;).

All, I’m working on a screencast that demonstrates debugging features of ZeroBraneStudio that can be used with Corona: breakpoints, watches, the stack view with variables, and the remote console to run arbitrary code and to update variables. I do have several demos for various engines (http://studio.zerobrane.com/tutorials.html), but want to also have one specifically for Corona. I’ll post an update when the screencast is published.

Paul. [import]uid: 195109 topic_id: 34354 reply_id: 137288[/import]

would like to change font size [import]uid: 7911 topic_id: 34354 reply_id: 137289[/import]

@jstrahan, you sure can: http://studio.zerobrane.com/doc-editor-preferences.html (size, name, and some other parameters in the editor).

You can also use Ctrl-MouseWheel to make it temporarily smaller/larger (not sure if it works on OSX though) [import]uid: 195109 topic_id: 34354 reply_id: 137297[/import]

@Ken,

Thank you for suggesting Lua Glider. We are happy that you are satisfied and we are trying hard to make Glider better. If you have any suggestions please feel free to post on our third party forum.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 34354 reply_id: 137301[/import]

preferences are grayed out on mac. control mousewheel does work [import]uid: 7911 topic_id: 34354 reply_id: 137303[/import]

> preferences are grayed out on mac.

Correct; you need to edit a configuration file to set preferences as described here: http://studio.zerobrane.com/doc-configuration.html. Thank you for checking Ctrl-MouseWheel. [import]uid: 195109 topic_id: 34354 reply_id: 137400[/import]

Good to know! [import]uid: 199310 topic_id: 34354 reply_id: 137428[/import]

I’m using ZeroBrane on Windows. It’s not perfect but that’s the only solution I know on Windows to have debug mode. [import]uid: 206803 topic_id: 34354 reply_id: 137024[/import]

@paulclinger6

  1. The print output is not visible when Corona is selected as the Lua Interpreter. Is this on purpose or just a bug?

  2. Do you plan to add links, or even better live references, to Corona Documentation? You can see this feature in CodeHelper (Corona Complete) and other editors. It is super convenient to have the docs in your fingers!

  3. A Functions Navigator, as in IntelliJ and other editors, would be more than awesome. It helps much more than the Jump to… list that SL2 and other simpler editors have.

In general, your editor is truly nice. Congrats! [import]uid: 7356 topic_id: 34354 reply_id: 137451[/import]

I have been using Glider for 6 months. Best $30 I ever spent. Works awesome… [import]uid: 144922 topic_id: 34354 reply_id: 137457[/import]

I do almost all of my development on windows . The Glider IDE has a wonderful symbolic debugger that lets you step through code and even change variable values on the fly. The developers are continue to add features and it is very affordable. You get both a Windows and a Mac OS version for one price.

Note: I am not affiliated with the developers - I am just a VERY SATISFIED customer

Ken [import]uid: 112538 topic_id: 34354 reply_id: 137055[/import]

@paulclinger6 I can get ZeroBraneStudio to launch Corona SDK, but I get this message in the console:

Program starting as '"/Applications/CoronaSDK/Corona Simulator.app" "/Users/rmiracle/Projects/Technolio/TP\_Series/TP-Shapes-V2/main.lua"'.  
Program unable to run as '"/Applications/CoronaSDK/Corona Simulator.app" "/Users/rmiracle/Projects/Technolio/TP\_Series/TP-Shapes-V2/main.lua"'.  

I tried setting a break point and it didn’t stop execution. I set this:

path.corona = '/Applications/CoronaSDK/Corona Simulator.app'  

in my user.lua file since it seems that most of user-sample.lua are windows oriented. Am I missing something?

[import]uid: 199310 topic_id: 34354 reply_id: 137531[/import]

Hi Rob,

It seems like your Corona installation is in /Applications/CoronaSDK; in this case you don’t need to set anything manually as ZBS will check this folder on OSX to see if Corona is there. In other words, remove path.corona setting from user.lua.

The reason why it didn’t work is that it expects that you reference the executable (not the app), so it would be something like “/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator”. The reason I can’t reference .app is that it may include multiple executables, so it needs to reference a specific one.

To get debugging to work, you need to add require('mobdebug').start() to your main.lua script. If you want to be able to use this outside of ZBS, then something like this should work if (system.getInfo("environment")=="simulator") then require("mobdebug").start() end.

For the breakpoints; you either need to set them before you start debugging, or you need to pause the running application (use “Project | Break”), set breakpoints, and the continue the script (use “Project | Continue”). You can start debugging with “Project | Start Debugging”.

I’ll cover all this in the screencast, but haven’t finished it yet. [import]uid: 195109 topic_id: 34354 reply_id: 137543[/import]

Paul,

Do you speculate we’ll have live coding for Corona as well anytime soon? [import]uid: 206803 topic_id: 34354 reply_id: 137544[/import]

Okay I’ve made progress. I see stuff in the stack window but none of my watch variables are showing anything other than “Value”. I got it to break at a break point, but when I tried to step over things, I got this in the console window:

Couldn't activate file '/Users/rmiracle/Projects/Technolio/TP\_Series/TP-Shapes-V2/=?' for debugging; continuing without it.  
Debugging suspended at =?:0 (couldn't activate the file).  

[import]uid: 199310 topic_id: 34354 reply_id: 137557[/import]