Corona CIDER Advanced Debugger with IDE - v 1.5.1- Update

This may be the most useful tool for Corona that I’ve seen and used thus far. It has already found a handful of errors I didn’t notice before! Thank you SO much! [import]uid: 97023 topic_id: 23072 reply_id: 102128[/import]

@Shuda,
Does this happen anywhere else? How about for your own functions can you step over those?

@aisaksen,
where you can see variables and locations at any place in the stack How about when you right click on any stack location an option comes up that will allow you to inspect variables at that stack frame. Will this suffice?

the debugger doesn’t work in coroutines Ahh yes, we never had to use coroutines. We will look into this.

Sometimes I get warnings from Corona that i’m using the api wrong This does appear in the IDE print statements correct? Which functions are you talking about specifically. We do an assertion check for display.newImage to make sure the image exists and the program will stop execution there. We can add more functions to this list on demand.

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

@taddmencer

Thanks! we’re glad that you like it. Please let us know if you have any questions or suggestions.

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

@my

How about when you right click on any stack location an option comes up that will allow you to inspect variables at that stack frame. Will this suffice?

I think the most useful way to do it would be if you double click on an item in the call stack, then it jumps to the line of code at that level in the stack, and the variables pane then shows you what is going on at that level of the stack. If you double click back to the lowest level of the call stack, it would show you the current state. Thats how Visual Studio does it (and every other IDE I’ve used) but I’m not sure what lua is capable of.

Sometimes I get warnings from Corona that i’m using the api wrong This does appear in the IDE print statements correct? Which functions are you talking about specifically.

Yes, they show up in the console window in red. I think I was assigning nil to a display_object.x, doing something like img.x = x; img.y = y but the x and y parameters were nil accidentally. it was hard to track down because i didn’t know where it was happening. [import]uid: 122310 topic_id: 23072 reply_id: 102147[/import]

Hi MY,
I haven’t seem it happen anywhere else.
Other functions debug fine.
Mysterious?
Suhada

[import]uid: 67842 topic_id: 23072 reply_id: 102193[/import]

Hi M.Y.,

regarding my previous post, I did simplify case to minimum, reinstalled Cider and updated it to today’s version yet I’m still able to reproduce it on both win/mac with #784.

here’s the code:

function onTilt(event)  
 if event.isShake then  
 print "shaking"  
 end  
end  
  
Runtime:addEventListener( "accelerometer", onTilt )  

It will not work with Ultimote in the Cider - unless I add extra line:

Runtime:addEventListener("enterFrame", function() end)  

Then it will work but only in debug mode (I guess that’s intended). I can e.g. send shake event and see “shaking” being printed to the output but cannot make debugger enter breakpoint in any line of the onTilt function…

[import]uid: 42082 topic_id: 23072 reply_id: 102258[/import]

I just downloaded the trial and am seeing a whole much of navigation stuff I don’t understand. For instance, I will place the cursor at the end of a line and hit backspace 4 or five times before a letter is removed. Or hit return four or five times before a new line is inserted. When a new line is inserted I am NEVER able to undo that. I want to try this program out, it seems great - am I missing a preference or something? [import]uid: 96383 topic_id: 23072 reply_id: 102584[/import]

@krystian9,
Thanks for letting us know about that bug. Very strange but we were not able to replicate the bug, it seems to work without any enterframe events.

@khincker,
Very strange problem. Are you on a Mac or Windows? Please ensure that you are using the 32 bit JVM.

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

Thanks for all your great work so far.

Feature request:
When clicking on a variable in the Variables panel, also highlight that variable in the current edit panel and visa-versa.

This would be just like your currently do with text in the edit panel, but including the Variables panel. [import]uid: 47723 topic_id: 23072 reply_id: 104504[/import]

for code completion, it would be nice if we could hit Tab to complete in addition to enter. Most IDEs use Tab for this, so its strange to have to use Enter all the time. I think its ok to have both. [import]uid: 122310 topic_id: 23072 reply_id: 104903[/import]

Actually I wish it were TAB only to complete…

[import]uid: 19626 topic_id: 23072 reply_id: 104906[/import]

@MY

Is there a chance for us to have Tasks window enabled?
I am really missing that feature.

S [import]uid: 101952 topic_id: 23072 reply_id: 105073[/import]

…another thing I noticed is that autocomplete words which start with : (like :setReferencePoint) “eats” one character from the word on the left.

Example:
myObject[x] becomes
myObject[x:setReferencePoint [import]uid: 101952 topic_id: 23072 reply_id: 105080[/import]

Just wanted to take a second to thank you guys for building Cider. My trial was going to expire soon so I pulled the trigger today and have no regrets about my purchase :slight_smile: [import]uid: 32462 topic_id: 23072 reply_id: 105230[/import]

Question: Why does the auto-format option indent the last “end” in the file?

Example:

[lua]function example1( )

end

function example2( )

end

I can’t seem to connect to my local SVN via file protocal, eg:
file:///I:\MySVNRepo

That is what I usually do when developing in Eclipse or IntelliJ IDEA…

Am I doing anything wrong? Otherwise this is a very great IDE!!
Cheers. [import]uid: 147653 topic_id: 23072 reply_id: 105289[/import]

Requiring Java is a deal breaker for me. I don’t even have the Android SDK because of Java. I am hoping that someone will create a similar product as a native application.

From what I’ve seen on YouTube, Cider looks very promising. Will keep an eye on it. [import]uid: 9042 topic_id: 23072 reply_id: 105412[/import]

Hello All,
Sorry for the break but we are again hard at work updating CIDER with new features and bug fixes. A sneak preview of the new memory timeline is shown below:

@flyingaudio,
Thank you for your suggestions. This is indeed a great idea. In the first iteration we will not be taking into account the variable scope as there is no trivial way to do this. Instead, if the variable under the cursor is found in the variable dump, it will be highlighted. This should add the most functionality for the development time spent.

@aisaksen and rob,
It is indeed possible to reassign the key to any combination you like. Please go to options->Keymap and just search for “completion.” Next you can change the shortcut to whatever you like.
@srdjan,
Thank you for your comments. We will work on the task scanner. For this iteration it will most likely be only for the current file. Also, we will fix the code completion bug.

@jflowers45,
Thank you for your support!

@info583,
Please give it an extra newline at the end of the file.

@IamJack
Is there an error perhaps? Please check out this wiki, the instructions should be identical.
http://wiki.netbeans.org/TutorialUsingSVNLocalRepository

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

@krakapow,

Can you please explain why java is so bad? Java used to be much slower than native programs but these days benchmarks have shown it to run almost as fast as C. Sure the memory footprint is a bit larger but it should run comfortably on computers these days with 4Gb+ memory. Please let us know.

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

I have used Java-based IDE’s like Eclipse and NetBeans in the past that require Java and have been less than impressed by their performance. My concern is that my workflow requires me to have several resource intensive applications open at the same time (photoshop, illustrator, garageband, firefox). I suppose I will need to streamline my workflow to give my poor computer a break.

I am definitely interested in CIDER, especially the visual debugger. If others have the same workflow and are not experiencing any problems then my concerns may be dated.

I will definitely test the trial version and see how it goes.
[import]uid: 9042 topic_id: 23072 reply_id: 105440[/import]