Corona CIDER Advanced Debugger with IDE - v 1.5.1- Update

@gray.uk,
You must be running a different version of java than we are. No worries, we will include the color picker libraries in an update.

@flyingaudio,
Glad you like it! Thanks for the feedback.

@krystian9,
Thank you for letting us know of the problem. Not sure why the JSON library is changing from build to build but we will fix the issue asap.

Regards,
M.Y. Developeres [import]uid: 55057 topic_id: 23072 reply_id: 98273[/import]

@All,

The problem should be fixed in the patch.

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

@M.Y.:

fix confirmed! you guys provide awesome support!
[import]uid: 42082 topic_id: 23072 reply_id: 98322[/import]

@krystian9

Thank you! We are glad to know the problem is solved. Please let us know if you come across any more issues. Thanks for your support!

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

Cider seems to be more stable now, less crashes on mac, so I am looking into trying it with an actual project.

Can size and line spacing of the corona terminal output be specified, right now font is extremely small and line spacing very narrow on my screen and I cannot really read it. Thanks. [import]uid: 109677 topic_id: 23072 reply_id: 98356[/import]

@une.ulvedal,
Thanks for your interest. Yes we are getting all the kinks worked out and we are using Cider for our own projects as well.


Can size and line spacing of the corona terminal output be specified

Yes, if you right click in the output window you can change the font. Easiest way to change the size is ctrl-zoom on it. You can do this with both the output window as well as the editor pane.

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

Bug report:
Folding issue:
if a == b then – press enter here to duplicate
end

If the fold marks are in place, then pressing enter on the first line, at the end of the line (after ‘then’ in this case), will cause the minus to move down and a new one will appear at the ‘if’ line.

This happens with functions also. [import]uid: 47723 topic_id: 23072 reply_id: 98385[/import]

I’ve been trying Cider, so far pretty impressive but debugger doesn’t work when I try my project. Do you support games that use level content files?

My Carona game uses content files build via a level builder. The game works fine except in debug mode.

I am using
require(“CiderDebugger”)
Tried different snapshot intervals.

I can give you the source code (it’s from online tutorial) if required.

Error:

waiting for netbeans debugger initialization
debugger started
[…\src\libmpg123\parse.c:529] error: Giving up searching valid MPEG header after (over) 64K of junk.
[…\src\libmpg123\parse.c:1018] error: Frame size too big: 21166
[…\src\libmpg123\parse.c:529] error: Giving up searching valid MPEG header after (over) 64K of junk.
waiting for netbeans debugger initialization

[import]uid: 134230 topic_id: 23072 reply_id: 98441[/import]

@flyingaudio,
Thanks for pointing that out, we will look into it.

@XORKH1,

Thank you for your interest!

Tried different snapshot intervals.
For large projects please set the snapshot interval to -1 (disable). It may be prohibitively slow to use in this case. You will still be able to step back when you pause and use the step commands.

Please send us some example files and we will be glad to look at it. We have never seen that error before. Our email is:
mydevelopergames@gmail.com

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

@M.Y.developers

BUG REPORT:

I would like to change the key assignment for the code completion popup from Ctrl-SPACE to Meta-SPACE but it does not work. The changes are not saved after clicking OK.

Pls check.
Thanks. [import]uid: 23864 topic_id: 23072 reply_id: 98496[/import]

BUG REPORT:

When opening lua files on a network share - Cider can lose it’s ability to open the file. Specifically - I have my projects on a mac and run Cider on a windows computer. When I save the file, the corona simulator restarts on the mac.

This appears to be conflicting with Cider - it then reports an erroneous “file is invalid” message. It won’t let me save to the file of the same name, or anything like that.

It says:
File P:\corona_project__filename_.lua@57c642a6:1f5e4b6[invalid] is not valid

I then have to restart Cider. It doesn’t do this if I close the Corona Simulator on the mac.
[import]uid: 13784 topic_id: 23072 reply_id: 98541[/import]

Am I the only one who has the following problem?:

If I run or debug my application, the simulator starts together with the Corona simulator output (terminal window).

It shows the message:

Windows simulator build date: Dec 9 2011 @ 14:01:29

Copyright (C) 2009-2011 A n s c a , I n c .
 Version: 2.0.0
 Build: 2011.704

