Corona CIDER Advanced Debugger with IDE - v 1.5.1- Update

I purchased Profiler too but didn’t hesitate to buy Cider without the mentioned discount as the pricepoint was already so low.

Cider has got to be worth almost twice what they’re asking for it.

It’s already an awesome program and still being enhanced on a regular basis.

Great work people!

[import]uid: 74068 topic_id: 23072 reply_id: 96618[/import]

Hello Community,

Thank you for all of your help thus far. Lots of you have offered up your time to help test our product and we are thankful for that. Here is a tutorial video showing you what things you can do with Cider as well as a step by step guide on debugging. Please view the video first before diving in yourself.
http://youtu.be/Y7Ws_-SGz7I
Please ensure that you have Java v 6(not 7) from the site:
http://www.oracle.com/technetwork/java/javase/downloads/jre-6u31-download-1501637.html
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 93248[/import]

@T.alberga,
Never heard of this feature before but we can see how this can be useful. We will see if this is possible in an upcoming update. Thanks for the tip.

@info583,
Thanks for you interest. We will be sending out an update soon with a promo code.

@gflint,
Thanks for your interest! We received your email and we sent you a response, please ensure that you got it.

@gray.uk,
Thank you for the nice words :slight_smile: We are working to make it better every day.

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 96653[/import]

Excited to have IDE working! Suggestion: I discovered that “require “CiderDebugger”;” in the main.lua that prevented builds, and had I not, I’d have lost my client! Please, flag that for new users!

Perhaps you can write the ‘require’ line for the debug build, and immediately remove it after the debugger build has run, so the user never really sees it? That would prevent this kind of problem. [import]uid: 37366 topic_id: 23072 reply_id: 96661[/import]

Glad I could give a good tip :slight_smile:
Sublime is free, so you can see it in action.
Textmate has the same option, but also has a nice visual block selection. Works the same just visually nicer. [import]uid: 100901 topic_id: 23072 reply_id: 96677[/import]

Hello All,

We just pushed an update to fix some key issues and added some new features
-require cider debugger now automatically gets removed when you close the simulator. Please be aware that if the program was forcibly quit the require statement will still persist
-Added all of the corona APIs to the code completion
-Optional parameters now visible in code completion, just delete the fields you do not want by tabbing through and Cider will automatically reformat the line when you are done.
-Trial version now available on the website!
-Navigation menu now auto-expands
-Some minor performance improvements
Please get the update.

@mimetic,
Thanks for trying out Cider! We apologize for the issue and it should be fixed in the update. Please confirm.

@T.alberga,
We can see how this can be a super useful feature. It might not be trivial to implement but we will see what we can do.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 96820[/import]

Feature Request 1: I’d like to be able to drag a text file onto the Cider icon in the dock and have it open. This behavior is standard on every text editor I’ve used on Mac. This would really help open up files we find with the finder without having to use Open With and then navigate to find Cider.

Feature Request 2: When doing an update, Cider opens up a different copy of the application, so I end up with a different copy running in the dock than the one that is usually there. It would be good if Cider just used the icon in the dock when reopening.
[import]uid: 122310 topic_id: 23072 reply_id: 96879[/import]

Small bug-a-boo:

If I hit return after an end statement, the “end” seems to jump back 1 extra level in nested code:

[lua]if something then
if something_other then
dowhatever()
end
end[/lua] [import]uid: 114363 topic_id: 23072 reply_id: 96888[/import]

@aisaken,

Thanks for trying out Cider!
Although you cannot drag and drop into the app dock, you can drag and drop into the application itself via finder. Please see the screenshot below


When doing an update, Cider opens up a different copy of the application
Thank you for letting us know about this. We will look into it.

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 96891[/import]

@schizoid2k,

Thank you for letting us know about this. We have to make the auto-indent look 2 lines ahead rather than just one. Please use the Auto-format to fix the issue when it occurs.

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 96892[/import]

I’ve had Cider lock up twice now when it tries to do the auto complete. The only way out is to do a Force Quit. It doesn’t do this all the time. [import]uid: 122310 topic_id: 23072 reply_id: 96898[/import]

@schizoid2k
If I hit return after an end statement, the “end” seems to jump back 1 extra level in nested code:
It works correct for me if I just type end without moving the cursor to the left first. If I move the cursor to the left move than one space, then it messes up.
[import]uid: 47723 topic_id: 23072 reply_id: 96914[/import]

Shouldn’t displayObject.yReference show up in the variable list? Others show up, like alpha, rotation, x, y, …

Am I missing something here? I ended up using print to see this variable.

EDIT: I also need to see xScale and yScale of a display object in the debugger. Should this be doable? [import]uid: 47723 topic_id: 23072 reply_id: 96928[/import]

In the Win ver, during code completion, clicking to show docs in external browser does nothing. It works fine on Mac. Do I need to configure something? [import]uid: 47723 topic_id: 23072 reply_id: 96935[/import]

I want to add to @schizoid2k’s indention issues.

First, I’m not a fan of the back indent working after I hit enter. This is fine if you’re writing code from scratch but if you’re modifying existing code, you end up with blank lines all over the place.

Consider:

local function fred()  
 barney = betty  
 return true  
end  

Now lets say you want to put an IF statement between the assignment and the return:

local function fred()  
 barney = betty  
 if wilma == betty then  
 pebbles = bambam  
 end  
 return true  
end  

to get that “end” to back indent I have to hit enter and I end up with:

local function fred()  
 barney = betty  
 if wilma == betty then  
 pebbles = bambam  
 end  
  
 return true  
end  

