Skip to main content



      Home
Home » Archived » Lua Development Tools » Debugging with Corona SDK (Juno)
Debugging with Corona SDK (Juno) [message #988462] Thu, 29 November 2012 20:00 Go to next message
Eclipse UserFriend
I watched Benjamin's video on connecting Koneki to the Corona SDK simulator, but I'm having a problems. The problem is that when I launch the main.lua file with my launch configuration, even though I have a break point set at the same place shown, nothing happens.

I've setup my debug configuration exactly like shown in the video, and setup a run configuration for external tools using the the Location = "[path]\Corona Simulator.exe", Working Directory = "[path]" and Arguments = "${workspace_loc}\${container_path}\${selected_resource_name}".

I select the main.lua file
I start the debugger configuration in Eclipse
I launch the Corona debugger (opens debugger, output and simulator)
I start my run configuration, and a new version of the Corona SDK opens and the game starts (nothing happens in the debugger; I do not get the prompt to enter "Run" shown in the video)

I must be doing something wrong. Any ideas?

Window 7(64)
Corona Simulator 2012.971
Eclipse 4.2.1
Re: Debugging with Corona SDK (Juno) [message #988670 is a reply to message #988462] Fri, 30 November 2012 18:43 Go to previous messageGo to next message
Eclipse UserFriend
Well, I tried re-installing everything, but it just keeps launching a new Corona simulator every time I run my main lua file. I guess either the Koneki debugger does not work with Juno or the latest release of the Corona SDK.

I will try an Indigo install and see if that makes any difference.

Let me know if anyone has this debugger running on a Windows 7 64 bit, or has any ideas on how to properly setup the Run Configuration. Any help would be appreciated.
Re: Debugging with Corona SDK (Juno) [message #988672 is a reply to message #988670] Fri, 30 November 2012 19:14 Go to previous messageGo to next message
Eclipse UserFriend
Same thing with Indigo. Just keeps opening a new simulator. Does not connect to the debugger that is running.
Re: Debugging with Corona SDK (Juno) [message #988744 is a reply to message #988462] Sun, 02 December 2012 09:16 Go to previous messageGo to next message
Eclipse UserFriend
Gave up on this and switched to the new Lua Glider. Works perfectly for debugging with the Corona simulator, has full code completion, and pretty much all the features one needs. Disappointed I could not get an Eclipse version working with Corona, since I work full-time with Eclipse doing Java/Javascript development everyday, and its what I feel the most comfortable with.
Re: Debugging with Corona SDK (Juno) [message #1059629 is a reply to message #988462] Mon, 20 May 2013 19:00 Go to previous message
Eclipse UserFriend
When you Debug, the app is started, but paused. When you then also Run it, you get another copy running in Run mode (not debug mode), just as you describe.

You have to start debugging it from the terminal window (by entering "run").

Debug works fine with latest Eclipse Java EE Juno here.

Happy bug hunting Smile

[Updated on: Mon, 20 May 2013 19:02] by Moderator

Previous Topic:error loading module 'stagedb.core'
Next Topic:debugger hangs up and windows too
Goto Forum:
  


Current Time: Wed Mar 19 18:40:13 EDT 2025

Powered by FUDForum. Page generated in 0.03310 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top