followed by:

Copyright (C) 2009-2011 A n s c a , I n c .Version: 2.0.0Build:2011.704

Which is basically the same as above but all the line breaks are broken. After this, any print statements appear on the same line until there’s no space and they fall off the screen.

Why does it run twice and cause the copyright info to be shown twice?

This doesn’t just happen in CIDER IDE, identical problem through intellij.

Windows 7 64bit
Java version 1.6.0_30

If I run CoronaSimulator through the windows terminal and pass my projects main.lua file, it runs once and shows output correctly.

Any ideas? I was hoping CIDER would allow me to get around this problem. [import]uid: 118390 topic_id: 23072 reply_id: 98552[/import]

@All,
Here is a quick preview of the integrated documentation we plan to release later today. CIDER will soon come with full mirror of the Corona API documentation and will automatically pull it up as you type. See image below.

@BoarK,
In our Mac, meta-space was reserved for the spotlight search. We were able to successfully change it to something else however. Are you still having the issue?

@marble68,
Please ensure that you are not stuck at a breakpoint. Sometimes the corona simulator requires a file lock on the source files during the initial compilation and when it is halted by the debugger. This may result in the inability to save the file.

@gravityapple,
This seems to be a bug when the simulator is called from another process. We are not sure why this occurs but you should be able to read the output of the program in the “Corona Simulator” output tab at the bottom of your screen. You may have to change the tab to find it. It will highlight errors in red and print out everything you would see in the console. You can also, zoom, search, or save the contents to a file.

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


I know I already asked this but not sure, reading back, that it is clear what I asked. I know this is not a high priority.

Will a selection option like in the image be a future option?
Really handy to change a lot of code at once.

This screenshot is from sublime, but other editors support this as well. i think xCode does too. [import]uid: 100901 topic_id: 23072 reply_id: 98598[/import]

@T.alberga,
Is this what you are looking for?

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

hey guys - love the work!!!

Just a quick question, is there any way to speed up debugging by disabling certain features or something? I have set the snapshop interval to -1, but is there anything else I can do. Its just that my project takes about 3-4 mins to compile when I include the CiderDebugger.lua.

Thanks again !!!
E.
[import]uid: 81475 topic_id: 23072 reply_id: 98625[/import]

Yes!,
Was this always in there? Now I won’t use sublime any more :slight_smile:
Function navigator is on par with the Side bar navigation in Sublime. Thanks for showing me where it is! [import]uid: 100901 topic_id: 23072 reply_id: 98627[/import]

@Yokel Games,
Yes indeed there is. Perhaps the best way is to use the file filter feature. Please go to options (or prefs)-> Corona Options -> Debugger and in there you will see a subsection called debug filter. Here you can add anything (comma separated) and the Cider debugger will skip it as much as possible. This is more for bypassing computationally intensive lua files (ie pathfinding.) We will add an option for bypassing loading as it seems this is the main problem for you. We will include this in the next update.

@T.alberga,
Glad you like it! Yes it was always there but it is a bit hidden. We will include this in the written documentation we are working on.

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

First let me state that I *LOVE* Cider. It has saved me a ridiculous amount of time on my current project.

I do have one request though. The listing of variables while running the debugger is hyperactive. As I step from line to line, the variable listing resets back to the top. So if I’m trying to keep track of what is happening with a particular variable farther down the list, I have to step to the next line of code, then scroll back down the variable list to the variable I was keeping track of. Print statements are almost easier at this point. Can you either make the variable list stop refreshing to the top as I step through the code, or allow us to “freeze” it somehow? (Or tell me how if it does already and I just haven’t figured it out yet!)

Thanks much… [import]uid: 5540 topic_id: 23072 reply_id: 98658[/import]

@All,
Version 1.4.5 is live. New in this release:
-Documentation view. CIDER now comes with all the Corona API docs built in. No more waiting for API pages to load just for syntax. Documentation will update automatically as the autocomplete narrows your search. If you want to get documentation for a preexisting function, just highlight it and press ctrl-space.

-Important! Debugger startup options. The most computationally intensive task in your app is probably startup. You can now instruct the Cider debugger to skip all initialization code and only start debugging on the first enterframe event (or timer equivalent.) See screenshot below:

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