with the extra blank line. While not favorable, I can probably get used to it, but… there is a related bug too.

Given this code:

local function fred()  
 barney = betty  
 if wilma == betty then  
 pebbles = bambam  
 end  
 return true  
end  

and now I want to put some value between the end and the return as soon as I open up the line between the two I end up with:

local function fred()  
 barney = betty  
 if wilma == betty then  
 pebbles = bambam  
end  
  
 return true  
end  

Also today I was looking at a display.newText() object to see if you could change the fonts (for a forum post) and when I dropped a break point in and opened up the text object variable, there was a _Obj (I don’t remember the exact name of it) which appeared to be the guts of the text object. I expanded it and it kind of when into some type of recursions opening the meta tables over and over again. [import]uid: 19626 topic_id: 23072 reply_id: 96942[/import]

@M.Y.
First of all thanks for this great tool. Wish I had it earlier :-).
I did run into a few problems, not sure ofc if it’s just me or a problem with Cider.

  1. When I look into the Prefs (on a Mac) Cider has automatically detected my local Bugzilla server (not the same machine, but same LAN). If I go the Services and click the arrow, all it says is Please Wait. When I go to Team-Find Issues it just shows a drop-down list with only “Loading Issue Tracker” and a New link. Nothing happens. Is there some special setting?
  2. In Variables tab. When I open a group (table, display.group, display.object) I see things like _class or _M. Like I’ve got an array, freshly initialized and filled with a few simple display.objects (png images). The images are nicely numbered 1 thru 5. When I open the array it automatically opens the _class entry and an infinite amount of _index entries beneath that. Cider becomes unworkable at that point (had to use a Force Quit and used up one more trial count :frowning: ). As said the array and the image objects are newly defined, so I presume little chance of some horrible loop in my code that keep filling the array (your Profiler doesn’t show any leaks). I also tried it at the beginning of my code. Just one display.newGroup() defined, it’s still empty. Opening the variable shows the _class item with an infinite number of _index entries.

Keep up the great work! I’ll buy Cider for sure.

Marco

[import]uid: 123200 topic_id: 23072 reply_id: 96951[/import]

@M.Y.
Ran into a problem when I wanted to change the colors of the editor.
When I selected LUA it did not indicate in the sample code window which items I selected and it did not update the new color I choose. It did work when All Languages was selected.
When I was done changing (I duplicated a template and gave it a new name) I pressed OK and Cider seemed to hang. After some time (50% CPU use of the Java engine). The Prefs screen disappeared and apart from the tabs at the bottom (with variables etc) the interface was blanked (greyed) with no windows any more. My CPU indicator kept going from 50% Java to 0% every 20-30 seconds and Cider became unresponsive. I was able to Quit it nicely.
[import]uid: 123200 topic_id: 23072 reply_id: 96955[/import]

Hello All,

The sudden freezes and crashes may be attributed to a recent code folding change. Please install the hotfix and let us know if you come across it again. Sorry about the inconvenience.

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 96968[/import]

@M.Y.
I just updated Cider (still running trial) with your patches, but I’m experiencing some serious problems making Cider not workable as an editor.
I started my app via Cider, set a breakpoint at the Game Over function. So when the breakpoint hit I wanted to check my variables and I discovered I forgot to declare one as a local so it got created as a global. So while still in debug mode (standing still at the breakpoint) I wanted to add the “local varname” at the appropriate spot. When I pressed return to create a new line, Cider crashed. Nothing visual, but simply no response (no CPU bogging down either tho).
Just 10 minutes ago I had a similar problem when I tried to insert some text, Cider crashed (this was while not debugging).

Don’t get me wrong, I really like Cider and would love to use it extensively, but this makes it hard to really use if I have to switch to an external editor to make changes, reload in Cider, etc.

Thanks for your super work! I hope you can find the problem and fix it. [import]uid: 123200 topic_id: 23072 reply_id: 97046[/import]

@All
We have made some changes to the way CIDER works and some of these cannot be automatically pushed via automatic updates. Namely, we have added a autosave module and increase the java VM size (initially it was capped at a puny 32 mb.) This will significantly increase the stability and performance if the IDE due to less CPU cycles spent in GC. Please either download the updated installer files or auto-update files as some fixes will be critical to the functioning of the IDE. Also, we have reset the trial counters back to 0. This will give you a crash free shot to evaluate our product.
@dutchottie
Thanks for giving us a second shot! we guarantee all issues will be eventually solved.
Thank you for all the feedback. We have fixed the crashing issue , as far as our stress test indicate. We ask to please save your work as often as possible and we have added an autosave module in the new installer files. The infinite expansion problem is also fixed. This is not due to a bug in your code but due to a cycle in the table that ends up expanding the table forever. Note that your trial counter will be reset if you
CPU indicator kept going from 50% Java to 0% every 20-30 This is probably due to the low memory cap problem. Fixed in the new download.

@robmiracle,
Thanks for bearing with us. The auto-indent should be much more easier to deal with now. It will not mess up your previous indents. Please reformat the code initially so that all the tab spacing can be reset to whatever is set in cider or it may appear the indents are getting messed up but this is just due to different tab spacing of the lua file.

@aisaksen
Issue is now fixed. To ensure you get the best experience, please redownload the installer.

@flyingaudio
Thank you for your help. x and yReference and xyScale are now added and editable.

@schizoid2k
The indent issues should be fixed in this update.

Thanks for bearing with us and we hope you will have a better experience with this update.

Thanks,
M.Y. Developers
[import]uid: 55057 topic_id: 23072 reply_id: 97064[/import]